@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public interface PreOperationAddOperation extends PreOperationOperation
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.
|
org.forgerock.opendj.ldap.Dn |
getEntryDN()
Retrieves the DN of the entry to add.
|
Entry |
getEntryToAdd()
Retrieves the entry to be added to the server.
|
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.
|
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.
|
addAdditionalLogItem, addResponseControl, appendErrorMessage, getAdditionalLogItems, getAuthorizationDN, getErrorMessage, removeResponseControl, setErrorMessage
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControl, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
org.forgerock.opendj.ldap.ByteString getRawEntryDN()
List<RawAttribute> getRawAttributes()
org.forgerock.opendj.ldap.Dn getEntryDN()
Map<org.forgerock.opendj.ldap.schema.ObjectClass,String> getObjectClasses()
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>> getUserAttributes()
Map<org.forgerock.opendj.ldap.schema.AttributeType,List<Attribute>> getOperationalAttributes()
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.Entry getEntryToAdd()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.