public class MergeRequest extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
private boolean |
deleteEntry
Whether to delete the entry.
|
private String[] |
excludeAttrs
Attribute names to exclude when performing a merge.
|
private String[] |
includeAttrs
Attribute names to include when performing a merge.
|
private LdapEntry |
ldapEntry
Ldap entry to merge.
|
private String[] |
searchAttrs
Attribute names to include in the search.
|
Constructor and Description |
---|
MergeRequest()
Default constructor.
|
MergeRequest(LdapEntry entry)
Creates a new merge request.
|
MergeRequest(LdapEntry entry,
boolean delete)
Creates a new merge request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDeleteEntry()
Returns whether to delete the entry.
|
LdapEntry |
getEntry()
Returns the ldap entry to merge.
|
String[] |
getExcludeAttributes()
Returns the names of attributes that are excluded when performing a modify.
|
String[] |
getIncludeAttributes()
Returns the names of attributes that are included when performing a modify.
|
String[] |
getSearchAttributes()
Returns the names of attributes that are used when searching for the entry.
|
void |
setDeleteEntry(boolean b)
Sets whether to delete the entry.
|
void |
setEntry(LdapEntry entry)
Sets the ldap entry to merge into the LDAP.
|
void |
setExcludeAttributes(String... attrs)
Sets the list of attribute names to exclude when performing a modify.
|
void |
setIncludeAttributes(String... attrs)
Sets the list of attribute names to include when performing modify.
|
void |
setSearchAttributes(String... attrs)
Sets the list of attribute names that are used when searching for the entry.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandler
private LdapEntry ldapEntry
private boolean deleteEntry
private String[] searchAttrs
private String[] includeAttrs
private String[] excludeAttrs
public MergeRequest()
public MergeRequest(LdapEntry entry)
entry
- to merge into the LDAPpublic MergeRequest(LdapEntry entry, boolean delete)
entry
- to merge into the LDAPdelete
- whether the supplied entry should be deletedpublic LdapEntry getEntry()
public void setEntry(LdapEntry entry)
entry
- to mergepublic boolean getDeleteEntry()
public void setDeleteEntry(boolean b)
b
- whether to delete the entrypublic String[] getSearchAttributes()
public void setSearchAttributes(String... attrs)
attrs
- names to return when searchingpublic String[] getIncludeAttributes()
public void setIncludeAttributes(String... attrs)
attrs
- names to includepublic String[] getExcludeAttributes()
public void setExcludeAttributes(String... attrs)
attrs
- names to excludeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.