psdi.dm.changetracking

Class DMEventListenerMgr

  • java.lang.Object
    • psdi.dm.changetracking.DMEventListenerMgr
    • Constructor Detail

      • DMEventListenerMgr

        public DMEventListenerMgr()
    • 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:
      • getActiveEventListeners

        public java.util.Map getActiveEventListeners()
      • getRegisteredMbosForPackage

        public java.util.List getRegisteredMbosForPackage(java.lang.String pkgDefName,
                                                          java.lang.String source)
                                                   throws java.lang.Exception
        Returns mbos for a package
        Parameters:
        pkgDefName -
        source -
        Returns:
        List of mbos
        Throws:
        java.lang.Exception
      • getPersonsForPackage

        public java.util.List getPersonsForPackage(java.lang.String pkgDefName,
                                                   java.lang.String source)
                                            throws java.lang.Exception
        Returns persons for a package
        Parameters:
        pkgDefName -
        source -
        Returns:
        List of mbos
        Throws:
        java.lang.Exception
      • unregisterEventListenerForPackage

        public void unregisterEventListenerForPackage(java.lang.String pkgDefName,
                                                      java.lang.String source,
                                                      boolean remove)
                                               throws MXException
        Unregister the event listener for a package.
        Parameters:
        pkgDefName - Name of package to be unregistered.
        Throws:
        MXException
      • unregisterAllEventListeners

        public void unregisterAllEventListeners()
                                         throws MXException
        Unregister all event listeners
        Throws:
        MXException
      • registerListnersForMbosInPkg

        public void registerListnersForMbosInPkg(java.lang.String pkgDefName,
                                                 java.lang.String source)
                                          throws MXException
        Register the event listener for associated mbos of a mos.
        Parameters:
        pkgDefName -
        source -
        Throws:
        MXException
      • registerListenersForPackage

        public void registerListenersForPackage(MboRemote pkgDef)
                                         throws MXException
        Get all m
        Parameters:
        pkgDefName -
        source -
        Throws:
        MXException
      • loadActiveChangePkgListeners

        public void loadActiveChangePkgListeners()
                                          throws MXException
        Get all packages that are active and type is change and register listeners for these packages
        Throws:
        MXException
      • loadAllGroupsForPkg

        public void loadAllGroupsForPkg(MboRemote pkgDef)
                                 throws MXException,
                                        java.rmi.RemoteException
        Load all groups for a package and store them in the hashmap.
        Parameters:
        pkgDef -
        Throws:
        MXException
        java.rmi.RemoteException
      • loadPersonsForPkg

        public void loadPersonsForPkg(MboRemote pkgDef)
                               throws MXException,
                                      java.rmi.RemoteException
        Load all persons associated with maxrole for a package and store them in the hashmap.
        Parameters:
        pkgDef -
        Throws:
        MXException
        java.rmi.RemoteException
      • loadAllCfgObjsForPkg

        public void loadAllCfgObjsForPkg(java.lang.String pkgDefName,
                                         java.lang.String source,
                                         java.util.List grpV,
                                         UserInfo ui)
                                  throws MXException
        Load all config objects for a package
        Parameters:
        pkgDefName -
        source -
        grpV -
        ui -
        Throws:
        MXException
      • getPkgDefForNameAndSource

        public MboRemote getPkgDefForNameAndSource(java.lang.String pkgDefName,
                                                   java.lang.String source)
                                            throws MXException
        For the gives package name and source, return the package definition
        Parameters:
        pkgDefName -
        source -
        Returns:
        package definition mbo
        Throws:
        MXException