Class MClientShare

    • Constructor Detail

      • MClientShare

        public MClientShare​(Properties ctx,
                            int AD_ClientShare_ID,
                            String trxName)
        Default Constructor
        Parameters:
        ctx - context
        AD_ClientShare_ID - id
        trxName - trx
      • MClientShare

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

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

      • isClientLevelOnly

        public static boolean isClientLevelOnly​(int AD_Client_ID,
                                                int AD_Table_ID)
        Is Table Client Level Only
        Parameters:
        AD_Client_ID - client
        AD_Table_ID - table
        Returns:
        true if client level only (default false)
      • isOrgLevelOnly

        public static boolean isOrgLevelOnly​(int AD_Client_ID,
                                             int AD_Table_ID)
        Is Table Org Level Only
        Parameters:
        AD_Client_ID - client
        AD_Table_ID - table
        Returns:
        true if Org level only (default false)
      • isClientLevelOnly

        public boolean isClientLevelOnly()
        Is Client Level Only
        Returns:
        true if client level only (shared)
      • isOrgLevelOnly

        public boolean isOrgLevelOnly()
        Is Org Level Only
        Returns:
        true if org level only (not shared)
      • getTable

        public MTable getTable()
        Get Table model
        Returns:
        table
      • getTableName

        public String getTableName()
        Get Table Name
        Returns:
        table name
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - new
        success - success
        Returns:
        true
      • setDataToLevel

        public String setDataToLevel()
        Set Data To Level
        Returns:
        info
      • listChildRecords

        public String listChildRecords()
        List Child Tables
        Returns:
        child tables
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Before Save
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new
        Returns:
        true