|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AddOperation
This interface defines an operation that may be used to add a new entry to the Directory Server.
Field Summary |
---|
Fields inherited from interface org.opends.server.types.Operation |
---|
LOCALBACKENDOPERATIONS |
Method Summary | |
---|---|
void |
addObjectClass(ObjectClass objectClass,
java.lang.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. |
long |
getChangeNumber()
Retrieves the change number that has been assigned to this operation. |
DN |
getEntryDN()
Retrieves the DN of the entry to add. |
java.util.Map<ObjectClass,java.lang.String> |
getObjectClasses()
Retrieves the set of processed objectclasses for the entry to add. |
java.util.Map<AttributeType,java.util.List<Attribute>> |
getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add. |
DN |
getProxiedAuthorizationDN()
Retrieves the proxied authorization DN for this operation if proxied authorization has been requested. |
java.util.List<RawAttribute> |
getRawAttributes()
Retrieves the set of attributes in their raw, unparsed form as read from the client request. |
ByteString |
getRawEntryDN()
Retrieves the DN of the entry to add in a raw, unparsed form as it was included in the request. |
java.util.Map<AttributeType,java.util.List<Attribute>> |
getUserAttributes()
Retrieves the set of processed user attributes for the entry to add. |
void |
removeAttribute(AttributeType attributeType)
Removes the specified attribute from the entry to add. |
void |
removeObjectClass(ObjectClass objectClass)
Removes the provided objectclass from the entry to add. |
void |
setAttribute(AttributeType attributeType,
java.util.List<Attribute> attributeList)
Sets the specified attribute in the entry to add, overwriting any existing attribute of the specified type if necessary. |
void |
setChangeNumber(long changeNumber)
Specifies the change number that has been assigned to this operation by the synchronization mechanism. |
void |
setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
Set the proxied authorization DN for this operation if proxied authorization has been requested. |
void |
setRawAttributes(java.util.List<RawAttribute> rawAttributes)
Replaces the set of raw attributes for this add operation. |
void |
setRawEntryDN(ByteString rawEntryDN)
Specifies the raw entry DN for the entry to add. |
Method Detail |
---|
ByteString getRawEntryDN()
void setRawEntryDN(ByteString rawEntryDN)
getEntryDN
and setEntryDN
methods.
rawEntryDN
- The raw entry DN for the entry to add.DN getEntryDN()
null
if it has not yet
been parsed from the raw DN.java.util.List<RawAttribute> getRawAttributes()
void addRawAttribute(RawAttribute rawAttribute)
rawAttribute
- The attribute to add to the set of raw attributes for
this add operation.void setRawAttributes(java.util.List<RawAttribute> rawAttributes)
rawAttributes
- The set of raw attributes for this add operation.java.util.Map<AttributeType,java.util.List<Attribute>> getUserAttributes()
null
if that information is not yet available.void setAttribute(AttributeType attributeType, java.util.List<Attribute> attributeList)
attributeType
- The attribute type for the attribute.attributeList
- The attribute list for the provided attribute type.void removeAttribute(AttributeType attributeType)
attributeType
- The attribute tyep for the attribute to remove.long getChangeNumber()
void setChangeNumber(long changeNumber)
changeNumber
- The change number that has been assigned to this
operation by the synchronization mechanism.java.util.Map<ObjectClass,java.lang.String> getObjectClasses()
null
if that information is not yet available.void addObjectClass(ObjectClass objectClass, java.lang.String name)
objectClass
- The objectclass to add to the entry.name
- The name to use for the objectclass.void removeObjectClass(ObjectClass objectClass)
objectClass
- The objectclass to remove from the entry.java.util.Map<AttributeType,java.util.List<Attribute>> getOperationalAttributes()
null
if that information is not yet available.DN getProxiedAuthorizationDN()
null
if proxied
authorization has not been requested.void setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
proxiedAuthorizationDN
- The proxied authorization DN for this operation if proxied
authorization has been requested, or null
if proxied
authorization has not been requested.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |