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) |
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, resource
public 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 BaseRecord
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknownException
WebserviceException
public 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 BaseRecord
LockException
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
PromotedAsRecordLockException
FilePlanCatalogManagerException
VersionException
UnknownException
WebserviceException
public 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 BaseRecord
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public List<Record> getRecordChildren(String uuid) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknownException, WebserviceException
getRecordChildren
in interface BaseRecord
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknownException
WebserviceException
public LockInfo lockRecord(String uuid) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
lockRecord
in interface BaseRecord
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 BaseRecord
AccessDeniedException
RepositoryException
DatabaseException
UnknownException
WebserviceException
public void setRecordDispositionStage(String uuid, long stage) throws PathNotFoundException, AccessDeniedException, DatabaseException, WebserviceException, UnknownException
setRecordDispositionStage
in interface BaseRecord
PathNotFoundException
AccessDeniedException
DatabaseException
WebserviceException
UnknownException
public 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 BaseRecord
UnsupportedMimeTypeException
FileSizeExceededException
UserQuotaExceededException
VirusDetectedException
ItemExistsException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
AutomationException
FilePlanException
PromotedAsRecordLockException
WebserviceException
ExtensionException
UnknownException
public Record extendedRecordCopy(String uuid, String dstId, String newName, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) 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 BaseRecord
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
TemplateException
DocumentTemplateException
ItemExistsException
AutomationException
FilePlanException
PromotedAsRecordLockException
ParseException
NoSuchGroupException
NoSuchPropertyException
LockException
ValidationFormException
ClassNotFoundException
UnknownException
WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.