Package com.openkm.sdk4j.impl
Class NotificationImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.NotificationImpl
-
- All Implemented Interfaces:
BaseNotification,Serializable
public class NotificationImpl extends ClientImpl implements BaseNotification, Serializable
NotificationImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationImpl(String host)NotificationImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotify(List<String> uuids, List<String> users, List<String> roles, List<String> mails, String message, boolean attachment)Notify.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationToken-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
NotificationImpl
public NotificationImpl(String host)
NotificationImpl
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
notify
public void notify(List<String> uuids, List<String> users, List<String> roles, List<String> mails, String message, boolean attachment) throws WebserviceException, AccessDeniedException, RepositoryException, LockException, PathNotFoundException, DatabaseException, UnknownException, VersionException, PromotedAsRecordLockException
Description copied from interface:BaseNotificationNotify.- Specified by:
notifyin interfaceBaseNotification- Parameters:
uuids- the uuidsusers- the usersroles- the rolesmails- the mailsmessage- the messageattachment- the attachment- Throws:
WebserviceException- the webservice exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionVersionException- the version exceptionPromotedAsRecordLockException- the promoted as record lock exception
-
-