|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.ldapadapter.appconn.SearchImpl
public class SearchImpl
This class is used to execute the search operation on the LDAP server
Field Summary | |
---|---|
static boolean |
returnObjFlag
|
Constructor Summary | |
---|---|
SearchImpl(LDAPClientApplicationImpl app)
Creates a new instance of Search |
Method Summary | |
---|---|
LDAPSearchControls |
getLDAPSearchControls()
If using an LDAP provider, get the LDAPSearchControls object for the search controls option. |
SearchOptions |
getSearchOptions()
Get the SearchOption object for the search options. |
SearchResults |
getSearchResults()
Get the SearchResults object for the search results. |
void |
performSearch()
Perform a directory search for entries in the directory that match the criteria previously defined. |
void |
removeSearchControls()
Used to clear search controls from context if controls were added for search |
void |
reset()
Method to reset the values |
void |
searchCleanup()
Used to clean up the search results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean returnObjFlag
Constructor Detail |
---|
public SearchImpl(LDAPClientApplicationImpl app)
app
- The LDAP client application associated with this Search
instance.Method Detail |
---|
public LDAPSearchControls getLDAPSearchControls() throws LDAPApplicationException
getLDAPSearchControls
in interface Search
LDAPApplicationException
public SearchOptions getSearchOptions() throws LDAPApplicationException
getSearchOptions
in interface Search
LDAPApplicationException
public SearchResults getSearchResults() throws LDAPApplicationException
getSearchResults
in interface Search
LDAPApplicationException
public void performSearch() throws LDAPApplicationException
performSearch
in interface Search
LDAPApplicationException
- upon errorSearchOptions
public void searchCleanup() throws LDAPApplicationException
searchCleanup
in interface Search
LDAPApplicationException
- if connection to the LDAP server is not available.public void removeSearchControls() throws LDAPApplicationException
removeSearchControls
in interface Search
LDAPApplicationException
- if connection to the LDAP server is not available.public void reset()
reset
in interface Search
|
Sun Adapter for LDAP API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |