Package | Description |
---|---|
org.forgerock.opendj.adapter.server3x |
Classes for interacting with an embedded OpenDJ 2.x instance using the OpenDJ LDAP SDK.
|
org.opends.server.api |
Contains a number of API declarations for use throughout the
Directory Server.
|
org.opends.server.config |
Contains code used to interact with the Directory Server configuration.
|
org.opends.server.core |
Contains various classes that comprise the core of the Directory Server
codebase.
|
org.opends.server.extensions |
Contains various implementations of Directory Server APIs that are not
appropriate for other packages.
|
org.opends.server.monitors |
Contains various Directory Server monitor provider implementations.
|
org.opends.server.protocols.http |
Contains the implementation for the Directory Server connection handler that
is responsible for interacting with clients using HTTP.
|
org.opends.server.protocols.internal |
Contains the implementation for the "internal" connection handler
and its associated classes.
|
org.opends.server.protocols.ldap |
Contains the implementation for the Directory Server connection handler that
is responsible for interacting with clients using LDAPv3.
|
org.opends.server.replication.plugin |
This package contains the part of the Multi-master
replication code that works on the Directory Server side.
|
org.opends.server.replication.protocol |
This package contains the code used by the replication server and by the
code running on the Directory Server side to exchange their information.
|
org.opends.server.replication.server |
This package contains the code for the Replication Server part
of the Multimaster replication feature.
|
org.opends.server.replication.service |
This package contains the generic of the Multi-Master
replication code that works on the Directory Server side.
|
org.opends.server.tasks |
Contains implementations for various Directory Server tasks.
|
org.opends.server.types |
Contains implementations for a number of Directory Server data
types.
|
org.opends.server.types.operation |
Contains a number of interfaces that are implemented by the various
types of Directory Server operations.
|
org.opends.server.util |
Contains implementations for various Directory Server utility classes and
methods which may be used throughout the server but do not necessarily fit in
elsewhere.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
Converters.toAttribute(org.forgerock.opendj.ldap.Attribute attribute)
Converts from OpenDJ LDAP SDK
Attribute
to OpenDJ server Attribute . |
Modifier and Type | Method and Description |
---|---|
static List<Attribute> |
Converters.toAttributes(Iterable<org.forgerock.opendj.ldap.Attribute> listOfAttributes)
|
Modifier and Type | Method and Description |
---|---|
static org.forgerock.opendj.ldap.Attribute |
Converters.from(Attribute attribute)
Converts from OpenDJ server
Attribute to
OpenDJ LDAP SDK Attribute . |
Modifier and Type | Method and Description |
---|---|
static List<org.forgerock.opendj.ldap.Attribute> |
Converters.from(Iterable<Attribute> listOfAttributes)
|
Modifier and Type | Method and Description |
---|---|
Attribute |
CompressedSchema.decodeAttribute(org.forgerock.opendj.ldap.ByteSequenceReader reader)
Decodes the contents of the provided array as an attribute at the current
position.
|
abstract Attribute |
VirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Attribute> |
MonitorProvider.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
abstract List<Attribute> |
EntryCache.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Modifier and Type | Method and Description |
---|---|
void |
CompressedSchema.encodeAttribute(org.forgerock.opendj.ldap.ByteStringBuilder builder,
Attribute attribute)
Encodes the information in the provided attribute to a byte array.
|
Modifier and Type | Method and Description |
---|---|
ConfigAttribute |
StringConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
IntegerWithUnitConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
MultiChoiceConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
BooleanConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
DNConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
abstract ConfigAttribute |
ConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
IntegerConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
ConfigAttribute |
ReadOnlyConfigAttribute.getConfigAttribute(List<Attribute> attributeList)
Retrieves a new configuration attribute of this type that will contain the
values from the provided attribute.
|
Modifier and Type | Method and Description |
---|---|
Map<AttributeType,List<Attribute>> |
AddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<AttributeType,List<Attribute>> |
AddOperationWrapper.getOperationalAttributes()
Retrieves the set of processed operational attributes for the entry to add.
|
Map<AttributeType,List<Attribute>> |
AddOperationBasis.getOperationalAttributes() |
Map<AttributeType,List<Attribute>> |
AddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<AttributeType,List<Attribute>> |
AddOperationWrapper.getUserAttributes()
Retrieves the set of processed user attributes for the entry to add.
|
Map<AttributeType,List<Attribute>> |
AddOperationBasis.getUserAttributes() |
Modifier and Type | Method and Description |
---|---|
static boolean |
SchemaConfigManager.isSchemaAttribute(Attribute attribute)
This method checks if a given attribute is an attribute that
is used by the definition of the schema.
|
Modifier and Type | Method and Description |
---|---|
void |
AddOperation.setAttribute(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 |
AddOperationWrapper.setAttribute(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 |
AddOperationBasis.setAttribute(AttributeType attributeType,
List<Attribute> attributeList) |
Constructor and Description |
---|
AddOperationBasis(ClientConnection clientConnection,
long operationID,
int messageID,
List<Control> requestControls,
DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new add operation with the provided information.
|
AddOperationBasis(ClientConnection clientConnection,
long operationID,
int messageID,
List<Control> requestControls,
DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new add operation with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
PasswordPolicySubentryVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
HasSubordinatesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
SubschemaSubentryVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
MemberVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
PasswordExpirationTimeVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
GoverningStructureRuleVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
NumSubordinatesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
EntryDNVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
EntryUUIDVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
IsMemberOfVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
CollectiveAttributeSubentriesVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
UserDefinedVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
StructuralObjectClassVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Attribute |
EntityTagVirtualAttributeProvider.getValues(Entry entry,
VirtualAttributeRule rule)
Generates an unmodifiable attribute with the values for the provided entry.
|
Modifier and Type | Method and Description |
---|---|
static List<Attribute> |
EntryCacheCommon.getGenericMonitorData(Long cacheHits,
Long cacheMisses,
Long cacheSize,
Long maxCacheSize,
Long cacheCount,
Long maxCacheCount)
Constructs a set of generic attributes containing entry cache
monitor data.
|
List<Attribute> |
DiskSpaceMonitor.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
SoftReferenceEntryCache.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
DefaultEntryCache.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
FIFOEntryCache.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
StackTraceMonitorProvider.getMonitorData() |
List<Attribute> |
SystemInfoMonitorProvider.getMonitorData() |
ArrayList<Attribute> |
TraditionalWorkQueueMonitor.getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
ArrayList<Attribute> |
ParallelWorkQueueMonitor.getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
List<Attribute> |
ConnectionHandlerMonitor.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
ArrayList<Attribute> |
VersionMonitorProvider.getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
List<Attribute> |
EntryCacheMonitorProvider.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
ClientConnectionMonitorProvider.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
BackendMonitor.getMonitorData() |
ArrayList<Attribute> |
MemoryUsageMonitorProvider.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
HTTPStatistics.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Modifier and Type | Method and Description |
---|---|
AddOperation |
InternalClientConnection.processAdd(DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Processes an internal add operation with the provided
information.
|
AddOperation |
InternalClientConnection.processAdd(DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Processes an internal add operation with the provided
information.
|
AddOperation |
InternalClientConnection.processAdd(DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes,
List<Control> controls)
Processes an internal add operation with the provided
information.
|
AddOperation |
InternalClientConnection.processAdd(DN entryDN,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes,
List<Control> controls)
Processes an internal add operation with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
protected Attribute |
LDAPStatistics.createAttribute(String name,
String value)
Constructs an attribute using the provided information.
|
Attribute |
LDAPAttribute.toAttribute()
Retrieves a core attribute containing the information for this LDAP
attribute.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
LDAPStatistics.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Constructor and Description |
---|
LDAPAttribute(Attribute attribute)
Creates a new LDAP attribute from the provided attribute.
|
Modifier and Type | Method and Description |
---|---|
Attribute |
EntryHistorical.encodeAndPurge()
Encode this historical information object in an operational attribute and
purge it from the values older than the purge delay.
|
Modifier and Type | Method and Description |
---|---|
Collection<Attribute> |
LDAPReplicationDomain.getAdditionalMonitoring()
Monitoring information for the LDAPReplicationDomain.
|
static List<Attribute> |
EntryHistorical.getHistoricalAttr(Entry entry)
Get the attribute used to store the historical information from the provided Entry.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
EntryHistorical.isHistoricalAttribute(Attribute attr)
Check if a given attribute is an attribute used to store historical
information.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AddMsg.getAttributes()
Get the attributes of this add msg.
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPUpdateMsg.setEclIncludes(Collection<Attribute> entryAttrs)
Set a provided list of entry attributes.
|
Constructor and Description |
---|
AddMsg(CSN csn,
DN dn,
String uniqueId,
String parentId,
Attribute objectClass,
Collection<Attribute> userAttributes,
Collection<Attribute> operationalAttributes)
Creates a new AddMessage.
|
Constructor and Description |
---|
AddMsg(CSN csn,
DN dn,
String uniqueId,
String parentId,
Attribute objectClass,
Collection<Attribute> userAttributes,
Collection<Attribute> operationalAttributes)
Creates a new AddMessage.
|
AddMsg(CSN csn,
DN dn,
String uniqueId,
String parentId,
Attribute objectClass,
Collection<Attribute> userAttributes,
Collection<Attribute> operationalAttributes)
Creates a new AddMessage.
|
AddMsg(CSN csn,
DN dn,
String entryUUID,
String parentEntryUUID,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new AddMessage.
|
AddMsg(CSN csn,
DN dn,
String entryUUID,
String parentEntryUUID,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new AddMessage.
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
DataServerHandler.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
LightweightServerHandler.getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
List<Attribute> |
ReplicationServerDomain.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
ServerHandler.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
List<Attribute> |
ReplicationServerHandler.getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
Modifier and Type | Method and Description |
---|---|
Collection<Attribute> |
ReplicationDomain.getAdditionalMonitoring()
Subclasses should use this method to add additional monitoring information
in the ReplicationDomain.
|
List<Attribute> |
ReplicationMonitor.getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
Modifier and Type | Method and Description |
---|---|
static void |
ReplicationMonitor.addMonitorData(List<Attribute> attributes,
String name,
int value)
Add an attribute with an integer value to the list of monitoring
attributes.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TaskUtils.getBoolean(List<Attribute> attrList,
boolean defaultValue)
Get the single boolean value of an entry attribute that is defined in the
schema as a single valued boolean attribute, and that is not expected to
have attribute options.
|
static ArrayList<String> |
TaskUtils.getMultiValueString(List<Attribute> attrList)
Get the multiple string values of an entry attribute that is defined in the
schema as a multi-valued string attribute, and that is not expected to
have attribute options.
|
static int |
TaskUtils.getSingleValueInteger(List<Attribute> attrList,
int defaultValue)
Get the single integer value of an entry attribute that is defined in the
schema as a single valued integer attribute, and that is not expected to
have attribute options.
|
static String |
TaskUtils.getSingleValueString(List<Attribute> attrList)
Get the single string value of an entry attribute that is defined in the
schema as a single valued string attribute, and that is not expected to
have attribute options.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAttribute
An abstract base class for implementing new types of
Attribute . |
class |
CollectiveVirtualAttribute
This class defines a collective virtual attribute, which is a
special kind of attribute whose values do not actually exist
in persistent storage but rather are obtained dynamically
from applicable collective attribute subentry.
|
class |
VirtualAttribute
This class defines a virtual attribute, which is a special kind of
attribute whose values do not actually exist in persistent storage
but rather are computed or otherwise obtained dynamically.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
Attributes.create(AttributeType attributeType,
org.forgerock.opendj.ldap.ByteString value)
Creates a new single-valued attribute with the specified attribute type and value.
|
static Attribute |
Attributes.create(AttributeType attributeType,
String valueString)
Creates a new single-valued attribute with the specified name and value.
|
static Attribute |
Attributes.create(AttributeType attributeType,
String name,
org.forgerock.opendj.ldap.ByteString value)
Creates a new single-valued attribute with the specified
attribute type and value.
|
static Attribute |
Attributes.create(AttributeType attributeType,
String name,
String valueString)
Creates a new single-valued attribute with the attribute type and value.
|
static Attribute |
Attributes.create(String attributeName,
String... valueStrings)
Creates a new multi-valued attribute with the specified attribute
name and attribute values.
|
static Attribute |
Attributes.create(String attributeName,
String valueString)
Creates a new single-valued attribute with the specified
attribute name and attribute value.
|
static Attribute |
Attributes.empty(Attribute attribute)
Creates a new attribute which has the same attribute type and
attribute options as the provided attribute but no attribute
values.
|
static Attribute |
Attributes.empty(AttributeType attributeType)
Creates a new attribute with the provided attribute type and no
values.
|
static Attribute |
Attributes.empty(AttributeType attributeType,
String name)
Creates a new attribute with the provided attribute type and no
values.
|
static Attribute |
Attributes.empty(String attributeName)
Creates a new attribute with the specified attribute name and no
attribute values.
|
Attribute |
Modification.getAttribute()
Retrieves the attribute for this modification.
|
Attribute |
Entry.getExactAttribute(AttributeType attributeType,
Set<String> options)
Retrieves the requested attribute element for the specified
attribute type and options or
null if this entry
does not contain an attribute with the specified attribute type
and options. |
Attribute |
Entry.getObjectClassAttribute()
Retrieves an attribute holding the objectclass information for
this entry.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2)
Creates a new attribute containing all the values from the two
provided attributes.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Creates a new attribute containing all the values from the two
provided attributes and put any duplicate values into the
provided collection.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2)
Creates a new attribute containing the values from the first
attribute which are not in the second attribute.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> missingValues)
Creates a new attribute containing the values from the first
attribute which are not in the second attribute.
|
abstract Attribute |
RawAttribute.toAttribute()
Retrieves a core attribute containing the information for this
raw attribute.
|
Attribute |
AttributeBuilder.toAttribute()
Returns an attribute representing the content of this attribute builder.
|
Modifier and Type | Method and Description |
---|---|
static List<Attribute> |
Attributes.createAsList(AttributeType attributeType,
org.forgerock.opendj.ldap.ByteString value)
Creates a new List with a single-valued attribute with the specified attribute type and value.
|
static List<Attribute> |
Attributes.createAsList(AttributeType attributeType,
String valueString)
Creates a new List with a single-valued attribute with the specified name and value.
|
static List<Attribute> |
Attributes.createAsList(AttributeType attributeType,
String name,
String valueString)
Creates a new List with a single-valued attribute with the attribute type and value.
|
List<Attribute> |
Entry.getAttribute(AttributeType attributeType)
Retrieves the requested attribute element(s) for the specified
attribute type.
|
List<Attribute> |
Entry.getAttribute(AttributeType attributeType,
boolean includeSubordinates)
Retrieves the requested attribute element(s) for the specified
attribute type.
|
List<Attribute> |
Entry.getAttribute(AttributeType attributeType,
boolean includeSubordinates,
Set<String> options)
Retrieves the requested attribute element(s) for the specified
attribute type.
|
List<Attribute> |
Entry.getAttribute(AttributeType attributeType,
Set<String> options)
Retrieves the requested attribute element(s) for the specified
attribute type.
|
List<Attribute> |
Entry.getAttribute(String lowerName)
Retrieves the requested attribute element(s) for the attribute
with the specified name or OID.
|
List<Attribute> |
Entry.getAttribute(String lowerName,
Set<String> options)
Retrieves the requested attribute element(s) for the attribute
with the specified name or OID and set of options.
|
List<Attribute> |
Entry.getAttributes()
Retrieves the entire set of attributes for this entry.
|
List<Attribute> |
SubEntry.getCollectiveAttributes()
Getter for collective attributes contained within this subentry.
|
Map<String,Attribute> |
Schema.getExtraAttributes()
Get the extraAttributes stored in this schema.
|
List<Attribute> |
Entry.getOperationalAttribute(AttributeType attributeType)
Retrieves the requested operational attribute element(s) for the
specified attribute type.
|
List<Attribute> |
Entry.getOperationalAttribute(AttributeType attributeType,
Set<String> options)
Retrieves the requested operational attribute element(s) for the
specified attribute type.
|
Map<AttributeType,List<Attribute>> |
Entry.getOperationalAttributes()
Retrieves the entire set of operational attributes for this
entry.
|
List<Attribute> |
Entry.getUserAttribute(AttributeType attributeType)
Retrieves the requested user attribute element(s) for the
specified attribute type.
|
List<Attribute> |
Entry.getUserAttribute(AttributeType attributeType,
Set<String> options)
Retrieves the requested user attribute element(s) for the
specified attribute type.
|
Map<AttributeType,List<Attribute>> |
Entry.getUserAttributes()
Retrieves the entire set of user (i.e., non-operational)
attributes for this entry.
|
List<Attribute> |
AttributeBuilder.toAttributeList()
Returns a List with a single attribute representing the content of this attribute builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AttributeBuilder.addAll(Attribute attribute)
Adds all the values from the specified attribute to this
attribute builder if they are not already present.
|
void |
Entry.addAttribute(Attribute attribute,
List<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Ensures that this entry contains the provided attribute and its
values.
|
void |
Schema.addExtraAttribute(String name,
Attribute attr)
Add a new extra Attribute for this schema.
|
static RawAttribute |
RawAttribute.create(Attribute attribute)
Creates a new raw attribute from the provided attribute.
|
static Attribute |
Attributes.empty(Attribute attribute)
Creates a new attribute which has the same attribute type and
attribute options as the provided attribute but no attribute
values.
|
void |
Entry.incrementAttribute(Attribute attribute)
Increments an attribute in this entry by the amount specified in
the provided attribute.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2)
Creates a new attribute containing all the values from the two
provided attributes.
|
static Attribute |
Attributes.merge(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> duplicateValues)
Creates a new attribute containing all the values from the two
provided attributes and put any duplicate values into the
provided collection.
|
static AttributeParser |
AttributeParser.parseAttribute(Attribute attribute)
Returns an attribute parser for the provided attribute.
|
boolean |
AttributeBuilder.removeAll(Attribute attribute)
Removes all the values from the specified attribute from this
attribute builder if they are not already present.
|
boolean |
Entry.removeAttribute(Attribute attribute,
List<org.forgerock.opendj.ldap.ByteString> missingValues)
Ensures that this entry does not contain the provided attribute
values.
|
void |
AttributeBuilder.replaceAll(Attribute attribute)
Replaces all the values in this attribute value with the
attributes from the specified attribute.
|
void |
Entry.replaceAttribute(Attribute attribute)
Puts the provided attribute into this entry.
|
void |
Modification.setAttribute(Attribute attribute)
Specifies the attribute for this modification.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2)
Creates a new attribute containing the values from the first
attribute which are not in the second attribute.
|
static Attribute |
Attributes.subtract(Attribute a1,
Attribute a2,
Collection<org.forgerock.opendj.ldap.ByteString> missingValues)
Creates a new attribute containing the values from the first
attribute which are not in the second attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
Entry.putAttribute(AttributeType attributeType,
List<Attribute> attributeList)
Puts the provided attribute in this entry.
|
Constructor and Description |
---|
AttributeBuilder(Attribute attribute)
Creates a new attribute builder from an existing attribute.
|
AttributeBuilder(Attribute attribute,
boolean omitValues)
Creates a new attribute builder from an existing attribute,
optionally omitting the values contained in the provided
attribute.
|
CollectiveVirtualAttribute(Attribute attribute)
Creates a new collective virtual attribute.
|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute)
Creates a new modification with the provided information.
|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute,
boolean isInternal)
Creates a new modification with the provided information.
|
Constructor and Description |
---|
Entry(DN dn,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new entry with the provided information.
|
Entry(DN dn,
Map<ObjectClass,String> objectClasses,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Creates a new entry with the provided information.
|
Modifier and Type | Method and Description |
---|---|
Map<AttributeType,List<Attribute>> |
PostSynchronizationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the
entry to add.
|
Map<AttributeType,List<Attribute>> |
PreOperationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the
entry to add.
|
Map<AttributeType,List<Attribute>> |
PostResponseAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the
entry to add.
|
Map<AttributeType,List<Attribute>> |
PostOperationAddOperation.getOperationalAttributes()
Retrieves the set of processed operational attributes for the
entry to add.
|
Map<AttributeType,List<Attribute>> |
PostSynchronizationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to
add.
|
Map<AttributeType,List<Attribute>> |
PreOperationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to
add.
|
Map<AttributeType,List<Attribute>> |
PostResponseAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to
add.
|
Map<AttributeType,List<Attribute>> |
PostOperationAddOperation.getUserAttributes()
Retrieves the set of processed user attributes for the entry to
add.
|
Modifier and Type | Method and Description |
---|---|
void |
PreOperationAddOperation.setAttribute(AttributeType attributeType,
List<Attribute> attributeList)
Sets the specified attribute in the entry to add, overwriting any
existing attribute of the specified type if necessary.
|
Modifier and Type | Method and Description |
---|---|
static Attribute |
LDIFReader.parseAttrDescription(String attrDescr)
Parse an AttributeDescription (an attribute type name and its
options).
|
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
AddChangeRecordEntry.getAttributes()
Retrieves the entire set of attributes for this entry.
|
protected List<Attribute> |
LDIFReader.toAttributesList(List<AttributeBuilder> builders)
Converts the provided List of AttributeBuilders to a new list of Attributes.
|
protected Map<AttributeType,List<Attribute>> |
LDIFReader.toAttributesMap(Map<AttributeType,List<AttributeBuilder>> attrBuilders)
Returns a new Map where the provided Map with AttributeBuilders is converted to another Map
with Attributes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LDIFReader.addRDNAttributesIfNecessary(DN entryDN,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Adds any missing RDN attributes to the entry that is being imported.
|
protected void |
LDIFReader.addRDNAttributesIfNecessary(DN entryDN,
Map<AttributeType,List<Attribute>> userAttributes,
Map<AttributeType,List<Attribute>> operationalAttributes)
Adds any missing RDN attributes to the entry that is being imported.
|
Constructor and Description |
---|
AddChangeRecordEntry(DN dn,
Map<AttributeType,List<Attribute>> attributes)
Creates a new entry with the provided information.
|
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.