Class MStatus

    • Constructor Detail

      • MStatus

        public MStatus​(Properties ctx,
                       int R_Status_ID,
                       String trxName)
        Default Constructor
        Parameters:
        ctx - context
        R_Status_ID - is
        trxName - trx
      • MStatus

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

        public MStatus​(MStatus copy)
        Parameters:
        copy -
      • MStatus

        public MStatus​(Properties ctx,
                       MStatus copy)
        Parameters:
        ctx -
        copy -
    • Method Detail

      • get

        public static MStatus get​(int R_Status_ID)
        Get Request Status (cached) (immutable)
        Parameters:
        R_Status_ID - id
        Returns:
        Request Status or null
      • get

        public static MStatus get​(Properties ctx,
                                  int R_Status_ID)
        Get Request Status (cached) (immutable)
        Parameters:
        ctx - context
        R_Status_ID - id
        Returns:
        Request Status or null
      • getCopy

        public static MStatus getCopy​(Properties ctx,
                                      int R_Status_ID,
                                      String trxName)
        Get updateable copy of MStatus from cache
        Parameters:
        ctx -
        R_Status_ID -
        trxName -
        Returns:
        MStatus
      • getDefault

        public static MStatus getDefault​(Properties ctx,
                                         int R_RequestType_ID)
        Get Default Request Status
        Parameters:
        ctx - context
        R_RequestType_ID - request type
        Returns:
        Request Type
      • getClosed

        public static MStatus[] getClosed​(Properties ctx)
        Get Closed Status
        Parameters:
        ctx - context
        Returns:
        Request Type
      • beforeSave

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