Class MPOSTerminal

    • Constructor Detail

      • MPOSTerminal

        public MPOSTerminal​(Properties ctx,
                            ResultSet rs,
                            String trxName)
        Parameters:
        ctx - Context
        rs - Result Set
        trxName - Transaction
      • MPOSTerminal

        public MPOSTerminal​(Properties ctx,
                            int U_POSTerminal_ID,
                            String trxName)
        Parameters:
        ctx -
        U_POSTerminal_ID -
        trxName -
      • MPOSTerminal

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

      • get

        public static MPOSTerminal get​(int U_POSTerminal_ID)
        Parameters:
        U_POSTerminal_ID - Terminal ID
        Returns:
        Terminal
      • get

        public static MPOSTerminal get​(Properties ctx,
                                       int U_POSTerminal_ID)
        Parameters:
        ctx - Context
        U_POSTerminal_ID - Terminal ID
        Returns:
        Terminal
      • loadComplete

        protected void loadComplete​(boolean success)
        Description copied from class: PO
        Load is complete
        Overrides:
        loadComplete in class PO
        Parameters:
        success - success To be extended by sub-classes
      • checkLock

        public static void checkLock​(MPOSTerminal terminal)
      • beforeSave

        protected boolean beforeSave​(boolean newRecord)
        Description copied from class: PO
        Called before Save for Pre-Save Operation
        Overrides:
        beforeSave in class PO
        Parameters:
        newRecord - new record
        Returns:
        true if record can be saved
        See Also:
        PO.beforeSave(boolean)