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 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 a SilverpeasList of item wrapping the Contribution.
    org.silverpeas.core.admin.user.model.User
    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.
    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.User
    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

    Methods inherited from class org.silverpeas.core.web.util.SelectableUIEntity

    convert, getData, getUserByIdFromCache, isSelected, setSelected

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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.