psdi.app.signature.virtual

Class UserProfileHierarchySet

    • Constructor Detail

      • UserProfileHierarchySet

        public UserProfileHierarchySet(MboServerInterface ms)
                                throws java.rmi.RemoteException
        Parameters:
        ms -
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws java.rmi.RemoteException,
                         MXException
        Description copied from class: MboSet
        Programmer can provide any intialization in here. Do not do anything too expensive, as this will slow down the creation of the object. Note that the parent and locale information may not have been set prior to the init() being called. If you wish to do soem processing based on the parent object, override the setOwner() method.
        Overrides:
        init in class MboSet
        Throws:
        java.rmi.RemoteException
        MXException
        See Also:
        MboSet.setOwner(MboRemote)
      • clearProfile

        public void clearProfile(java.lang.String userId)
        This factory clears the ProfileRemote object for a given user.
        Parameters:
        userId -
      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • getChildren

        public MboValueData[][] getChildren(java.lang.String object,
                                            java.lang.String key,
                                            java.lang.String[] attrs,
                                            int maxRows)
                                     throws MXException,
                                            java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Returns zero or more children objects in the hierarchy.
        Specified by:
        getChildren in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getCategoryData

        public MboValueData[][] getCategoryData(java.lang.String object,
                                                long key,
                                                java.lang.String[] attrs)
                                         throws MXException,
                                                java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getParent

        public MboValueData[] getParent(java.lang.String object,
                                        java.lang.String key,
                                        java.lang.String[] attrs)
                                 throws MXException,
                                        java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Returns zero or one parent object for the given object in the hierarchy. This method returns the immediate parent object of the given object.
        Specified by:
        getParent in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        Returns:
        MboValueData[] - contains Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getSiblings

        public MboValueData[][] getSiblings(java.lang.String object,
                                            java.lang.String key,
                                            java.lang.String[] attrs,
                                            int maxRows)
                                     throws MXException,
                                            java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Returns zero or more siblings of the given object in the hierarchy.
        Specified by:
        getSiblings in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAuthorizedStoreRooms

        public MboSetRemote getAuthorizedStoreRooms(long key)
                                             throws MXException,
                                                    java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getAuthorizedApplications

        public MboSetRemote getAuthorizedApplications(long ukey,
                                                      int sysFlag)
                                               throws MXException,
                                                      java.rmi.RemoteException
        Parameters:
        ukey -
        sysFlag - 1=System-level apps only, 2=Non-System-level apps only, 3=All apps (any level)
        Returns:
        set of MaxApps
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        Profile.getApps(int)
      • getAuthGLFields

        public java.util.HashSet getAuthGLFields(long key)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getAuthEntities

        public java.util.Set getAuthEntities()
                                      throws MXException,
                                             java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getAllAuthLabor

        public java.util.HashSet getAllAuthLabor(MboSetRemote laborauthset)
                                          throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • resetMboSetALL

        public void resetMboSetALL(java.lang.String nodelabel)
                            throws MXException,
                                   java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • hasRestrictions

        public boolean hasRestrictions(java.lang.String objectname)
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getLaborForFlag

        public java.util.HashSet getLaborForFlag(java.lang.String flag)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • getPathToTop

        public MboValueData[][] getPathToTop(java.lang.String object,
                                             java.lang.String key,
                                             java.lang.String[] attrs,
                                             int maxRows)
                                      throws MXException,
                                             java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Returns all objects in the path to the top from the current object, i.e. every parent of the object in a sequence.
        Specified by:
        getPathToTop in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getAllHierarchies

        public MboValueData[][] getAllHierarchies(java.lang.String object,
                                                  java.lang.String key,
                                                  java.lang.String[] attrs,
                                                  int maxRows)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Returns all hierarchies for the object, this is mainly used in the case of locations.
        Specified by:
        getAllHierarchies in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        attrs - - list of attributes whose values are requested, the attribute data returned in the attribute list correspond to this list.
        maxRows - - maximum number of rows to return.
        Returns:
        MboValueData[][] - contains an array of Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • getHierarchy

        public MboValueData[] getHierarchy(java.lang.String object,
                                           java.lang.String key)
                                    throws MXException,
                                           java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Return the hierarchy of the given object. This is mainly used in location.
        Specified by:
        getHierarchy in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        Returns:
        MboValueData[] - contains Object name, Object key, hasChildren flag, hasParents flag, list of attributes data from the passed attributes list.
        Throws:
        MXException
        java.rmi.RemoteException
      • setHierarchy

        public void setHierarchy(java.lang.String object,
                                 java.lang.String key,
                                 java.lang.String hierarchy)
                          throws MXException,
                                 java.rmi.RemoteException
        Description copied from interface: HierarchicalMboSetRemote
        Sets the hierarchy of the object. This is mainly used in location.
        Specified by:
        setHierarchy in interface HierarchicalMboSetRemote
        Parameters:
        object - - name of the object whose children are being requested.
        key - - unique id of the object whose children are being fetched.
        hierarchy - - name of the hierarchy.
        Throws:
        MXException
        java.rmi.RemoteException