psdi.app.countbook

Class CountBookStatusHandler

    • Constructor Detail

      • CountBookStatusHandler

        public CountBookStatusHandler(StatefulMbo sm)
    • Method Detail

      • canChangeStatus

        public void canChangeStatus(java.lang.String currentStatus,
                                    java.lang.String desiredStatus,
                                    long accessModifier)
                             throws MXException,
                                    java.rmi.RemoteException
        Defines which status changes are legal. If a status change is not legal, an exception is thrown. This method does not check user's security clearance.
        Overrides:
        canChangeStatus in class StatusHandler
        Parameters:
        currentStatus - The count book's current status
        desiredStatus - The status to change the count book to. This is the synonym value.
        Throws:
        MXException - Throws a MXAccessException with a group key of "workorder". The error key will be one of: "unappr", "wappr", "wmatl", "inprg", "comp", "close", "can", "wsch" depending on the desired status parameter.
        java.rmi.RemoteException