|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualAttributeCfgClient
A client-side interface for reading and modifying Virtual Attribute settings.
Virtual Attributes are responsible for dynamically generating attribute values that appear in entries but are not persistently stored in the backend.
Method Summary | |
---|---|
ManagedObjectDefinition<? extends VirtualAttributeCfgClient,? extends VirtualAttributeCfg> |
definition()
Get the configuration definition associated with this Virtual Attribute. |
AttributeType |
getAttributeType()
Gets the "attribute-type" property. |
java.util.SortedSet<DN> |
getBaseDN()
Gets the "base-dn" property. |
VirtualAttributeCfgDefn.ConflictBehavior |
getConflictBehavior()
Gets the "conflict-behavior" property. |
java.util.SortedSet<java.lang.String> |
getFilter()
Gets the "filter" property. |
java.util.SortedSet<DN> |
getGroupDN()
Gets the "group-dn" property. |
java.lang.String |
getJavaClass()
Gets the "java-class" property. |
java.lang.Boolean |
isEnabled()
Gets the "enabled" property. |
void |
setAttributeType(AttributeType value)
Sets the "attribute-type" property. |
void |
setBaseDN(java.util.Collection<DN> values)
Sets the "base-dn" property. |
void |
setConflictBehavior(VirtualAttributeCfgDefn.ConflictBehavior value)
Sets the "conflict-behavior" property. |
void |
setEnabled(boolean value)
Sets the "enabled" property. |
void |
setFilter(java.util.Collection<java.lang.String> values)
Sets the "filter" property. |
void |
setGroupDN(java.util.Collection<DN> values)
Sets the "group-dn" property. |
void |
setJavaClass(java.lang.String value)
Sets the "java-class" property. |
Methods inherited from interface org.opends.server.admin.ConfigurationClient |
---|
commit, properties |
Method Detail |
---|
ManagedObjectDefinition<? extends VirtualAttributeCfgClient,? extends VirtualAttributeCfg> definition()
definition
in interface ConfigurationClient
AttributeType getAttributeType()
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute.
void setAttributeType(AttributeType value) throws IllegalPropertyValueException
Specifies the attribute type for the attribute whose values are to be dynamically assigned by the virtual attribute.
value
- The value of the "attribute-type" property.
IllegalPropertyValueException
- If the new value is invalid.java.util.SortedSet<DN> getBaseDN()
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
If no values are given, then the server generates virtual attributes anywhere in the server.
void setBaseDN(java.util.Collection<DN> values) throws IllegalPropertyValueException
Specifies the base DNs for the branches containing entries that are eligible to use this virtual attribute.
If no values are given, then the server generates virtual attributes anywhere in the server.
values
- The values of the "base-dn" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.VirtualAttributeCfgDefn.ConflictBehavior getConflictBehavior()
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.
void setConflictBehavior(VirtualAttributeCfgDefn.ConflictBehavior value) throws IllegalPropertyValueException
Specifies the behavior that the server is to exhibit for entries that already contain one or more real values for the associated attribute.
value
- The value of the "conflict-behavior" property.
IllegalPropertyValueException
- If the new value is invalid.java.lang.Boolean isEnabled()
Indicates whether the Virtual Attribute is enabled for use.
void setEnabled(boolean value) throws IllegalPropertyValueException
Indicates whether the Virtual Attribute is enabled for use.
value
- The value of the "enabled" property.
IllegalPropertyValueException
- If the new value is invalid.java.util.SortedSet<java.lang.String> getFilter()
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
If no values are given, then any entry is eligible to have the value generated. If one or more filters are specified, then only entries that match at least one of those filters are allowed to have the virtual attribute.
void setFilter(java.util.Collection<java.lang.String> values) throws IllegalPropertyValueException
Specifies the search filters to be applied against entries to determine if the virtual attribute is to be generated for those entries.
If no values are given, then any entry is eligible to have the value generated. If one or more filters are specified, then only entries that match at least one of those filters are allowed to have the virtual attribute.
values
- The values of the "filter" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.util.SortedSet<DN> getGroupDN()
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
If no values are given, then group membership is not taken into account when generating the virtual attribute. If one or more group DNs are specified, then only members of those groups are allowed to have the virtual attribute.
void setGroupDN(java.util.Collection<DN> values) throws IllegalPropertyValueException
Specifies the DNs of the groups whose members can be eligible to use this virtual attribute.
If no values are given, then group membership is not taken into account when generating the virtual attribute. If one or more group DNs are specified, then only members of those groups are allowed to have the virtual attribute.
values
- The values of the "group-dn" property.
IllegalPropertyValueException
- If one or more of the new values are invalid.java.lang.String getJavaClass()
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.
void setJavaClass(java.lang.String value) throws IllegalPropertyValueException
Specifies the fully-qualified name of the virtual attribute provider class that generates the attribute values.
value
- The value of the "java-class" property.
IllegalPropertyValueException
- If the new value is invalid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |