psdi.app.appsetup

Class PresentationCache

  • java.lang.Object
    • psdi.app.appsetup.PresentationCache
  • All Implemented Interfaces:
    MaximoCache, FixedLoggerNames, FixedLoggers


    public class PresentationCache
    extends java.lang.Object
    implements MaximoCache, FixedLoggers
    This cache is used by the UI framework to determine if the presentations loaded in momory needed to be reloead nas a result of imported presentation
    • Constructor Detail

      • PresentationCache

        public PresentationCache()
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: MaximoCache
        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:
      • reload

        public void reload()
                    throws MXException
        Description copied from interface: MaximoCache
        Reloads the cache object. This will be called by the app server whenever the cache needs to be refreshed. Don't call this method directly. Instead call MXServer.reloadCache(String, boolean).
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException
      • reload

        public void reload(java.lang.String key)
                    throws MXException
        Description copied from interface: MaximoCache
        Initialize a specific component of the cache identified by the key. E.g. In Maxvars, a specific maxvar can be reinitiliazed from the database. Don't call this method directly. Instead call MXServer.reloadCache(String, String, boolean).
        Specified by:
        reload in interface MaximoCache
        Throws:
        MXException
      • presentationsInvalid

        public boolean presentationsInvalid()
      • reset

        public void reset()
      • repLibraryInvalid

        public boolean repLibraryInvalid()
      • setUISessionCount

        public void setUISessionCount(int count)
      • getUISessionCount

        public int getUISessionCount()
      • getDomainLastUpdate

        public java.lang.String getDomainLastUpdate(java.lang.String domainId)