Class MWFResponsible

    • Constructor Detail

      • MWFResponsible

        public MWFResponsible​(Properties ctx,
                              int AD_WF_Responsible_ID,
                              String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        AD_WF_Responsible_ID - id
        trxName - transaction
      • MWFResponsible

        public MWFResponsible​(Properties ctx,
                              ResultSet rs,
                              String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - transaction
      • MWFResponsible

        public MWFResponsible​(MWFResponsible copy)
        Parameters:
        copy -
    • Method Detail

      • get

        public static MWFResponsible get​(int AD_WF_Responsible_ID)
        Get WF Responsible from Cache (immutable)
        Parameters:
        AD_WF_Responsible_ID - id
        Returns:
        MWFResponsible
      • get

        public static MWFResponsible get​(Properties ctx,
                                         int AD_WF_Responsible_ID)
        Get WF Responsible from Cache (immutable)
        Parameters:
        ctx - context
        AD_WF_Responsible_ID - id
        Returns:
        MWFResponsible
      • getCopy

        public static MWFResponsible getCopy​(Properties ctx,
                                             int AD_WF_Responsible_ID,
                                             String trxName)
        Get updateable copy of MWFResponsible from cache
        Parameters:
        ctx -
        AD_WF_Responsible_ID -
        trxName -
        Returns:
        MWFResponsible
      • isInvoker

        public boolean isInvoker()
        Invoker - return true if no user and no role
        Returns:
        true if invoker
      • isRole

        public boolean isRole()
        Is Role Responsible
        Returns:
        true if role
      • getRole

        public MRole getRole()
        Is Role Responsible
        Returns:
        true if role
      • isHuman

        public boolean isHuman()
        Is Human Responsible
        Returns:
        true if human
      • isOrganization

        public boolean isOrganization()
        Is Org Responsible
        Returns:
        true if Org
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        tre if can be saved
      • isManual

        public boolean isManual()