|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordSet
A RecordSet manages a set of DataRecord built on a same RecordTemplate.
DataRecord
,
RecordTemplate
Method Summary | |
---|---|
void |
clone(String originalExternalId,
String originalComponentId,
String cloneExternalId,
String cloneComponentId,
Map<String,String> attachmentIds)
Clones the given DataRecord. |
void |
copy(ForeignPK fromPK,
ForeignPK toPK,
RecordTemplate toRecordTemplate,
Map<String,String> oldAndNewFileIds)
|
void |
delete(DataRecord record)
Deletes the given DataRecord and set to null its id. |
void |
delete(String objectId)
|
DataRecord |
getEmptyRecord()
Returns an empty DataRecord built on the RecordTemplate. |
DataRecord |
getRecord(String id)
Returns the DataRecord with the given id. |
DataRecord |
getRecord(String recordId,
String language)
|
RecordTemplate |
getRecordTemplate()
Returns the RecordTemplate shared by all the DataRecord of this RecordSet. |
void |
indexRecord(String recordId,
String formName,
FullIndexEntry indexEntry)
Index the given DataRecord into the indexEntry. formName looks like allFields (ie template filename allFields.xml without extension) |
void |
merge(String fromExternalId,
String fromComponentId,
String toExternalId,
String toComponentId,
Map<String,String> attachmentIds)
|
void |
move(ForeignPK fromPK,
ForeignPK toPK,
RecordTemplate toRecordTemplate)
|
void |
save(DataRecord record)
Save the given DataRecord. |
Method Detail |
---|
RecordTemplate getRecordTemplate()
DataRecord getEmptyRecord() throws FormException
FormException
DataRecord getRecord(String id) throws FormException
FormException
DataRecord getRecord(String recordId, String language) throws FormException
FormException
void save(DataRecord record) throws FormException
FormException
void indexRecord(String recordId, String formName, FullIndexEntry indexEntry) throws FormException
formName
- indexEntry
-
FormException
void delete(DataRecord record) throws FormException
FormException
void delete(String objectId) throws FormException
FormException
void copy(ForeignPK fromPK, ForeignPK toPK, RecordTemplate toRecordTemplate, Map<String,String> oldAndNewFileIds) throws FormException
FormException
void move(ForeignPK fromPK, ForeignPK toPK, RecordTemplate toRecordTemplate) throws FormException
FormException
void clone(String originalExternalId, String originalComponentId, String cloneExternalId, String cloneComponentId, Map<String,String> attachmentIds) throws FormException
FormException
void merge(String fromExternalId, String fromComponentId, String toExternalId, String toComponentId, Map<String,String> attachmentIds) throws FormException
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |