com.ibm.tivoli.maximo.oslc.provider

Class OslcUITextCacheImpl

  • java.lang.Object
    • com.ibm.tivoli.maximo.oslc.provider.OslcUITextCacheImpl
  • All Implemented Interfaces:
    MaximoCache


    public class OslcUITextCacheImpl
    extends java.lang.Object
    implements MaximoCache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getName()
      Returns the name of the cache object.
      java.util.Map getUITextForApp(java.lang.String app, UserInfo userInfo) 
      java.util.Map getUITextForApp(java.lang.String app, UserInfo userInfo, java.lang.String langcode) 
      java.util.Map getUITextForAppProperty(java.lang.String app, java.lang.String property, UserInfo userInfo) 
      java.util.Map getUITextForAppProperty(java.lang.String app, java.lang.String property, UserInfo userInfo, java.lang.String langcode) 
      java.lang.String getUITextForAppPropertyID(java.lang.String app, java.lang.String property, java.lang.String id, UserInfo userInfo) 
      java.lang.String getUITextForAppPropertyID(java.lang.String app, java.lang.String property, java.lang.String id, UserInfo userInfo, java.lang.String langcode) 
      void init()
      Initialize the cache object.
      boolean isSupportedLangCode(java.lang.String langCode) 
      void reload()
      Reloads the cache object.
      void reload(java.lang.String key)
      Initialize a specific component of the cache identified by the key.
      • Methods inherited from class java.lang.Object

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

      • OslcUITextCacheImpl

        public OslcUITextCacheImpl()
    • Method Detail

      • init

        public void init()
                  throws MXException
        Initialize the cache object. This will be called by the app server on startup.
        Specified by:
        init in interface MaximoCache
        Throws:
        MXException
      • reload

        public void reload()
                    throws MXException
        Reloads the cache object. This will be called by the app server whenever the cache needs to be refreshed.
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Initialize a specific component of the cache identified by the key. E.g. In Maxvars, a specific maxvar can be reinitiliazed from the database.
        Specified by:
        reload in interface MaximoCache
        Parameters:
        key -
        Throws:
        MXException
      • getName

        public java.lang.String getName()
        Returns the name of the cache object. Should be unique within the app server. This name is used to uniquely identify the cache object among all cached object for both accessing the cache object as well as refreshing the cache object. Ex. MaximoDD returns "MAXIMODD"
        Specified by:
        getName in interface MaximoCache
        Returns:
        name of the cache
      • getUITextForAppPropertyID

        public java.lang.String getUITextForAppPropertyID(java.lang.String app,
                                                          java.lang.String property,
                                                          java.lang.String id,
                                                          UserInfo userInfo)
                                                   throws MXException,
                                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getUITextForAppPropertyID

        public java.lang.String getUITextForAppPropertyID(java.lang.String app,
                                                          java.lang.String property,
                                                          java.lang.String id,
                                                          UserInfo userInfo,
                                                          java.lang.String langcode)
                                                   throws MXException,
                                                          java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • isSupportedLangCode

        public boolean isSupportedLangCode(java.lang.String langCode)
                                    throws MXException,
                                           java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getUITextForAppProperty

        public java.util.Map getUITextForAppProperty(java.lang.String app,
                                                     java.lang.String property,
                                                     UserInfo userInfo)
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getUITextForAppProperty

        public java.util.Map getUITextForAppProperty(java.lang.String app,
                                                     java.lang.String property,
                                                     UserInfo userInfo,
                                                     java.lang.String langcode)
                                              throws MXException,
                                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getUITextForApp

        public java.util.Map getUITextForApp(java.lang.String app,
                                             UserInfo userInfo)
                                      throws MXException,
                                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getUITextForApp

        public java.util.Map getUITextForApp(java.lang.String app,
                                             UserInfo userInfo,
                                             java.lang.String langcode)
                                      throws MXException,
                                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException