|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataRecord
A DataRecord is the interface used by all the form components to exchange, display and save a set of named and typed fields which are unknown at compile time but defined by a silverpeas end user in a workflow process model or a publication model. A DataRecord is modelized by a RecordTemplate giving all the fields names and types. A DataRecord is built, managed and saved by a RecordSet.
Field
,
RecordSet
,
RecordTemplate
Method Summary | |
---|---|
Field |
getField(int fieldIndex)
Returns the field at the index position in the record. |
Field |
getField(String fieldName)
Returns the named field. |
Field |
getField(String fieldName,
int occurrence)
|
String[] |
getFieldNames()
|
String |
getId()
Returns the data record id. |
String |
getLanguage()
|
Map<String,String> |
getValues(String language)
|
boolean |
isNew()
Return true if this record has not been inserted in a RecordSet. |
void |
setId(String externalId)
Gives an id to the data record. |
void |
setLanguage(String language)
|
Method Detail |
---|
String getId()
void setId(String externalId)
boolean isNew()
Field getField(String fieldName) throws FormException
FormException
Field getField(String fieldName, int occurrence)
Field getField(int fieldIndex) throws FormException
FormException
String[] getFieldNames()
String getLanguage()
void setLanguage(String language)
Map<String,String> getValues(String language)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |