com.ibm.tivoli.maximo.map.dispatcher

Class MapDispatcherControl

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class MapDispatcherControl
    extends DatasrcInstance
    • Constructor Detail

      • MapDispatcherControl

        public MapDispatcherControl()
    • Method Detail

      • DELETEASSIGN

        public int DELETEASSIGN()
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • CREATEASSIGN

        public int CREATEASSIGN()
                         throws MXException,
                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • APPLETCMD

        @Deprecated
        public int APPLETCMD()
                                  throws MXException,
                                         java.rmi.RemoteException
        Deprecated. 
        Throws:
        MXException
        java.rmi.RemoteException
      • secondsToDuration

        public static java.lang.Double secondsToDuration(long seconds)
      • SHOWMULTIPLEROUTEERRORS

        public int SHOWMULTIPLEROUTEERRORS()
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • SAVEBULKTRAVELTIME

        public int SAVEBULKTRAVELTIME()
                               throws MXException,
                                      java.rmi.RemoteException
        Save several assignments travel times at once;
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • SAVETRAVELTIME

        public int SAVETRAVELTIME()
                           throws MXException,
                                  java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • UPDATEASSIGNMENTS

        public int UPDATEASSIGNMENTS()
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • SPLITASSIGN

        public int SPLITASSIGN()
                        throws MXException,
                               java.rmi.RemoteException
        Called from javascript. Expects JSONObject that contains parameters of ASSIGNID and NUMSPLIT. This method will take an assignment based on the ASSIGNID and split it based on the NUMSPLIT. The new assignments will be as even as possible but might vary by as the assignments need it to make sure the assignments labor hours do not get out of balance.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • TRIGGERMSGS

        public int TRIGGERMSGS()
                        throws MXException,
                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • SPLITSHIFT

        public int SPLITSHIFT()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • TOGGLELOCK

        public int TOGGLELOCK()
                       throws MXException,
                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • refreshresource

        public int refreshresource()
                            throws MXException,
                                   java.rmi.RemoteException
        event that gets the refresh resource type and key that is to be used the next time the applet is refreshed This is meant to be used from within the UI frameworks (from a sendEvent action) to trigger a refresh event from the applet, as opposed to being a directly called function from the applet.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • getCallBackInfo

        public com.ibm.json.java.JSONObject getCallBackInfo()
        Return the callback information, will be null if there is nothing to refresh.
        Returns:
      • clearCallbackInfo

        public void clearCallbackInfo()
        Clears out the refresh values, should always be called after the values are passed to the applet
      • DOREFRESHRESOURCE

        public int DOREFRESHRESOURCE()
                              throws MXException,
                                     java.rmi.RemoteException
        handler for the right-click Refresh Resource action on the table. It simple returns the refresh information for a single row.
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException