com.ibm.tivoli.maximo.notification

Class OSSubscriptionCache

    • Method Detail

      • getInstance

        public static final OSSubscriptionCache getInstance()
        Returns:
        the cache instance
      • getListenersForResource

        public java.util.Map getListenersForResource(java.lang.String osName,
                                                     java.lang.Long objectid)
      • isUserSubscribed

        public boolean isUserSubscribed(java.lang.String osName,
                                        java.lang.Long id,
                                        UserInfo userInfo)
      • 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"
        Returns:
        name of the cache
      • isEmail

        public boolean isEmail(java.lang.String notfType)
                        throws java.rmi.RemoteException,
                               MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isSMS

        public boolean isSMS(java.lang.String notfType)
                      throws java.rmi.RemoteException,
                             MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isPushNotification

        public boolean isPushNotification(java.lang.String notfType)
                                   throws java.rmi.RemoteException,
                                          MXException
        Throws:
        java.rmi.RemoteException
        MXException