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
public PropertyImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public void addCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BaseProperty
addCategory
in interface BaseProperty
uuid
- 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
BaseProperty
removeCategory
in interface BaseProperty
uuid
- 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
BaseProperty
addKeyword
in interface BaseProperty
uuid
- 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
BaseProperty
removeKeyword
in interface BaseProperty
uuid
- 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
BaseProperty
setEncryption
in interface BaseProperty
uuid
- 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
BaseProperty
unsetEncryption
in interface BaseProperty
uuid
- 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
BaseProperty
setSigned
in interface BaseProperty
uuid
- 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
BaseProperty
isSigned
in interface BaseProperty
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.