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) |
getClient
public 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 BaseRecord
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void deleteRecord(String recId) throws AutomationException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteRecord
in interface BaseRecord
AutomationException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void purgeRecord(String recId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeRecord
in interface BaseRecord
LockException
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
ExtensionException
UnknowException
WebserviceException
public Record renameRecord(String recId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, UnknowException, WebserviceException
renameRecord
in interface BaseRecord
AccessDeniedException
RepositoryException
PathNotFoundException
ItemExistsException
DatabaseException
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 BaseRecord
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<Record> getRecordChildren(String fldId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getRecordChildren
in interface BaseRecord
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public LockInfo lockRecord(String recId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
lockRecord
in interface BaseRecord
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void unlockRecord(String recId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unlockRecord
in interface BaseRecord
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BaseRecord
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getRecordPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRecordPath
in interface BaseRecord
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
Copyright © 2018 Open Knowledge Management System S.L.. All Rights Reserved.