psdi.app.assetcatalog

Class ClassificationSet

    • Constructor Detail

      • ClassificationSet

        public ClassificationSet(MboServerInterface ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Constructs the set.

        Parameters:
        ms - MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new Classification object.

        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - MboSet the new object will belong to
        Returns:
        Mbo - The new Classification object
        Throws:
        MXException
        java.rmi.RemoteException
      • findTopLevelClassQbe

        public void findTopLevelClassQbe(java.lang.String attribute,
                                         java.lang.String value)
                                  throws MXException,
                                         java.rmi.RemoteException
        Creates a where clause. The where clause looks for classificationId's in the classStructure table. If the attribute parameter is not null it should be included in the where clause.

        Specified by:
        findTopLevelClassQbe in interface ClassificationSetRemote
        Parameters:
        attribute - Which attribute to put into the where clause
        value - The value for the above attribute
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        ClassificationSet.findTopLevelClassQbe(String, String)
      • findTopLevelClass

        public void findTopLevelClass(java.lang.String searchType,
                                      java.lang.String searchString)
                               throws MXException,
                                      java.rmi.RemoteException
        Loops through the current ClassificationSet and resets it to represent all of the top level classifications. This is based upon each classificationid which may be referenced by multiple classstructures at any level (L1 thru L5).

        Specified by:
        findTopLevelClass in interface ClassificationSetRemote
        Parameters:
        searchType - parameter for the stringBySearchType method
        searchString - parameter for the stringBySearchType method
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        ClassificationSet.findTopLevelClass(String, String)