public interface BaseRecord
Modifier and Type | Method and Description |
---|---|
Record |
copyRecord(String uuid,
String dstId,
String newName)
Copy record record.
|
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,
Map<String,String> properties)
Create record from template record.
|
Record |
createRecordFromTemplate(String uuid,
String dstPath,
String language,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
Map<String,String> properties)
Deprecated.
|
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.
|
Record |
extendedRecordCopy(String uuid,
String dstId,
String newName,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
boolean security)
Extended record copy record.
|
LockInfo |
forceLockRecord(String uuid)
Force lock record lock info.
|
void |
forceUnlockRecord(String uuid)
Force unlock 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.
|
LockInfo |
lockRecord(String uuid)
Lock record lock info.
|
void |
moveRecord(String uuid,
String dstId)
Move record.
|
void |
purgeRecord(String uuid)
Purge record.
|
Record |
renameRecord(String uuid,
String newName)
Rename record record.
|
void |
setRecordDescription(String uuid,
String description)
Sets record description.
|
void |
setRecordDispositionStage(String uuid,
long stage)
Sets record disposition stage.
|
void |
setRecordNodeClass(String uuid,
long ncId)
Sets record node class.
|
void |
setRecordTitle(String uuid,
String title)
Sets record title.
|
void |
unlockRecord(String uuid)
Unlock record.
|
Record createRecord(String uuid, String name, String title, long nodeClass) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- 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 exceptionRecord getRecordProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteRecord(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- 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 exceptionvoid purgeRecord(String uuid) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- 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 exceptionRecord renameRecord(String uuid, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, PromotedAsRecordLockException, LockException, UnknownException, WebserviceException
uuid
- 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 exceptionLockException
- the lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid moveRecord(String uuid, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, PromotedAsRecordLockException, FilePlanCatalogManagerException, AutomationException, VersionException, UnknownException, WebserviceException
uuid
- 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 exceptionRecord copyRecord(String uuid, String dstId, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- 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 exceptionboolean isValidRecord(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<Record> getRecordChildren(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionPathNotFoundException
- the path not found exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionLockInfo lockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionLockInfo forceLockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid unlockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid forceUnlockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid setRecordTitle(String uuid, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- 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 exceptionvoid setRecordNodeClass(String uuid, long ncId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuidncId
- the nc idVersionException
- 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 exceptionString getRecordPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid setRecordDispositionStage(String uuid, long stage) throws PathNotFoundException, AccessDeniedException, DatabaseException, WebserviceException, UnknownException
uuid
- the uuidstage
- the stagePathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionWebserviceException
- the webservice exceptionUnknownException
- the unknown exceptionvoid setRecordDescription(String uuid, String description) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, WebserviceException, UnknownException
uuid
- 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 exceptionWizardNode createWizardRecord(String uuid, String name, String title, long nodeClass) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, AutomationException, PromotedAsRecordLockException, WebserviceException, ExtensionException, UnknownException
uuid
- 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 exceptionRecord 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
uuid
- 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 exceptionRecord extendedRecordCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, boolean security) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idnewName
- the new namecategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the noteswiki
- the wikisecurity
- 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 exceptionRecord createRecordFromTemplate(String uuid, String dstPath, boolean categories, boolean keywords, boolean notes, Map<String,String> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, TemplateException, DocumentTemplateException, ItemExistsException, AutomationException, FilePlanException, PromotedAsRecordLockException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, ValidationFormException, ClassNotFoundException, UnknownException, WebserviceException
uuid
- the uuiddstPath
- the dst pathcategories
- the categorieskeywords
- the keywordsnotes
- the notesproperties
- 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 exception@Deprecated Record createRecordFromTemplate(String uuid, String dstPath, String language, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki, Map<String,String> properties) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, TemplateException, DocumentTemplateException, ItemExistsException, AutomationException, FilePlanException, PromotedAsRecordLockException, ParseException, NoSuchGroupException, NoSuchPropertyException, LockException, ValidationFormException, ClassNotFoundException, UnknownException, WebserviceException
uuid
- the uuiddstPath
- the dst pathlanguage
- the languagecategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the noteswiki
- the wikiproperties
- 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 exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.