Class MRoleOrgAccess

    • Constructor Detail

      • MRoleOrgAccess

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

        public MRoleOrgAccess​(Properties ctx,
                              int ignored,
                              String trxName)
        Persistency Constructor
        Parameters:
        ctx - context
        ignored - ignored
        trxName - transaction
      • MRoleOrgAccess

        public MRoleOrgAccess​(MOrg org,
                              int AD_Role_ID)
        Organization Constructor
        Parameters:
        org - org
        AD_Role_ID - role
      • MRoleOrgAccess

        public MRoleOrgAccess​(MRole role,
                              int AD_Org_ID)
        Role Constructor
        Parameters:
        role - role
        AD_Org_ID - org
    • Method Detail

      • getOfRole

        public static MRoleOrgAccess[] getOfRole​(Properties ctx,
                                                 int AD_Role_ID)
        Get Organizational Access of Role
        Parameters:
        ctx - context
        AD_Role_ID - role
        Returns:
        array of Role Org Access
      • getOfClient

        public static MRoleOrgAccess[] getOfClient​(Properties ctx,
                                                   int AD_Client_ID)
        Get Organizational Access of Client
        Parameters:
        ctx - context
        AD_Client_ID - client
        Returns:
        array of Role Org Access
      • getOfOrg

        public static MRoleOrgAccess[] getOfOrg​(Properties ctx,
                                                int AD_Org_ID)
        Get Organizational Access of Org
        Parameters:
        ctx - context
        AD_Org_ID - role
        Returns:
        array of Role Org Access
      • createForOrg

        public static boolean createForOrg​(MOrg org)
        Create Organizational Access for all Automatic Roles
        Parameters:
        org - org
        Returns:
        true if created
      • toStringX

        public String toStringX​(Properties ctx)
        Extended String Representation
        Parameters:
        ctx - context
        Returns:
        extended info
      • getClientName

        public String getClientName()
        Get Client Name
        Returns:
        name
      • getOrgName

        public String getOrgName()
        Get Client Name
        Returns:
        name