public interface AddOperation extends Operation
LOCALBACKENDOPERATIONS
Modifier and Type | Method and Description |
---|---|
void |
addObjectClass(org.forgerock.opendj.ldap.schema.ObjectClass objectClass,
String name)
Adds the provided objectclass to the entry to add.
|
void |
addRawAttribute(RawAttribute rawAttribute)
Adds the provided attribute to the set of raw attributes for this add
operation.
|
org.forgerock.opendj.ldap.Dn |
getEntryDN()
Retrieves the DN of the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.ObjectClass,String> |
getObjectClasses()
Retrieves the set of processed objectclasses for the entry to add.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
org.forgerock.opendj.ldap.Dn |
getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied
authorization has been requested.
|
List<RawAttribute> |
getRawAttributes()
Retrieves the set of attributes in their raw, unparsed form as read from
the client request.
|
org.forgerock.opendj.ldap.ByteString |
getRawEntryDN()
Retrieves the DN of the entry to add in a raw, unparsed form as it was
included in the request.
|
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> |
getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
void |
removeAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
Removes the specified attribute from the entry to add.
|
void |
removeObjectClass(org.forgerock.opendj.ldap.schema.ObjectClass objectClass)
Removes the provided objectclass from the entry to add.
|
void |
setAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType,
List<Attribute> attributeList)
Sets the specified attribute in the entry to add, overwriting any existing
attribute of the specified type if necessary.
|
void |
setProxiedAuthorizationDN(org.forgerock.opendj.ldap.Dn proxiedAuthorizationDN)
Set the proxied authorization DN for this operation if proxied
authorization has been requested.
|
void |
setRawAttributes(List<RawAttribute> rawAttributes)
Replaces the set of raw attributes for this add operation.
|
void |
setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
Specifies the raw entry DN for the entry to add.
|
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
org.forgerock.opendj.ldap.ByteString getRawEntryDN()
void setRawEntryDN(org.forgerock.opendj.ldap.ByteString rawEntryDN)
getEntryDN
and setEntryDN
methods.rawEntryDN
- The raw entry DN for the entry to add.org.forgerock.opendj.ldap.Dn getEntryDN()
null
if it has not yet
been parsed from the raw DN.List<RawAttribute> getRawAttributes()
void addRawAttribute(RawAttribute rawAttribute)
rawAttribute
- The attribute to add to the set of raw attributes for
this add operation.void setRawAttributes(List<RawAttribute> rawAttributes)
rawAttributes
- The set of raw attributes for this add operation.Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> getUserAttributes()
null
if that information is not yet available.void setAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType, List<Attribute> attributeList)
attributeType
- The attribute type for the attribute.attributeList
- The attribute list for the provided attribute type.void removeAttribute(org.forgerock.opendj.ldap.schema.AttributeType attributeType)
attributeType
- The attribute tyep for the attribute to remove.Map<org.forgerock.opendj.ldap.schema.ObjectClass,String> getObjectClasses()
null
if that information is not yet available.void addObjectClass(org.forgerock.opendj.ldap.schema.ObjectClass objectClass, String name)
objectClass
- The objectclass to add to the entry.name
- The name to use for the objectclass.void removeObjectClass(org.forgerock.opendj.ldap.schema.ObjectClass objectClass)
objectClass
- The objectclass to remove from the entry.Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> getOperationalAttributes()
null
if that information is not yet available.org.forgerock.opendj.ldap.Dn getProxiedAuthorizationDN()
getProxiedAuthorizationDN
in interface Operation
null
if proxied
authorization has not been requested.void setProxiedAuthorizationDN(org.forgerock.opendj.ldap.Dn proxiedAuthorizationDN)
setProxiedAuthorizationDN
in interface Operation
proxiedAuthorizationDN
- The proxied authorization DN for this operation if proxied
authorization has been requested, or null
if proxied
authorization has not been requested.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.