com.ibm.tivoli.maximo.map

Class MapTipTemplateData

  • java.lang.Object
    • com.ibm.tivoli.maximo.map.MapTipTemplateData


  • public class MapTipTemplateData
    extends java.lang.Object
    This class is used to cache the maptip template Instances of this class will be store in a HashMap in MapTipUtils
    • Constructor Summary

      Constructors 
      Constructor and Description
      MapTipTemplateData(MapTipRemote maptip, UserInfo userInfo)
      Creates an instance of MapTipTemplateData filling all attributes from the mbo data
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getTemplate(java.lang.String templateField)
      Retrieves the desired template (maptip, summary or mouseover)
      boolean hasAccess()
      Checks whether or not the current user has access to this maptip template
      void setMapTipData(MapTipRemote maptip, UserInfo userInfo)
      Fills all attributes from the mbo data
      • Methods inherited from class java.lang.Object

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

      • MapTipTemplateData

        public MapTipTemplateData(MapTipRemote maptip,
                                  UserInfo userInfo)
                           throws java.rmi.RemoteException,
                                  MXException
        Creates an instance of MapTipTemplateData filling all attributes from the mbo data
        Parameters:
        maptip -
        userInfo -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • setMapTipData

        public void setMapTipData(MapTipRemote maptip,
                                  UserInfo userInfo)
                           throws java.rmi.RemoteException,
                                  MXException
        Fills all attributes from the mbo data
        Parameters:
        maptip -
        userInfo -
        Throws:
        MXException
        java.rmi.RemoteException
      • hasAccess

        public boolean hasAccess()
        Checks whether or not the current user has access to this maptip template
        Returns:
        boolean
      • getTemplate

        public java.lang.String getTemplate(java.lang.String templateField)
        Retrieves the desired template (maptip, summary or mouseover)
        Parameters:
        templateField - possible values for this string: MAPTIPTEMPLATE, MAPTIPSUMMARYTEMPLATE, MOUSEOVERTEMPLATE
        Returns:
        String