Class TypeProperties

java.lang.Object
ru.bgcrm.model.process.TypeProperties

public class TypeProperties extends Object
Process type properties.
  • Constructor Details

    • TypeProperties

      public TypeProperties()
    • TypeProperties

      public TypeProperties(String data, String config, LastModify lastModify)
  • Method Details

    • serializeToData

      public String serializeToData()
    • getTransactionProperties

      public TransactionProperties getTransactionProperties(int fromStatus, int toStatus)
      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

      public Set<Integer> getAllowedStatusSet(int fromStatus)
    • getStatusIds

      public List<Integer> getStatusIds()
    • setStatusIds

      public void setStatusIds(List<Integer> statusIds)
    • getParameterIds

      public List<Integer> getParameterIds()
    • setParameterIds

      public void setParameterIds(List<Integer> parameterIds)
    • getCreateStatusId

      public int getCreateStatusId()
    • setCreateStatusId

      public void setCreateStatusId(int createStatus)
    • getCloseStatusIds

      public Set<Integer> getCloseStatusIds()
    • setCloseStatusIds

      public void setCloseStatusIds(Set<Integer> closeStatusIds)
    • getConfig

      public String getConfig()
    • setConfig

      public void setConfig(String config)
    • getConfigMap

      public ConfigMap getConfigMap()
    • setConfigMap

      public void setConfigMap(ConfigMap configMap)
    • getGroups

      public ProcessGroups getGroups()
      Returns:
      initial process groups.
    • getGroups

      public ProcessGroups getGroups(int roleId)
    • setGroups

      public void setGroups(ProcessGroups groups)
    • getAllowedGroups

      public ProcessGroups getAllowedGroups()
    • getAllowedGroups

      public ProcessGroups getAllowedGroups(int roleId)
    • setAllowedGroups

      public void setAllowedGroups(ProcessGroups allowedGroups)
    • getLastModify

      public LastModify getLastModify()
    • setLastModify

      public void setLastModify(LastModify lastModify)
    • getWizard

      public Wizard getWizard()