|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ldap.clients.Opts
org.apache.ldap.clients.BindOpts
org.apache.ldap.clients.SearchOpts
public class SearchOpts
Delete operation command line options bean.
| Field Summary |
|---|
| Fields inherited from class org.apache.ldap.clients.BindOpts |
|---|
bindDn, DEFAULT_HOST, DEFAULT_MAX_ENTRIES, DEFAULT_MAX_TIME, DEFAULT_PORT, host, isDryRun, isVerbose, isVersion3, options, password, port |
| Fields inherited from class org.apache.ldap.clients.Opts |
|---|
BASEDN_OPT, baseDnOption, BINDDN_OPT, bindDnOption, FILE_OPT, fileOption, HOST_OPT, hostOption, MAX_ENTRIES_OPT, MAX_TIME_OPT, maxEntriesOption, maxTimeOption, NOTHING_OPT, nothingOption, PASSWORD_OPT, passwordOption, PORT_OPT, portOption, PROTOCOL_OPT, protocolOption, QUIET_OPT, quietOption, SCOPE_OPT, scopeOption, TYPES_OPT, typesOption, VERBOSE_OPT, verboseOption |
| Constructor Summary | |
|---|---|
SearchOpts()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBase()
Get the base DN to start the search from |
java.lang.String |
getFilter()
Get the search filter in a string format |
int |
getMaxEntries()
|
int |
getMaxTime()
|
ScopeEnum |
getScope()
Get the Scope for the search |
boolean |
isQuietMode()
|
boolean |
isTypesMode()
|
void |
process(java.lang.String[] argv)
Overrides BindOpts.process to be able to get the deleted entry's Dn. |
void |
setBase(java.lang.String base)
Set the base DN to start the search from |
void |
setFilter(java.lang.String filter)
Set the search filter |
void |
setMaxEntries(int maxEntries)
Set the maximum of entries to retrieve |
void |
setMaxTime(int maxTime)
Set the maximum of entries to retrieve |
void |
setQuietMode(boolean quietMode)
|
void |
setScope(ScopeEnum scope)
Set the Scope for the search |
void |
setTypesMode(boolean typesMode)
|
| Methods inherited from class org.apache.ldap.clients.BindOpts |
|---|
getBindDn, getHost, getOptions, getPassword, getPort, isDryRun, isVerbose, isVersion3, setBindDn, setHost, setIsDryRun, setIsVerbose, setIsVersion3, setPassword, setPort |
| Methods inherited from class org.apache.ldap.clients.Opts |
|---|
getParser, isProcessed, setProcessed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchOpts()
| Method Detail |
|---|
public java.lang.String getBase()
public java.lang.String getFilter()
public int getMaxTime()
public boolean isQuietMode()
public boolean isTypesMode()
public ScopeEnum getScope()
public int getMaxEntries()
public void setBase(java.lang.String base)
base - DN to start the search frompublic void setFilter(java.lang.String filter)
filter - Search Filterpublic void setQuietMode(boolean quietMode)
a_b - public void setTypesMode(boolean typesMode)
- public void setScope(ScopeEnum scope)
scope - Search Scope:
BASEOBJECT - only the base DN
SINGLELEVEL - only the current subtree level
WHOLESUBTREE - the entire treepublic void setMaxEntries(int maxEntries)
maxEntries - public void setMaxTime(int maxTime)
maxTime -
public void process(java.lang.String[] argv)
throws ParseException
process in class BindOptsargv - the variable argument list from the command line.
ParseException - if any of the command line option is incorrect
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||