psdi.app.common

Class TicketWOUtility

  • java.lang.Object
    • psdi.app.common.TicketWOUtility


  • public class TicketWOUtility
    extends java.lang.Object
    These are common methods used by Ticket and Work Order related objects.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TicketWOUtility() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getInternalTicketClass(Mbo mbo, java.lang.String ticketSynonym)
      Tries to find a ticket maxvalue from the TKClass domain for the synonym given.
      static java.lang.String getInternalWorkOrderClass(Mbo mbo, java.lang.String woSynonym)
      Tries to find a work order maxvalue from the WOClass domain for the synonym given.
      static MboSetRemote getOriginalRecordList(Mbo record)
      Return a list of potential original records given a Ticket or Work Order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TicketWOUtility

        public TicketWOUtility()
    • Method Detail

      • getInternalTicketClass

        public static java.lang.String getInternalTicketClass(Mbo mbo,
                                                              java.lang.String ticketSynonym)
                                                       throws java.rmi.RemoteException
        Tries to find a ticket maxvalue from the TKClass domain for the synonym given.
        Parameters:
        mbo - Used to access Translate object.
        ticketSynonym - The synonym to decode.
        Returns:
        The MaxValue for the synonym or null if not found.
        Throws:
        java.rmi.RemoteException
      • getInternalWorkOrderClass

        public static java.lang.String getInternalWorkOrderClass(Mbo mbo,
                                                                 java.lang.String woSynonym)
                                                          throws java.rmi.RemoteException
        Tries to find a work order maxvalue from the WOClass domain for the synonym given.
        Parameters:
        mbo - Used to access Translate object.
        woSynonym - The synonym to decode.
        Returns:
        The MaxValue for the synonym or null if not found.
        Throws:
        java.rmi.RemoteException
      • getOriginalRecordList

        public static MboSetRemote getOriginalRecordList(Mbo record)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Return a list of potential original records given a Ticket or Work Order. List returned is based on the given Mbo, including the current values of the attribute OrigRecordClass and maybe SiteID.
        Parameters:
        record - The Ticket or WO to generate the list for.
        Returns:
        A list of Work Orders, Tickets, or WorkView.
        Throws:
        MXException
        java.rmi.RemoteException