com.ibm.tivoli.maximo.map.data

Class GpsDataCollectorComponent

    • Constructor Detail

      • GpsDataCollectorComponent

        public GpsDataCollectorComponent()
    • Method Detail

      • getIsLBSEnabled

        public java.lang.Boolean getIsLBSEnabled()
      • getLBSInterval

        public java.lang.Integer getLBSInterval()
      • loadLaborLBS

        public int loadLaborLBS()
                         throws java.rmi.RemoteException,
                                MXException
        Every time a user geo location is collected this information is stored in the LBSLOCATION table, creating or updating one record for its labor, and another record for its crew if the labor has a crew. The labor entry user "LABOR" as REFOBJECT value and the labor internal ID as REFOBJECTID. If the labor is part of a crew then an additional update in made the LBSLOCATION record related to the crew record, using "AMCREW" as the REFOBJECT value. This update for the crew record in LBSLOCATION table only happens if the checkbox AMCREW.LBSLABORBASED is set to true.
        Returns:
        EVENT_HANDLED
        Throws:
        java.rmi.RemoteException
        MXException
      • logLBSCollectionPermissionDenied

        public int logLBSCollectionPermissionDenied()
                                             throws java.rmi.RemoteException,
                                                    MXException
        Prints a log message saying that LBS location data could not be retrieved. Error: PERMISSION DENIED.
        Throws:
        java.rmi.RemoteException
        MXException
      • logLBSCollectionNotSupported

        public int logLBSCollectionNotSupported()
                                         throws java.rmi.RemoteException,
                                                MXException
        Prints a log message saying that LBS location data could not be retrieved. Error: NOT SUPPORTED.
        Throws:
        java.rmi.RemoteException
        MXException
      • getLaborCode

        public java.lang.String getLaborCode()
                                      throws java.rmi.RemoteException,
                                             MXException
        Retrieves the labor code
        Throws:
        java.rmi.RemoteException
        MXException
      • getUpdateEveryplaceTimeout

        public java.lang.Boolean getUpdateEveryplaceTimeout()
        Get the system property value which controls whether to keep the session running as updates are being sent to LOCATIONLBS table even though there is no activity happening on the UI. This also prevents the session timeout warning dialog from popping up all the time. This will only be done if the system property mxe.map.everyplacetimeout is set to true.
        Returns:
        true - the default
        Throws:
        java.rmi.RemoteException
        MXException