Class ProcessCreateType

All Implemented Interfaces:
Id<Integer>, IdTitle<Integer>, Title, TreeItem<Integer,ProcessCreateType>

public class ProcessCreateType extends TreeItem<Integer,ProcessCreateType>
Process creation type
  • Constructor Details

  • Method Details

    • treeRoot

      public static ProcessCreateType treeRoot(DynActionForm form, String area, Set<Integer> ids)
      Recursive copy of tree of process types, allowed for creation, filtered by 'create.in' configuration and process isolation
      Parameters:
      form - current request form user and permission
      area - creation area
      ids - optional additional restricting process IDs
      Returns:
    • getType

      public ProcessType getType()
    • getSelectedClass

      public String getSelectedClass()
      Returns:
      treeItemSelected if the item or any of children is selected
    • check

      public boolean check()
    • getCopyParams

      public String getCopyParams()
    • openCreated

      public boolean openCreated()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isRootNode

      protected boolean isRootNode()
      Specified by:
      isRootNode in class TreeItem<Integer,ProcessCreateType>