Package ru.bgcrm.model.process
Class ProcessType
- All Implemented Interfaces:
- Comparable<ProcessType>,- Id<Integer>,- IdTitle<Integer>,- Title,- TreeItem<Integer,- ProcessType> 
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetPath()getSelectedChildIds(Set<Integer> typeSet) Selects process type IDs with filter by other IDs.protected booleanbooleanvoidsetProperties(TypeProperties properties) voidsetUseParentProperties(boolean useParentProperties) Methods inherited from class org.bgerp.model.base.tree.TreeItemaddChild, getAllChildIds, getById, getChild, getChildCount, getChildIds, getChildren, getIcon, getId, getParentId, getTextStyle, getTitle, isInPathTo, isRootNodeWithIntegerId, setChildren, setId, setParentId, setTitle
- 
Constructor Details- 
ProcessTypepublic ProcessType()
- 
ProcessType
 
- 
- 
Method Details- 
getTypeTitle- Returns:
- the type's title, prefixed by the parent's one, if shorter than MIN_TITLE_LENGTH
 
- 
getProperties
- 
setProperties
- 
isUseParentPropertiespublic boolean isUseParentProperties()
- 
setUseParentPropertiespublic void setUseParentProperties(boolean useParentProperties) 
- 
getPath
- 
getSelectedChildIdsSelects 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:
 
- 
compareTo- Specified by:
- compareToin interface- Comparable<ProcessType>
 
- 
isRootNodeprotected boolean isRootNode()- Specified by:
- isRootNodein class- TreeItem<Integer,- ProcessType> 
 
 
-