public class PropertyImpl extends ClientImpl implements BaseProperty, Serializable
| Constructor and Description |
|---|
PropertyImpl(String host)
FolderImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(String uuid,
String catId)
Add category.
|
void |
addKeyword(String uuid,
String keyword)
Add keyword.
|
boolean |
isSigned(String uuid)
Is signed boolean.
|
void |
removeCategory(String uuid,
String catId)
Remove category.
|
void |
removeKeyword(String uuid,
String keyword)
Remove keyword.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
void |
setEncryption(String uuid,
String cipherName)
Sets encryption.
|
void |
setSigned(String uuid,
boolean signed)
Sets signed.
|
void |
unsetEncryption(String uuid)
Unset encryption.
|
getClient, resource, resource, resourcepublic PropertyImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public void addCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BasePropertyaddCategory in interface BasePropertyuuid - the uuidcatId - the cat idVersionException - 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 exceptionpublic void removeCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BasePropertyremoveCategory in interface BasePropertyuuid - the uuidcatId - the cat idVersionException - 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 exceptionpublic void addKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BasePropertyaddKeyword in interface BasePropertyuuid - the uuidkeyword - the keywordVersionException - 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 exceptionpublic void removeKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BasePropertyremoveKeyword in interface BasePropertyuuid - the uuidkeyword - the keywordVersionException - 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 exceptionpublic void setEncryption(String uuid, String cipherName) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
BasePropertysetEncryption in interface BasePropertyuuid - the uuidcipherName - the cipher nameVersionException - 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 exceptionpublic void unsetEncryption(String uuid) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
BasePropertyunsetEncryption in interface BasePropertyuuid - the uuidVersionException - 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 exceptionpublic void setSigned(String uuid, boolean signed) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
BasePropertysetSigned in interface BasePropertyuuid - the uuidsigned - the signedVersionException - 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 exceptionpublic boolean isSigned(String uuid) throws AccessDeniedException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
BasePropertyisSigned in interface BasePropertyuuid - the uuidAccessDeniedException - the access denied exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2022 Open Knowledge Management System S.L.. All Rights Reserved.