|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.form.dummy.DummyRecordSet
public class DummyRecordSet
A dummy record set.
Constructor Summary | |
---|---|
DummyRecordSet()
The no paramaters constructor. |
|
DummyRecordSet(RecordTemplate template)
|
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> attachmentIds)
|
void |
delete(DataRecord record)
This dummy record set simply do nothing. |
void |
delete(String objectId)
|
DataRecord |
getEmptyRecord()
Returns an empty DataRecord built on the RecordTemplate. |
DataRecord |
getRecord(String recordId)
This dummy record set always return a dummy record. |
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 |
insert(DataRecord record)
This dummy record set simply do nothing. |
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)
This dummy record set simply do nothing. |
void |
update(DataRecord record)
This dummy record set simply do nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyRecordSet()
public DummyRecordSet(RecordTemplate template) throws FormException
FormException
Method Detail |
---|
public RecordTemplate getRecordTemplate()
getRecordTemplate
in interface RecordSet
public DataRecord getEmptyRecord() throws FormException
getEmptyRecord
in interface RecordSet
FormException
public DataRecord getRecord(String recordId) throws FormException
getRecord
in interface RecordSet
recordId
-
FormException
public DataRecord getRecord(String recordId, String language) throws FormException
getRecord
in interface RecordSet
FormException
public void insert(DataRecord record) throws FormException
record
-
FormException
public void update(DataRecord record) throws FormException
record
-
FormException
public void save(DataRecord record) throws FormException
save
in interface RecordSet
record
-
FormException
public void delete(DataRecord record) throws FormException
delete
in interface RecordSet
record
-
FormException
public void delete(String objectId) throws FormException
delete
in interface RecordSet
FormException
public void clone(String originalExternalId, String originalComponentId, String cloneExternalId, String cloneComponentId, Map<String,String> attachmentIds) throws FormException
RecordSet
clone
in interface RecordSet
FormException
public void merge(String fromExternalId, String fromComponentId, String toExternalId, String toComponentId, Map<String,String> attachmentIds) throws FormException
merge
in interface RecordSet
FormException
public void indexRecord(String recordId, String formName, FullIndexEntry indexEntry) throws FormException
RecordSet
indexRecord
in interface RecordSet
FormException
public void copy(ForeignPK fromPK, ForeignPK toPK, RecordTemplate toRecordTemplate, Map<String,String> attachmentIds) throws FormException
copy
in interface RecordSet
FormException
public void move(ForeignPK fromPK, ForeignPK toPK, RecordTemplate toRecordTemplate) throws FormException
move
in interface RecordSet
FormException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |