Package ru.bgcrm.model.process
Class ProcessType
- All Implemented Interfaces:
Comparable<ProcessType>
,Id<Integer>
,IdTitle<Integer>
,Title
,TreeItem<Integer,
ProcessType>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getPath()
getSelectedChildIds
(Set<Integer> typeSet) Selects process type IDs with filter by other IDs.protected boolean
boolean
void
setProperties
(TypeProperties properties) void
setUseParentProperties
(boolean useParentProperties) sub
(Collection<ProcessType> typeList) Recursive copy of the tree with selected nodes with paths nodes to themMethods inherited from class org.bgerp.model.base.tree.TreeItem
addChild, getAllChildIds, getById, getChild, getChildCount, getChildIds, getChildren, getChilds, getIcon, getId, getParentId, getTextStyle, getTitle, isInSet, isRootNodeWithIntegerId, setChildren, setId, setParentId, setTitle
-
Constructor Details
-
ProcessType
public ProcessType() -
ProcessType
-
-
Method Details
-
getProperties
-
setProperties
-
isUseParentProperties
public boolean isUseParentProperties() -
setUseParentProperties
public void setUseParentProperties(boolean useParentProperties) -
getPath
-
getSelectedChildIds
Selects process type IDs with filter by other IDs.- Parameters:
typeSet
- the filter set, if a type ID is there, it has been added together with all its child IDs.- Returns:
-
sub
-
sub
Recursive copy of the tree with selected nodes with paths nodes to them- Parameters:
typeIds
- each node is chosen, when presented in the set or any child is there- Returns:
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ProcessType>
-
isRootNode
protected boolean isRootNode()- Specified by:
isRootNode
in classTreeItem<Integer,
ProcessType>
-