Class TypeProperties


  • public class TypeProperties
    extends java.lang.Object
    Process type properties.
    • Constructor Detail

      • TypeProperties

        public TypeProperties()
      • TypeProperties

        public TypeProperties​(java.lang.String data,
                              java.lang.String config,
                              LastModify lastModify)
    • Method Detail

      • getGroups

        public java.util.Set<ProcessGroup> getGroups()
      • getGroups

        public java.util.Set<ProcessGroup> getGroups​(int roleId)
      • getGroupsSet

        public java.util.Set<java.lang.Integer> getGroupsSet()
      • getGroupsSet

        public java.util.Set<java.lang.Integer> getGroupsSet​(int roleId)
      • setGroups

        public void setGroups​(java.util.Set<ProcessGroup> groups)
      • getAllowedGroupsSet

        public java.util.Set<java.lang.Integer> getAllowedGroupsSet()
      • getAllowedGroupsSet

        public java.util.Set<java.lang.Integer> getAllowedGroupsSet​(int roleId)
      • serializeToData

        public java.lang.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()
      • getExecutor

        @Deprecated
        public java.lang.String getExecutor()
        Deprecated.
      • getAllowedStatusSet

        public java.util.Set<java.lang.Integer> getAllowedStatusSet​(int fromStatus)
      • getStatusIds

        public java.util.List<java.lang.Integer> getStatusIds()
      • setStatusIds

        public void setStatusIds​(java.util.List<java.lang.Integer> statusIds)
      • getParameterIds

        public java.util.List<java.lang.Integer> getParameterIds()
      • setParameterIds

        public void setParameterIds​(java.util.List<java.lang.Integer> parameterIds)
      • getCreateStatus

        public int getCreateStatus()
      • setCreateStatus

        public void setCreateStatus​(int createStatus)
      • getCloseStatusIds

        public java.util.Set<java.lang.Integer> getCloseStatusIds()
      • setCloseStatusIds

        public void setCloseStatusIds​(java.util.Set<java.lang.Integer> closeStatusIds)
      • getScriptName

        public java.lang.String getScriptName()
      • getActualScriptName

        @Deprecated
        public java.lang.String getActualScriptName()
        Deprecated.
      • setScriptName

        public void setScriptName​(java.lang.String scriptName)
      • getAllowedGroups

        public java.util.Set<ProcessGroup> getAllowedGroups()
      • getAllowedGroups

        public java.util.Set<ProcessGroup> getAllowedGroups​(int roleId)
      • setAllowedGroups

        public void setAllowedGroups​(java.util.Set<ProcessGroup> allowedGroups)
      • getConfig

        public java.lang.String getConfig()
      • setConfig

        public void setConfig​(java.lang.String config)
      • setConfigMap

        public void setConfigMap​(ParameterMap configMap)
      • getLastModify

        public LastModify getLastModify()
      • setLastModify

        public void setLastModify​(LastModify lastModify)
      • getCreateWizard

        public Wizard getCreateWizard()
      • getAllowedRoleSet

        public java.util.Set<java.lang.Integer> getAllowedRoleSet()