public class RecordImpl extends ClientImpl implements BaseRecord
| Constructor and Description |
|---|
RecordImpl(String host,
String user,
String password)
RecordImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyRecord(String recId,
String dstId,
String newName) |
Record |
createRecord(Record record) |
void |
deleteRecord(String recId) |
void |
forceUnlockRecord(String recId) |
List<Record> |
getRecordChildren(String fldId) |
String |
getRecordPath(String uuid) |
Record |
getRecordProperties(String recId) |
boolean |
isValidRecord(String recId) |
LockInfo |
lockRecord(String recId) |
void |
moveRecord(String recId,
String dstId) |
void |
purgeRecord(String recId) |
Record |
renameRecord(String recId,
String newName) |
void |
setRecordTitle(String recId,
String title) |
void |
unlockRecord(String recId) |
getClientpublic Record createRecord(Record record) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Record getRecordProperties(String recId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getRecordProperties in interface BaseRecordAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteRecord(String recId) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteRecord in interface BaseRecordAutomationExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeRecord(String recId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeRecord in interface BaseRecordLockExceptionAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic Record renameRecord(String recId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, UnknowException, WebserviceException
renameRecord in interface BaseRecordAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionItemExistsExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void moveRecord(String recId, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public void copyRecord(String recId, String dstId, String newName) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, ExtensionException, AutomationException, UnknowException, WebserviceException
public boolean isValidRecord(String recId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidRecord in interface BaseRecordPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Record> getRecordChildren(String fldId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getRecordChildren in interface BaseRecordRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic LockInfo lockRecord(String recId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
lockRecord in interface BaseRecordLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void unlockRecord(String recId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unlockRecord in interface BaseRecordLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void forceUnlockRecord(String recId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
public void setRecordTitle(String recId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setRecordTitle in interface BaseRecordVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getRecordPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRecordPath in interface BaseRecordAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionCopyright © 2017 Open Knowledge Management System S.L.. All Rights Reserved.