|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.dataRecord.ProcessInstanceRowTemplate
public class ProcessInstanceRowTemplate
ProcessInstanceRowTemplate.
Constructor Summary | |
---|---|
ProcessInstanceRowTemplate(ProcessModel processModel,
String role,
String lang)
Builds the record template of the process instance rows. |
Method Summary | |
---|---|
Field[] |
buildFieldsArray()
Builds a Field[] with the correct size(). |
boolean |
checkDataRecord(DataRecord record)
Returns true if the data record is built on this template. |
DataRecord |
getEmptyRecord()
Throws an illegal call exception, since an empty DataRecord can't be built from this template. |
int |
getFieldIndex(String fieldName)
Returns the Field index of the named field. |
String[] |
getFieldNames()
Returns all the field names of the DataRecord built on this template. |
FieldTemplate |
getFieldTemplate(int fieldIndex)
Returns the FieldTemplate at the given position |
FieldTemplate |
getFieldTemplate(String fieldName)
Returns the FieldTemplate of the named field. |
FieldTemplate[] |
getFieldTemplates()
Returns all the field templates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessInstanceRowTemplate(ProcessModel processModel, String role, String lang)
Method Detail |
---|
public String[] getFieldNames()
getFieldNames
in interface RecordTemplate
public FieldTemplate[] getFieldTemplates() throws FormException
getFieldTemplates
in interface RecordTemplate
FormException
public FieldTemplate getFieldTemplate(String fieldName) throws FormException
getFieldTemplate
in interface RecordTemplate
FormException
public FieldTemplate getFieldTemplate(int fieldIndex) throws FormException
FormException
public int getFieldIndex(String fieldName) throws FormException
getFieldIndex
in interface RecordTemplate
FormException
public DataRecord getEmptyRecord() throws FormException
getEmptyRecord
in interface RecordTemplate
FormException
public boolean checkDataRecord(DataRecord record)
checkDataRecord
in interface RecordTemplate
public Field[] buildFieldsArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |