Class ProcessCreateLinkConfig
java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.model.process.link.config.ProcessCreateLinkConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class Config
Config.InitStopException -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem(DynActionForm form, Connection con, Process process, int id) Pair of a process creation item and its enabling stategetItemList(DynActionForm form, Connection con, Process process) List of pairs with process creation item on first places and item enable state of secondsMethods inherited from class Config
initWhen, throwValidationException
-
Constructor Details
-
ProcessCreateLinkConfig
-
-
Method Details
-
getItemList
public List<Pair<ProcessCreateLinkItem, Boolean>> getItemList(DynActionForm form, Connection con, Process process) List of pairs with process creation item on first places and item enable state of seconds- Parameters:
form- context formcon- context connectionprocess- context process- Returns:
- list of pairs with process creation item and its enable state
-
getItem
public Pair<ProcessCreateLinkItem, Boolean> getItem(DynActionForm form, Connection con, Process process, int id) Pair of a process creation item and its enabling state- Parameters:
form- context formcon- context connectionprocess- context processid- item ID- Returns:
- pair with process creation item and its enable state, or
nullif not found
-