Class RequestUIEntity


  • public class RequestUIEntity
    extends org.silverpeas.core.web.util.SimpleContributionUIEntity<FormInstance>
    Author:
    silveryocha
    • 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 a SilverpeasList of item wrapping the Contribution.
        Parameters:
        requests - the list of FormInstance.
        Returns:
        the SilverpeasList of RequestUIEntity.
      • 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.