public class RecordImpl extends ClientImpl implements BaseRecord, Serializable
| Constructor and Description |
|---|
RecordImpl(String host)
RecordImpl
|
| Modifier and Type | Method and Description |
|---|---|
Record |
copyRecord(String uuid,
String dstId,
String newName)
Copy record record.
|
void |
createMissingRecords(String recPath)
Create missing records.
|
Record |
createRecord(String uuid,
String name,
String title,
long nodeClass)
Create record record.
|
Record |
createRecordFromTemplate(String uuid,
String dstPath,
boolean categories,
boolean keywords,
boolean notes,
boolean propertyGroups,
boolean security,
Map<String,String> properties)
Create record from template record.
|
WizardNode |
createWizardRecord(String uuid,
String name,
String title,
long nodeClass)
Create wizard record wizard node.
|
void |
deleteRecord(String uuid)
Delete record.
|
Record |
extendedRecordCopy(String uuid,
String dstId,
String newName,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean security)
Extended record copy record.
|
List<Record> |
getRecordChildren(String uuid)
Gets record children.
|
String |
getRecordPath(String uuid)
Gets record path.
|
Record |
getRecordProperties(String uuid)
Gets record properties.
|
boolean |
isValidRecord(String uuid)
Is valid record boolean.
|
void |
moveRecord(String uuid,
String dstId)
Move record.
|
void |
purgeRecord(String uuid)
Purge record.
|
Record |
renameRecord(String uuid,
String newName)
Rename record.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
void |
setRecordDescription(String uuid,
String description)
Sets record description.
|
void |
setRecordTitle(String uuid,
String title)
Sets record title.
|
getClient, resource, resource, resourcepublic RecordImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public Record createRecord(String uuid, String name, String title, long nodeClass) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordcreateRecord in interface BaseRecorduuid - the uuidname - the nametitle - the titlenodeClass - the node classAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionItemExistsException - the item exists exceptionDatabaseException - the database exceptionExtensionException - the extension exceptionAutomationException - the automation exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Record getRecordProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
BaseRecordgetRecordProperties in interface BaseRecorduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic void deleteRecord(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecorddeleteRecord in interface BaseRecorduuid - the uuidAutomationException - the automation 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 purgeRecord(String uuid) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordpurgeRecord in interface BaseRecorduuid - the uuidLockException - the lock exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionExtensionException - the extension exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Record renameRecord(String uuid, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordrenameRecord in interface BaseRecorduuid - the uuidnewName - the new nameAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionItemExistsException - the item exists exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic void moveRecord(String uuid, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, PromotedAsRecordLockException, FilePlanCatalogManagerException, AutomationException, VersionException, UnknownException, WebserviceException
BaseRecordmoveRecord in interface BaseRecorduuid - the uuiddstId - the dst idLockException - the lock exceptionPathNotFoundException - the path not found exceptionItemExistsException - the item exists exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionExtensionException - the extension exceptionPromotedAsRecordLockException - the promoted as record lock exceptionFilePlanCatalogManagerException - the file plan catalog manager exceptionAutomationException - the automation exceptionVersionException - the version exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Record copyRecord(String uuid, String dstId, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordcopyRecord in interface BaseRecorduuid - the uuiddstId - the dst idnewName - the new nameItemExistsException - the item exists exceptionPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionExtensionException - the extension exceptionAutomationException - the automation exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic boolean isValidRecord(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BaseRecordisValidRecord in interface BaseRecorduuid - the uuidPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic List<Record> getRecordChildren(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
BaseRecordgetRecordChildren in interface BaseRecorduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionPathNotFoundException - the path not found exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic void setRecordTitle(String uuid, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordsetRecordTitle in interface BaseRecorduuid - the uuidtitle - the titleVersionException - 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 String getRecordPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
BaseRecordgetRecordPath in interface BaseRecorduuid - the uuidAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic void setRecordDescription(String uuid, String description) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, WebserviceException, UnknownException
BaseRecordsetRecordDescription in interface BaseRecorduuid - the uuiddescription - the descriptionVersionException - 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 exceptionWebserviceException - the webservice exceptionUnknownException - the unknown exceptionpublic WizardNode createWizardRecord(String uuid, String name, String title, long nodeClass) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, AutomationException, PromotedAsRecordLockException, WebserviceException, ExtensionException, UnknownException
BaseRecordcreateWizardRecord in interface BaseRecorduuid - the uuidname - the nametitle - the titlenodeClass - the node classItemExistsException - the item exists exceptionPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionAutomationException - the automation exceptionPromotedAsRecordLockException - the promoted as record lock exceptionWebserviceException - the webservice exceptionExtensionException - the extension exceptionUnknownException - the unknown exceptionpublic Record extendedRecordCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean security) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordextendedRecordCopy in interface BaseRecorduuid - the uuiddstId - the dst idnewName - the new namecategories - the categorieskeywords - the keywordspropertyGroups - the property groupsnotes - the notessecurity - the securityItemExistsException - the item exists exceptionPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionUserQuotaExceededException - the user quota exceeded exceptionAutomationException - the automation exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic Record createRecordFromTemplate(String uuid, String dstPath, boolean categories, boolean keywords, boolean notes, boolean propertyGroups, boolean security, Map<String,String> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, TemplateException, DocumentTemplateException, ItemExistsException, AutomationException, FilePlanException, PromotedAsRecordLockException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, ValidationFormException, ClassNotFoundException, UnknownException, WebserviceException
BaseRecordcreateRecordFromTemplate in interface BaseRecorduuid - the uuiddstPath - the dst pathcategories - the categorieskeywords - the keywordsnotes - the notespropertyGroups - the property groupssecurity - the securityproperties - the propertiesPathNotFoundException - the path not found exceptionAccessDeniedException - the access denied exceptionRepositoryException - the repository exceptionDatabaseException - the database exceptionTemplateException - the template exceptionDocumentTemplateException - the document template exceptionItemExistsException - the item exists exceptionAutomationException - the automation exceptionFilePlanException - the file plan exceptionPromotedAsRecordLockException - the promoted as record lock exceptionParseException - the parse exceptionNoSuchGroupException - the no such group exceptionNoSuchPropertyException - the no such property exceptionLockException - the lock exceptionValidationFormException - the validation form exceptionClassNotFoundException - the class not found exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic void createMissingRecords(String recPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
BaseRecordcreateMissingRecords in interface BaseRecordrecPath - the record pathRepositoryException - the repository exceptionDatabaseException - the database exceptionPathNotFoundException - the path not found exceptionItemExistsException - the item exists exceptionAccessDeniedException - the access denied exceptionAutomationException - the automation exceptionPromotedAsRecordLockException - the promoted as record lock exceptionUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2025 Open Knowledge Management System S.L.. All Rights Reserved.