Package com.openkm.sdk4j.definition
Interface BaseProperty
- All Known Implementing Classes:
PropertyImpl
public interface BaseProperty
BaseProperty
- Author:
- sochoa
-
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.voidsetEncryption(String uuid, String cipherName) Sets encryption.voidSets signed.voidunsetEncryption(String uuid) Unset encryption.
-
Method Details
-
addCategory
void addCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Add category.- 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
void removeCategory(String uuid, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Remove category.- 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
void addKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Add keyword.- 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
void removeKeyword(String uuid, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException Remove keyword.- 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
void setEncryption(String uuid, String cipherName) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Sets encryption.- 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
void unsetEncryption(String uuid) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Unset encryption.- 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
void setSigned(String uuid, boolean signed) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException Sets signed.- 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
boolean isSigned(String uuid) throws PathNotFoundException, AccessDeniedException, DatabaseException, UnknownException, WebserviceException Is signed boolean.- 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
-