Class MStatusCategory

    • Constructor Detail

      • MStatusCategory

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

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

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

      • getDefault

        public static MStatusCategory getDefault​(Properties ctx)
        Get Default Status Categpru for Client
        Parameters:
        ctx - context
        Returns:
        status category or null
      • createDefault

        public static MStatusCategory createDefault​(Properties ctx)
        Get Default Status Categpru for Client
        Parameters:
        ctx - context
        Returns:
        status category or null
      • get

        public static MStatusCategory get​(int R_StatusCategory_ID)
        Get Request Status Category from Cache (immutable)
        Parameters:
        R_StatusCategory_ID - id
        Returns:
        RStatusCategory
      • get

        public static MStatusCategory get​(Properties ctx,
                                          int R_StatusCategory_ID)
        Get Request Status Category from Cache (immutable)
        Parameters:
        ctx - context
        R_StatusCategory_ID - id
        Returns:
        RStatusCategory
      • getStatus

        public MStatus[] getStatus​(boolean reload)
        Get all Status
        Parameters:
        reload - reload
        Returns:
        Status array
      • getDefaultR_Status_ID

        public int getDefaultR_Status_ID()
        Get Default R_Status_ID
        Returns:
        id or 0