Package ru.bgcrm.model.process
Class TypeProperties
java.lang.Object
ru.bgcrm.model.process.TypeProperties
Process type properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAllowedGroups
(int roleId) getAllowedStatusSet
(int fromStatus) int
getGroups
(int roleId) getTransactionProperties
(int fromStatus, int toStatus) Gets transaction properties.void
setAllowedGroups
(ProcessGroups allowedGroups) void
setCloseStatusIds
(Set<Integer> closeStatusIds) void
void
setConfigMap
(ConfigMap configMap) void
setCreateStatusId
(int createStatus) void
setGroups
(ProcessGroups groups) void
setLastModify
(LastModify lastModify) void
setParameterIds
(List<Integer> parameterIds) void
setStatusIds
(List<Integer> statusIds) void
setTransactionProperties
(int fromStatus, int toStatus, boolean enabled)
-
Constructor Details
-
TypeProperties
public TypeProperties() -
TypeProperties
-
-
Method Details
-
serializeToData
-
getTransactionProperties
Gets transaction properties.- Parameters:
fromStatus
-toStatus
-- Returns:
- true, if transaction is enabled or do not defined.
-
setTransactionProperties
public void setTransactionProperties(int fromStatus, int toStatus, boolean enabled) -
clearTransactionProperties
public void clearTransactionProperties() -
getAllowedStatusSet
-
getStatusIds
-
setStatusIds
-
getParameterIds
-
setParameterIds
-
getCreateStatusId
public int getCreateStatusId() -
setCreateStatusId
public void setCreateStatusId(int createStatus) -
getCloseStatusIds
-
setCloseStatusIds
-
getConfig
-
setConfig
-
getConfigMap
-
setConfigMap
-
getGroups
- Returns:
- initial process groups.
-
getGroups
-
setGroups
-
getAllowedGroups
-
getAllowedGroups
-
setAllowedGroups
-
getLastModify
-
setLastModify
-
getWizard
-