Class RequestUIEntity
java.lang.Object
org.silverpeas.core.web.util.SelectableUIEntity<FormInstance>
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
Modifier and TypeMethodDescriptionstatic org.silverpeas.core.util.SilverpeasList<RequestUIEntity> convertList(org.silverpeas.core.util.SilverpeasList<FormInstance> requests, Set<String> selectedIds) Converts the given data list into aSilverpeasListof item wrapping theContribution.org.silverpeas.core.admin.user.model.UserGets 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.Gets the hierarchical validation if any, null otherwise.Gets the intermediate validation if any, null otherwise.Gets the final validation date.org.silverpeas.core.admin.user.model.UserGets 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, getIdMethods inherited from class org.silverpeas.core.web.util.SelectableUIEntity
convert, getData, getUserByIdFromCache, isSelected, setSelected
-
Method Details
-
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 aSilverpeasListof item wrapping theContribution.- Parameters:
requests- the list ofFormInstance.- Returns:
- the
SilverpeasListofRequestUIEntity.
-
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
Gets the final validation date.- Returns:
- the final validation date.
-
getHierarchicalValidation
Gets the hierarchical validation if any, null otherwise.- Returns:
- hierarchical validation or null.
-
getIntermediateValidation
Gets the intermediate validation if any, null otherwise.- Returns:
- intermediate validation or null.
-