Class RequestUIEntity
- java.lang.Object
-
- org.silverpeas.core.web.util.SelectableUIEntity<C>
-
- org.silverpeas.core.web.util.SimpleContributionUIEntity<FormInstance>
-
- org.silverpeas.components.formsonline.control.RequestUIEntity
-
public class RequestUIEntity extends org.silverpeas.core.web.util.SimpleContributionUIEntity<FormInstance>
- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.silverpeas.core.util.SilverpeasList<RequestUIEntity>
convertList(org.silverpeas.core.util.SilverpeasList<FormInstance> requests, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theContribution
.org.silverpeas.core.admin.user.model.User
getCreator()
Gets the creator with the use of request cache in order to avoid getting again and again data from persistence about same users occurring into several lines.FormInstanceValidation
getHierarchicalValidation()
Gets the hierarchical validation if any, null otherwise.FormInstanceValidation
getIntermediateValidation()
Gets the intermediate validation if any, null otherwise.Date
getValidationDate()
Gets the final validation date.org.silverpeas.core.admin.user.model.User
getValidator()
Gets the final validator with the use of request cache in order to avoid getting again and again data from persistence about same validators occurring into several lines.-
Methods inherited from class org.silverpeas.core.web.util.SimpleContributionUIEntity
convert, convertList, getId
-
-
-
-
Method Detail
-
convertList
public static org.silverpeas.core.util.SilverpeasList<RequestUIEntity> convertList(org.silverpeas.core.util.SilverpeasList<FormInstance> requests, Set<String> selectedIds)
Converts the given data list into aSilverpeasList
of item wrapping theContribution
.- Parameters:
requests
- the list ofFormInstance
.- Returns:
- the
SilverpeasList
ofRequestUIEntity
.
-
getCreator
public org.silverpeas.core.admin.user.model.User getCreator()
Gets the creator with the use of request cache in order to avoid getting again and again data from persistence about same users occurring into several lines.- Returns:
- the creator.
-
getValidator
public org.silverpeas.core.admin.user.model.User getValidator()
Gets the final validator with the use of request cache in order to avoid getting again and again data from persistence about same validators occurring into several lines.- Returns:
- the final validator.
-
getValidationDate
public Date getValidationDate()
Gets the final validation date.- Returns:
- the final validation date.
-
getHierarchicalValidation
public FormInstanceValidation getHierarchicalValidation()
Gets the hierarchical validation if any, null otherwise.- Returns:
- hierarchical validation or null.
-
getIntermediateValidation
public FormInstanceValidation getIntermediateValidation()
Gets the intermediate validation if any, null otherwise.- Returns:
- intermediate validation or null.
-
-