com.ibm.tivoli.maximo.map

Interface MapDataSourceSetup



  • public interface MapDataSourceSetup
    • Method Detail

      • getRecordsToPlaceOnMap

        java.util.List getRecordsToPlaceOnMap()
                                       throws MXException,
                                              java.rmi.RemoteException
        Returns a list of MboSets that will be placed in the map.
        All MboSets must extend GISable, to be properly set on map.
        When this method is implemented, MapControl won't include the default MboSet set in the databean. To include it, you must also add it in the List to be returned.
        Returns:
        List A list with all records with GIS data to be set on map
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException
      • cleanupRecordsMboSet

        void cleanupRecordsMboSet(java.util.List recordsList)
                           throws MXException,
                                  java.rmi.RemoteException
        Implement this method to cleanup all MboSets in the records list, to free up Maximo cache. If the MboSet is not being used in current application, or it was created only to get records to display on map, it's recommended to at least run MboSet.close() method for each one of them.
        Parameters:
        recordsList - A list with all records with GIS data to be set on map
        Throws:
        MXException, - RemoteException
        MXException
        java.rmi.RemoteException