Uses of Interface
org.silverpeas.core.contribution.content.form.DataRecord
-
-
Uses of DataRecord in org.silverpeas.core.contribution.content.form
Methods in org.silverpeas.core.contribution.content.form that return DataRecord Modifier and Type Method Description DataRecord
AbstractForm. getData()
DataRecord
Form. getData()
DataRecord
RecordSet. getEmptyRecord()
Returns an empty DataRecord built on the RecordTemplate.DataRecord
RecordTemplate. getEmptyRecord()
Returns an empty DataRecord built on this template.DataRecord
RecordSet. getRecord(String id)
Returns the DataRecord with the given id.DataRecord
RecordSet. getRecord(String recordId, String language)
Methods in org.silverpeas.core.contribution.content.form that return types with arguments of type DataRecord Modifier and Type Method Description List<DataRecord>
RecordSet. getRecords(String fieldName, String fieldValue)
Methods in org.silverpeas.core.contribution.content.form with parameters of type DataRecord Modifier and Type Method Description static String
DataRecordUtil. applySubstitution(String text, DataRecord data, String lang)
Returns : "But who is xoxox ?"boolean
RecordTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template and all the constraints are ok.void
RecordSet. delete(DataRecord record)
Deprecated.use delete(String objectId) insteadabstract void
AbstractForm. display(javax.servlet.jsp.JspWriter out, PagesContext pagesContext, DataRecord record)
Prints this form into the specified JSP writer according to the specified records of data that populate the form fields.void
Form. display(javax.servlet.jsp.JspWriter out, PagesContext pagesContext, DataRecord record)
Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations.protected Field
AbstractForm. getSureField(FieldTemplate fieldTemplate, DataRecord record, int occurrence)
boolean
AbstractForm. isEmpty(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
Is the form is empty?boolean
Form. isEmpty(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
void
RecordSet. save(DataRecord record)
Save the given DataRecord.void
AbstractForm. setData(DataRecord data)
void
Form. setData(DataRecord data)
String
Form. toString(PagesContext pagesContext, DataRecord record)
List<String>
AbstractForm. update(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status).List<String>
AbstractForm. update(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext, boolean updateWysiwyg)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status).List<String>
Form. update(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status).List<String>
Form. update(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext, boolean updateWysiwyg)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status).static void
DataRecordUtil. updateFields(String[] fieldNames, DataRecord updatedRecord, DataRecord copiedRecord, String language)
Updates the specified fields.List<String>
AbstractForm. updateWysiwyg(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status).List<String>
Form. updateWysiwyg(List<org.apache.commons.fileupload.FileItem> items, DataRecord record, PagesContext pagesContext)
Updates the values of the dataRecord using the RecordTemplate to extra control information (readOnly or mandatory status). -
Uses of DataRecord in org.silverpeas.core.contribution.content.form.dummy
Classes in org.silverpeas.core.contribution.content.form.dummy that implement DataRecord Modifier and Type Class Description class
DummyDataRecord
A dummy DataRecord .class
DummyFileDataRecord
Methods in org.silverpeas.core.contribution.content.form.dummy that return DataRecord Modifier and Type Method Description DataRecord
DummyRecordSet. getEmptyRecord()
Returns an empty DataRecord built on the RecordTemplate.DataRecord
DummyRecordTemplate. getEmptyRecord()
Returns an empty DataRecord built on this template.DataRecord
DummyRecordSet. getRecord(String recordId)
This dummy record set always return a dummy record.DataRecord
DummyRecordSet. getRecord(String recordId, String language)
Methods in org.silverpeas.core.contribution.content.form.dummy that return types with arguments of type DataRecord Modifier and Type Method Description List<DataRecord>
DummyRecordSet. getRecords(String fieldName, String fieldValue)
Methods in org.silverpeas.core.contribution.content.form.dummy with parameters of type DataRecord Modifier and Type Method Description boolean
DummyRecordTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template and all the constraints are ok.void
DummyRecordSet. delete(DataRecord record)
This dummy record set simply do nothing.void
DummyRecordSet. save(DataRecord record)
This dummy record set simply do nothing. -
Uses of DataRecord in org.silverpeas.core.contribution.content.form.filter
Methods in org.silverpeas.core.contribution.content.form.filter that return DataRecord Modifier and Type Method Description DataRecord
FilterManager. getEmptyCriteriaRecord()
Returns an empty criteria record.Methods in org.silverpeas.core.contribution.content.form.filter with parameters of type DataRecord Modifier and Type Method Description RecordFilter
FilterManager. getRecordFilter(DataRecord criteriaRecord)
Gets a RecordFilter from the criteria record (which must be built with the criteriaRecord)boolean
RecordFilter. match(DataRecord testedRecord)
Returns true if the given record match this Filter criteria.boolean
SimpleRecordFilter. match(DataRecord testedRecord)
Returns true if the fields of the specified record match all the field filter of this Filter. -
Uses of DataRecord in org.silverpeas.core.contribution.content.form.form
Methods in org.silverpeas.core.contribution.content.form.form with parameters of type DataRecord Modifier and Type Method Description void
HtmlForm. display(javax.servlet.jsp.JspWriter jw, PagesContext pagesContext, DataRecord record)
Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations.void
XmlForm. display(javax.servlet.jsp.JspWriter jw, PagesContext pageContext, DataRecord record)
void
XmlSearchForm. display(javax.servlet.jsp.JspWriter jw, PagesContext pageContext, DataRecord record)
String
HtmlForm. toString(PagesContext pageContext, DataRecord record)
Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations.String
XmlForm. toString(PagesContext pagesContext, DataRecord record)
Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations.String
XmlSearchForm. toString(PagesContext pagesContext, DataRecord record)
Prints the HTML layout of the dataRecord using the RecordTemplate to extract labels and extra informations. -
Uses of DataRecord in org.silverpeas.core.contribution.content.form.record
Classes in org.silverpeas.core.contribution.content.form.record that implement DataRecord Modifier and Type Class Description class
GenericDataRecord
A GenericDataRecord use a Field[] and a GenericRecordTemplate.Methods in org.silverpeas.core.contribution.content.form.record that return DataRecord Modifier and Type Method Description DataRecord
GenericRecordSet. getEmptyRecord()
Returns an empty DataRecord built on the RecordTemplate.DataRecord
GenericRecordTemplate. getEmptyRecord()
Returns an empty DataRecord built on this template.DataRecord
IdentifiedRecordTemplate. getEmptyRecord()
Returns an empty DataRecord built on this template.DataRecord
GenericRecordSet. getRecord(String objectId)
Returns the DataRecord with the given id.DataRecord
GenericRecordSet. getRecord(String objectId, String language)
Returns the DataRecord with the given id.DataRecord
GenericRecordSetManager. getRecord(IdentifiedRecordTemplate template, String objectId)
Return the DataRecord registered by the pair (templateId, recordId).DataRecord
GenericRecordSetManager. getRecord(IdentifiedRecordTemplate template, String objectId, String language)
Return the DataRecord registered by the tuple (templateId, objectId, language).Methods in org.silverpeas.core.contribution.content.form.record that return types with arguments of type DataRecord Modifier and Type Method Description List<DataRecord>
GenericRecordSet. getRecords(String fieldName, String fieldValue)
List<DataRecord>
GenericRecordSetManager. getRecords(IdentifiedRecordTemplate template, String fieldName, String fieldValue)
Methods in org.silverpeas.core.contribution.content.form.record with parameters of type DataRecord Modifier and Type Method Description boolean
GenericRecordTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template and all the constraints are ok.boolean
IdentifiedRecordTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template and all the constraints are ok.void
GenericRecordSet. delete(DataRecord record)
Deprecated.use delete(String objectId) instead.void
GenericRecordSetManager. deleteRecord(DataRecord deletedRecord)
Delete the DataRecord registered by the pair (templateId, recordId).void
GenericRecordSetManager. insertRecord(IdentifiedRecordTemplate template, DataRecord insertedRecord)
Register the DataRecord with the pair (templateId, recordId).void
GenericRecordSet. save(DataRecord record)
Save the given DataRecord.void
GenericRecordSetManager. updateRecord(IdentifiedRecordTemplate template, DataRecord updatedRecord)
Save the DataRecord registered by the pair (templateId, recordId). -
Uses of DataRecord in org.silverpeas.core.contribution.template.form.service
Methods in org.silverpeas.core.contribution.template.form.service that return DataRecord Modifier and Type Method Description DataRecord
DefaultFormTemplateService. getRecord(String externalId, String id)
DataRecord
FormTemplateService. getRecord(String externalId, String id)
-
Uses of DataRecord in org.silverpeas.core.webapi.contribution
Methods in org.silverpeas.core.webapi.contribution with parameters of type DataRecord Modifier and Type Method Description protected FormFieldValueEntity
AbstractContributionResource. getFormFieldValue(FieldTemplate fieldTemplate, DataRecord data, String lang)
Gets the value of a field.protected List<FormFieldValueEntity>
AbstractContributionResource. getFormFieldValues(FieldTemplate fieldTemplate, DataRecord data, String lang)
-
Uses of DataRecord in org.silverpeas.core.workflow.api.event
Methods in org.silverpeas.core.workflow.api.event that return DataRecord Modifier and Type Method Description DataRecord
GenericEvent. getDataRecord()
Returns the data associated to this event. -
Uses of DataRecord in org.silverpeas.core.workflow.api.instance
Methods in org.silverpeas.core.workflow.api.instance that return DataRecord Modifier and Type Method Description DataRecord
HistoryStep. getActionRecord()
Get the data filled at this stepDataRecord
ProcessInstance. getActionRecord(String actionName)
Returns the data which was given when the action was performed.DataRecord
ProcessInstance. getAllDataRecord(String role, String lang)
DataRecord
ProcessInstance. getFolder()
DataRecord
ProcessInstance. getFormRecord(String formName, String role, String lang)
DataRecord
ProcessInstance. getNewActionRecord(String actionName, String language)
Get a new data record associated to the given actionDataRecord
ProcessInstance. getRowDataRecord(String role, String lang)
Returns a DataRecord which will be used to represent this process instance as a row in a list.Methods in org.silverpeas.core.workflow.api.instance with parameters of type DataRecord Modifier and Type Method Description void
UpdatableProcessInstance. saveActionRecord(HistoryStep step, DataRecord formData)
Save a new version of given form (including values)void
HistoryStep. setActionRecord(DataRecord data)
Set the data filled at this stepvoid
ProcessInstance. updateFolder(DataRecord data)
-
Uses of DataRecord in org.silverpeas.core.workflow.api.model
Methods in org.silverpeas.core.workflow.api.model that return DataRecord Modifier and Type Method Description DataRecord
Form. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectDataRecord
ProcessModel. getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
Returns an empty DataRecord which must be filled in order to process the named action.DataRecord
ProcessModel. getNewUserInfosRecord(String roleName, String lang)
Returns an empty DataRecord which must be filled in order to fill the user information Throws a WorkflowException if problem encountered.Methods in org.silverpeas.core.workflow.api.model with parameters of type DataRecord Modifier and Type Method Description DataRecord
Form. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectDataRecord
ProcessModel. getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
Returns an empty DataRecord which must be filled in order to process the named action. -
Uses of DataRecord in org.silverpeas.core.workflow.api.task
Methods in org.silverpeas.core.workflow.api.task with parameters of type DataRecord Modifier and Type Method Description QuestionEvent
Task. buildQuestionEvent(String stepId, DataRecord data)
When this Question is asked for a task, builds a QuestionEvent giving the choosed step that must give the answer.ResponseEvent
Task. buildResponseEvent(String questionId, DataRecord data)
When this Response is answer for a task, builds a ResponseEvent giving the question id that must give the answer.TaskDoneEvent
Task. buildTaskDoneEvent(String actionName, DataRecord data)
When this Task is done, builds a TaskDoneEvent giving the choosed action name and the filled form.TaskSavedEvent
Task. buildTaskSavedEvent(String actionName, DataRecord data)
When this Task is saved, builds a TaskSavedEvent giving the choosed action name and the filled form. -
Uses of DataRecord in org.silverpeas.core.workflow.api.user
Methods in org.silverpeas.core.workflow.api.user with parameters of type DataRecord Modifier and Type Method Description void
UserSettings. load(DataRecord data, RecordTemplate template)
Fill the given data record with user information -
Uses of DataRecord in org.silverpeas.core.workflow.engine.datarecord
Classes in org.silverpeas.core.workflow.engine.datarecord that implement DataRecord Modifier and Type Class Description class
AbstractProcessInstanceDataRecord
class
LazyProcessInstanceDataRecord
A ProcessInstanceDataRecord groups in a single DataRecord all the data items of a ProcessInstance.class
ProcessInstanceDataRecord
A ProcessInstanceDataRecord groups in a single DataRecord all the data items of a ProcessInstance.class
ProcessInstanceRowRecord
ProcessInstanceDataRecordMethods in org.silverpeas.core.workflow.engine.datarecord that return DataRecord Modifier and Type Method Description DataRecord
ProcessInstanceRecordTemplate. getEmptyRecord()
Throws an illegal call exception, since an empty DataRecord can't be built from this template.DataRecord
ProcessInstanceRowTemplate. getEmptyRecord()
Throws an illegal call exception, since an empty DataRecord can't be built from this template.Methods in org.silverpeas.core.workflow.engine.datarecord with parameters of type DataRecord Modifier and Type Method Description boolean
ProcessInstanceRecordTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template.boolean
ProcessInstanceRowTemplate. checkDataRecord(DataRecord record)
Returns true if the data record is built on this template. -
Uses of DataRecord in org.silverpeas.core.workflow.engine.event
Methods in org.silverpeas.core.workflow.engine.event that return DataRecord Modifier and Type Method Description DataRecord
AbstractTaskEvent. getDataRecord()
Returns the data filled when the action was processed.DataRecord
TimeoutEventImpl. getDataRecord()
Returns the data filled when the action was processed.Constructors in org.silverpeas.core.workflow.engine.event with parameters of type DataRecord Constructor Description AbstractTaskEvent(Task resolvedTask, String actionName, DataRecord data)
QuestionEventImpl(Task resolvedTask, String stepId, DataRecord data)
A QuestionEventImpl is built from a resolved task, a choosen target state and a filled form.ResponseEventImpl(Task resolvedTask, String questionId, DataRecord data)
A ResponseEventImpl is built from a resolved task, a choosen target state and a filled form.TaskDoneEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskDoneEventImpl is built from a resolved task, a choosen action and a filled form.TaskSavedEventImpl(Task resolvedTask, String actionName, DataRecord data)
A TaskSavedEvent is built from a resolved task, a choosen action and a filled form. -
Uses of DataRecord in org.silverpeas.core.workflow.engine.instance
Methods in org.silverpeas.core.workflow.engine.instance that return DataRecord Modifier and Type Method Description DataRecord
HistoryStepImpl. getActionRecord()
Get the data associated to this step.DataRecord
ProcessInstanceImpl. getActionRecord(String actionName)
Get the data associated to the given actionDataRecord
ProcessInstanceImpl. getAllDataRecord(String role, String lang)
Returns a data record with all the accessible data in this instance.DataRecord
ProcessInstanceImpl. getFolder()
Returns the folder as a DataRecordDataRecord
ProcessInstanceImpl. getFormRecord(String formName, String role, String lang)
DataRecord
ProcessInstanceImpl. getNewActionRecord(String actionName, String language)
Get a new data record associated to the given actionDataRecord
ProcessInstanceImpl. getRowDataRecord(String role, String lang)
Returns a data record with all the main data in this instance.Methods in org.silverpeas.core.workflow.engine.instance with parameters of type DataRecord Modifier and Type Method Description void
ProcessInstanceImpl. saveActionRecord(HistoryStep step, DataRecord actionData)
Set the form associated to the given actionvoid
HistoryStepImpl. setActionRecord(DataRecord data)
Set the data associated to this step.void
ProcessInstanceImpl. updateFolder(DataRecord actionData)
Updates the folder with the data filled within an action. -
Uses of DataRecord in org.silverpeas.core.workflow.engine.model
Methods in org.silverpeas.core.workflow.engine.model that return DataRecord Modifier and Type Method Description DataRecord
FormImpl. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectDataRecord
ProcessModelImpl. getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
Returns an empty DataRecord which must be filled in order to process the named action.DataRecord
ProcessModelImpl. getNewUserInfosRecord(String roleName, String lang)
Returns an empty DataRecord which must be filled in order to fill the user information Throws a WorkflowException if problem encountered.Methods in org.silverpeas.core.workflow.engine.model with parameters of type DataRecord Modifier and Type Method Description DataRecord
FormImpl. getDefaultRecord(String role, String lang, DataRecord data)
Converts this object in a DataRecord objectDataRecord
ProcessModelImpl. getNewActionRecord(String actionName, String roleName, String lang, DataRecord data)
Returns an empty DataRecord which must be filled in order to process the named action. -
Uses of DataRecord in org.silverpeas.core.workflow.engine.task
Methods in org.silverpeas.core.workflow.engine.task with parameters of type DataRecord Modifier and Type Method Description QuestionEvent
AbstractTaskImpl. buildQuestionEvent(String stepId, DataRecord data)
Builds a QuestionEvent from this Task.ResponseEvent
AbstractTaskImpl. buildResponseEvent(String questionId, DataRecord data)
Builds a ResponseEvent from this Task.TaskDoneEvent
AbstractTaskImpl. buildTaskDoneEvent(String actionName, DataRecord data)
Builds a TaskDoneEvent from this Task.TaskSavedEvent
AbstractTaskImpl. buildTaskSavedEvent(String actionName, DataRecord data)
Builds a TaskSavedEvent from this Task. -
Uses of DataRecord in org.silverpeas.core.workflow.engine.user
Methods in org.silverpeas.core.workflow.engine.user with parameters of type DataRecord Modifier and Type Method Description void
UserSettingsImpl. load(DataRecord data, RecordTemplate template)
Fill the given data record with user informationvoid
DefaultUserSettingsService. update(UserSettings userSettings, DataRecord data, RecordTemplate template)
void
UserSettingsService. update(UserSettings userSettings, DataRecord data, RecordTemplate template)
-
Uses of DataRecord in org.silverpeas.web.pdc.control
Methods in org.silverpeas.web.pdc.control that return DataRecord Modifier and Type Method Description DataRecord
PdcSearchSessionController. getXmlData()
Methods in org.silverpeas.web.pdc.control with parameters of type DataRecord Modifier and Type Method Description void
PdcSearchSessionController. setXmlData(DataRecord xmlData)
-