Package com.openkm.sdk4j.impl
Class PropertyImpl
java.lang.Object
com.openkm.sdk4j.impl.ClientImpl
com.openkm.sdk4j.impl.PropertyImpl
- All Implemented Interfaces:
BaseProperty,Serializable
PropertyImpl
- Author:
- sochoa
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategory(String uuid, String catId) Add category.voidaddKeyword(String uuid, String keyword) Add keyword.booleanIs signed boolean.voidremoveCategory(String uuid, String catId) Remove category.voidremoveKeyword(String uuid, String keyword) Remove keyword.protected voidsetAuthorizationToken(String authorizationToken) setAuthenticationTokenvoidsetEncryption(String uuid, String cipherName) Sets encryption.voidSets signed.voidunsetEncryption(String uuid) Unset encryption.Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
Constructor Details
-
PropertyImpl
PropertyImpl
-
-
Method Details
-
setAuthorizationToken
setAuthenticationToken -
addCategory
public void addCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Description copied from interface:BasePropertyAdd category.- Specified by:
addCategoryin interfaceBaseProperty- Parameters:
uuid- the uuidcatId- the cat id- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeCategory
public void removeCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Description copied from interface:BasePropertyRemove category.- Specified by:
removeCategoryin interfaceBaseProperty- Parameters:
uuid- the uuidcatId- the cat id- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
addKeyword
public void addKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Description copied from interface:BasePropertyAdd keyword.- Specified by:
addKeywordin interfaceBaseProperty- Parameters:
uuid- the uuidkeyword- the keyword- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
removeKeyword
public void removeKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Description copied from interface:BasePropertyRemove keyword.- Specified by:
removeKeywordin interfaceBaseProperty- Parameters:
uuid- the uuidkeyword- the keyword- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
setEncryption
public void setEncryption(String uuid, String cipherName) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Description copied from interface:BasePropertySets encryption.- Specified by:
setEncryptionin interfaceBaseProperty- Parameters:
uuid- the uuidcipherName- the cipher name- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionPromotedAsRecordLockException- the promoted as record lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
unsetEncryption
public void unsetEncryption(String uuid) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Description copied from interface:BasePropertyUnset encryption.- Specified by:
unsetEncryptionin interfaceBaseProperty- Parameters:
uuid- the uuid- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionPromotedAsRecordLockException- the promoted as record lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
setSigned
public void setSigned(String uuid, boolean signed) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Description copied from interface:BasePropertySets signed.- Specified by:
setSignedin interfaceBaseProperty- Parameters:
uuid- the uuidsigned- the signed- Throws:
VersionException- the version exceptionLockException- the lock exceptionPathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionRepositoryException- the repository exceptionDatabaseException- the database exceptionPromotedAsRecordLockException- the promoted as record lock exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-
isSigned
public boolean isSigned(String uuid) throws PathNotFoundException, AccessDeniedException, DatabaseException, UnknownException, WebserviceException Description copied from interface:BasePropertyIs signed boolean.- Specified by:
isSignedin interfaceBaseProperty- Parameters:
uuid- the uuid- Returns:
- the boolean
- Throws:
PathNotFoundException- the path not found exceptionAccessDeniedException- the access denied exceptionDatabaseException- the database exceptionUnknownException- the unknown exceptionWebserviceException- the webservice exception
-