Class MAchievement

    • Constructor Detail

      • MAchievement

        public MAchievement​(Properties ctx,
                            int PA_Achievement_ID,
                            String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        PA_Achievement_ID - id
        trxName - trx
      • MAchievement

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

      • get

        public static MAchievement[] get​(MMeasure measure)
        Get achieved Achievements Of Measure
        Parameters:
        measure - Measure
        Returns:
        array of Achievements
      • getOfMeasure

        public static MAchievement[] getOfMeasure​(Properties ctx,
                                                  int PA_Measure_ID)
        Get achieved Achievements Of Measure
        Parameters:
        ctx - context
        PA_Measure_ID - measure id
        Returns:
        array of Achievements
      • beforeSave

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

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

        protected boolean afterDelete​(boolean success)
        After Delete
        Overrides:
        afterDelete in class PO
        Parameters:
        success - success
        Returns:
        success