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) |
Record |
createRecord(String uuid,
String name,
String title,
long nodeClass) |
Record |
createRecordFromTemplate(String uuid,
String dstPath,
String language,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
Map<String,String> properties) |
WizardNode |
createWizardRecord(String uuid,
String name,
String title,
long nodeClass) |
void |
deleteRecord(String uuid) |
Record |
extendedRecordCopy(String uuid,
String dstId,
String newName,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki,
boolean security) |
LockInfo |
forceLockRecord(String uuid) |
void |
forceUnlockRecord(String uuid) |
List<Record> |
getRecordChildren(String uuid) |
String |
getRecordPath(String uuid) |
Record |
getRecordProperties(String uuid) |
boolean |
isValidRecord(String uuid) |
LockInfo |
lockRecord(String uuid) |
void |
moveRecord(String uuid,
String dstId) |
void |
purgeRecord(String uuid) |
Record |
renameRecord(String uuid,
String newName) |
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
void |
setRecordDescription(String uuid,
String description) |
void |
setRecordDispositionStage(String uuid,
long stage) |
void |
setRecordNodeClass(String uuid,
long ncId) |
void |
setRecordTitle(String uuid,
String title) |
void |
unlockRecord(String uuid) |
getClient, getClient, 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
public Record getRecordProperties(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
getRecordProperties in interface BaseRecordAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void deleteRecord(String uuid) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void purgeRecord(String uuid) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
public Record renameRecord(String uuid, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, LockException, DatabaseException, ExtensionException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void moveRecord(String uuid, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, PromotedAsRecordLockException, FilePlanCatalogManagerException, AutomationException, VersionException, UnknownException, WebserviceException
moveRecord in interface BaseRecordLockExceptionPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionPromotedAsRecordLockExceptionFilePlanCatalogManagerExceptionVersionExceptionUnknownExceptionWebserviceExceptionpublic Record copyRecord(String uuid, String dstId, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, ExtensionException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
public boolean isValidRecord(String uuid) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
isValidRecord in interface BaseRecordPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic List<Record> getRecordChildren(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
getRecordChildren in interface BaseRecordAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic LockInfo lockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
lockRecord in interface BaseRecordLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPromotedAsRecordLockExceptionUnknownExceptionWebserviceExceptionpublic LockInfo forceLockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void unlockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void forceUnlockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void setRecordTitle(String uuid, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
public void setRecordNodeClass(String uuid, long ncId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
public String getRecordPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
getRecordPath in interface BaseRecordAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknownExceptionWebserviceExceptionpublic void setRecordDispositionStage(String uuid, long stage) throws PathNotFoundException, AccessDeniedException, DatabaseException, WebserviceException, UnknownException
setRecordDispositionStage in interface BaseRecordPathNotFoundExceptionAccessDeniedExceptionDatabaseExceptionWebserviceExceptionUnknownExceptionpublic void setRecordDescription(String uuid, String description) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, WebserviceException, UnknownException
public WizardNode createWizardRecord(String uuid, String name, String title, long nodeClass) throws UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, AutomationException, FilePlanException, PromotedAsRecordLockException, WebserviceException, ExtensionException, UnknownException
createWizardRecord in interface BaseRecordUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionAutomationExceptionFilePlanExceptionPromotedAsRecordLockExceptionWebserviceExceptionExtensionExceptionUnknownExceptionpublic Record 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
public 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
createRecordFromTemplate in interface BaseRecordPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionTemplateExceptionDocumentTemplateExceptionItemExistsExceptionAutomationExceptionFilePlanExceptionPromotedAsRecordLockExceptionParseExceptionNoSuchGroupExceptionNoSuchPropertyExceptionLockExceptionValidationFormExceptionClassNotFoundExceptionUnknownExceptionWebserviceExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.