Package org.bgerp.model.process
Class ProcessCreateType
java.lang.Object
org.bgerp.model.base.tree.TreeItem<Integer,ProcessCreateType>
org.bgerp.model.process.ProcessCreateType
- All Implemented Interfaces:
Id<Integer>,IdTitle<Integer>,Title,TreeItem<Integer,ProcessCreateType>
Process creation type
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck()getType()protected booleanbooleantoString()static ProcessCreateTypetreeRoot(DynActionForm form, String area, Set<Integer> ids) Recursive copy of tree of process types, allowed for creation, filtered by 'create.in' configuration and process isolationMethods inherited from class org.bgerp.model.base.tree.TreeItem
addChild, getAllChildIds, getById, getChild, getChildCount, getChildIds, getChildren, getIcon, getId, getParentId, getTextStyle, getTitle, isInPathTo, isRootNodeWithIntegerId, setChildren, setId, setParentId, setTitle
-
Constructor Details
-
ProcessCreateType
-
-
Method Details
-
treeRoot
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 permissionarea- creation areaids- optional additional restricting process IDs- Returns:
-
getType
-
getSelectedClass
- Returns:
treeItemSelectedif the item or any of children is selected
-
check
public boolean check() -
getCopyParams
-
openCreated
public boolean openCreated() -
toString
-
isRootNode
protected boolean isRootNode()- Specified by:
isRootNodein classTreeItem<Integer,ProcessCreateType>
-