Class MActivity

    • Constructor Detail

      • MActivity

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

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

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

      • get

        public static MActivity get​(int C_Activity_ID)
        Get/Load Activity [CACHED] (immutable)
        Parameters:
        C_Activity_ID -
        Returns:
        activity or null
      • get

        public static MActivity get​(Properties ctx,
                                    int C_Activity_ID)
        Get/Load Activity [CACHED] (immutable)
        Parameters:
        ctx - context
        C_Activity_ID -
        Returns:
        activity or null
      • afterSave

        protected boolean afterSave​(boolean newRecord,
                                    boolean success)
        After Save. Insert - create tree
        Overrides:
        afterSave in class PO
        Parameters:
        newRecord - insert
        success - save success
        Returns:
        true if saved
      • afterDelete

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