question: public Set searchGroups ( String wildcard , int level , String groupSearchTemplate , Map avPairs ) throws AMException , SSOException { String filter ; if ( groupSearchTemplate != null && groupSearchTemplate . length ( ) > 0 ) { filter = getSearchFilter ( AMObject . GROUP , groupSearchTemplate ) ; } else { filter = "(|" + getSearchFilter ( AMObject . GROUP ) + getSearchFilter ( AMObject . DYNAMIC_GROUP ) + getSearchFilter ( AMObject . ASSIGNABLE_DYNAMIC_GROUP ) + ")" ; } return searchObjects ( AMNamingAttrManager . getNamingAttr ( GROUP ) , filter , wildcard , avPairs , level ) ; }
target:  Searches for groups in this group container using wildcards. Wildcards can be specified such as a*, *, *a. Uses the groupSearchTemplate, if provided. Otherwise the default search template is used.