"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/openkm/api/OKMNotification.java" between
OpenKM-document-management-system-6.3.10.tar.gz and OpenKM-document-management-system-6.3.11.tar.gz

About: OpenKM (Knowledge Management) is a document management system that allows easy management of documents, users, roles and finding your enterprise documents and records. Community version (source code).

OKMNotification.java  (OpenKM-document-management-system-6.3.10):OKMNotification.java  (OpenKM-document-management-system-6.3.11)
skipping to change at line 26 skipping to change at line 26
* <p> * <p>
* You should have received a copy of the GNU General Public License along * You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc., * with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
package com.openkm.api; package com.openkm.api;
import com.openkm.core.AccessDeniedException; import com.openkm.core.AccessDeniedException;
import com.openkm.core.DatabaseException; import com.openkm.core.DatabaseException;
import com.openkm.core.LockException;
import com.openkm.core.PathNotFoundException; import com.openkm.core.PathNotFoundException;
import com.openkm.core.RepositoryException; import com.openkm.core.RepositoryException;
import com.openkm.module.ModuleManager; import com.openkm.module.ModuleManager;
import com.openkm.module.NotificationModule; import com.openkm.module.NotificationModule;
import com.openkm.principal.PrincipalAdapterException; import com.openkm.principal.PrincipalAdapterException;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import java.io.IOException; import java.io.IOException;
import java.util.List; import java.util.List;
skipping to change at line 84 skipping to change at line 85
log.debug("getSubscriptors({}, {})", token, nodePath); log.debug("getSubscriptors({}, {})", token, nodePath);
NotificationModule nm = ModuleManager.getNotificationModule(); NotificationModule nm = ModuleManager.getNotificationModule();
Set<String> users = nm.getSubscriptors(token, nodePath); Set<String> users = nm.getSubscriptors(token, nodePath);
log.debug("getSubscriptors: {}", users); log.debug("getSubscriptors: {}", users);
return users; return users;
} }
@Override @Override
public void notify(String token, String nodeId, List<String> users, List< String> mails, String message, boolean attachment) public void notify(String token, String nodeId, List<String> users, List< String> mails, String message, boolean attachment)
throws PathNotFoundException, AccessDeniedException, Prin cipalAdapterException, RepositoryException, throws PathNotFoundException, AccessDeniedException, Prin cipalAdapterException, RepositoryException,
DatabaseException, IOException { DatabaseException, IOException, LockException {
log.debug("notify({}, {}, {}, {}, {})", new Object[]{token, nodeI d, users, mails, message, attachment}); log.debug("notify({}, {}, {}, {}, {})", new Object[]{token, nodeI d, users, mails, message, attachment});
NotificationModule nm = ModuleManager.getNotificationModule(); NotificationModule nm = ModuleManager.getNotificationModule();
nm.notify(token, nodeId, users, mails, message, attachment); nm.notify(token, nodeId, users, mails, message, attachment);
log.debug("notify: void"); log.debug("notify: void");
} }
@Override @Override
public void proposedSubscription(String token, String nodeId, List<String > users, String comment) public void proposedSubscription(String token, String nodeId, List<String > users, String comment)
throws PathNotFoundException, AccessDeniedException, Prin cipalAdapterException, RepositoryException, throws PathNotFoundException, AccessDeniedException, Prin cipalAdapterException, RepositoryException,
DatabaseException, IOException { DatabaseException, IOException {
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)