Class AMSearchFilterManager


  • public class AMSearchFilterManager
    extends Object
    Deprecated.
    As of Sun Java System Access Manager 7.1.
    A Class which manages the search filters correponding to each of the AMObject types. It obtains the search filters from the Search Templates created under a Organization where the AMObject resides. If a search template is not defined under an Orgnization, it obtains the default values defined at the Global level After obtaining the search filter for a particular AMObject, it is cached. NOTE: This Cache does not recieve notifications right now. Hence, once the information is cached, the values will not change until a server restart. Also, any new Search Templates added will not take affect, if the Cache already has store global default values corresponding to that AMObject type.
    • Field Detail

      • searchtemplateMap

        public static Map searchtemplateMap
        Deprecated.
    • Constructor Detail

      • AMSearchFilterManager

        public AMSearchFilterManager()
        Deprecated.
    • Method Detail

      • getSearchFilter

        public static String getSearchFilter​(int objectType,
                                             String orgDN,
                                             String searchTemplateName,
                                             boolean ignoreComplianceFilter)
        Deprecated.
        Method to get search filter for the specified object type defined at the specified Organization. If a search template corresponding to the AMObject, is not found at the specified Organization, then one defined at global one will be returned.
        Parameters:
        objectType - type of AMObject
        orgDN - the DN of the organization where the AMObject resides.
        searchTemplateName - name of the search template to be used. If this is null, then default search templates are used.
        ignoreComplianceFilter - if true then modify the compliance related search filters will not be applied. If false, compliance related filters will be applied.
        Returns:
        a search filter String in lower case.
      • getSearchFilter

        public static String getSearchFilter​(int objectType,
                                             String orgDN)
        Deprecated.
        Method to get the search filter for the object type defined at the specified Organization. If a search template corresponding to the AMObject, is not found at the specified Organization, a global filter will be returned.
        Parameters:
        objectType - type of AMObject
        orgDN - the Organization DN String
        Returns:
        the search filter String in lower case
      • getGlobalSearchFilter

        public static String getGlobalSearchFilter​(int objectType)
        Deprecated.
        Method to get the search filter from the Global default search templates.
        Parameters:
        objectType - type of AMObject
        Returns:
        the search filter String in lower case
      • getGlobalSearchFilter

        public static String getGlobalSearchFilter​(int objectType,
                                                   String searchTemplateName)
        Deprecated.
        Method to get the search filter from a specified Global search template.
        Parameters:
        objectType - type of AMObject
        searchTemplateName - the name of the search template to use
        Returns:
        the search filter String in lower case