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)
copy
|
Record |
createRecord(Record record)
create
|
void |
deleteRecord(String recId)
delete
|
void |
forceUnlockRecord(String recId)
forceUnlock
|
List<Record> |
getRecordChildren(String recId)
getChildren
|
String |
getRecordPath(String uuid) |
Record |
getRecordProperties(String recId)
getProperties
|
boolean |
isValidRecord(String recId)
isValid
|
LockInfo |
lockRecord(String recId)
lock
|
void |
moveRecord(String recId,
String dstId)
move
|
void |
purgeRecord(String recId)
purge
|
void |
renameRecord(String recId,
String newName)
rename
|
void |
setRecordTitle(String recId,
String title)
setTitle
|
void |
unlockRecord(String recId)
unlock
|
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 LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteRecord in interface BaseRecordLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeRecord(String recId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeRecord in interface BaseRecordLockExceptionAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic void renameRecord(String recId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
public 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 recId) 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 © 2015 Open Knowledge Management System S.L.. All rights reserved.