|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface PluginContext.TypeBuilder
This interface is a builder to create new type instances.
Method Summary | |
---|---|
Filter |
newAndFilter(java.util.Collection<Filter> subFilters) Returns a new instance of an and Filter with the provided sub-filters. |
Filter |
newAndFilter(Filter... subFilters) Returns a new instance of an and Filter with the provided sub-filters. |
Filter |
newApproxMatchFilter(java.lang.String attributeDescription, ByteString assertionValue) Returns a new instance of an approximate match Filter with the specified attribute description and assertion value. |
Attribute |
newAttribute(java.lang.String attributeDescription, java.lang.Object... values) Returns a new instance of Attribute that has the specified attribute description and contains the provided values. |
AttributeDescription |
newAttributeDescription(java.lang.String attributeDescription) Returns a new instance of AttributeDescription. |
AttributeValue |
newAttributeValue(AttributeType type, java.lang.String value) Returns a new instance of AttributeValue of the specified type and value. |
AVA |
newAttributeValueAssertion(AttributeType type, java.lang.Object value) Returns a new instance of AVA (Attribute Value Assertion) with the specified type and value. |
DN |
newDN(java.lang.String dn) Returns a new instance of DN. |
Entry |
newEntry(DN dn) Returns a new instance of Entry with the specified distinguished name and no attribute. |
Filter |
newEqualityMatchFilter(java.lang.String attributeDescription, ByteString assertionValue) Returns a new instance of an equality match Filter with the specified attribute description and assertion value. |
Filter |
newExtensibleMatchFilter(java.lang.String matchingRule, java.lang.String attributeDescription, ByteString assertionValue, boolean dnAttributes) Returns a new instance of an extensible match Filter with the specified parameters. |
Filter |
newFilter(java.lang.String filterAsString) Returns a new instance of Filter. |
Filter |
newGreaterOrEqualFilter(java.lang.String attributeDescription, ByteString assertionValue) Creates a new instance of an greater or equal Filter with the specified attribute description and assertion value. |
LDAPUrl |
newLDAPUrl(java.lang.String ldapUrl) Returns a new instance of LDAPUrl. |
Filter |
newLessOrEqualFilter(java.lang.String attributeDescription, ByteString assertionValue) Returns a new instance of an less or equal Filter with the specified attribute description and assertion value. |
Message |
newMessage(java.lang.String message) Returns a new instance of Message. |
Modification |
newModification(ModificationType modificationType, Attribute attribute) Returns a new instance of Modification with the specified modification type and attribute. |
Filter |
newNotFilter(Filter subFilter) Returns a new instance of a not Filter with the provided sub-filter. |
Filter |
newOrFilter(java.util.Collection<Filter> subFilters) Returns a new instance of an or Filter with the provided sub-filters. |
Filter |
newOrFilter(Filter... subFilters) Returns a new instance of an or Filter with the provided sub-filters. |
Filter |
newPresentFilter(java.lang.String attributeDescription) Returns a new instance of an present Filter with the specified attribute description and assertion value. |
RDN |
newRDN(java.lang.String rdn) Returns a new instance of RDN. |
Result |
newResult(ResultCode resultCode) Returns a new instance of Result with the specified result code. |
SearchResultEntry |
newSearchResultEntry(DN dn) Returns a new instance of SearchResultEntry with the specified distinguished name, no attribute and no control. |
SearchResultReference |
newSearchResultReference(java.lang.String referral) Returns a new instance of SearchResultReference with the specified referral and no control. |
SortKey |
newSortKey(java.lang.String attributeDescription, boolean isReverseOrder, java.lang.String orderingMatchingRule) Creates a new instance of SortKey. |
Filter |
newSubstringsFilter(java.lang.String attributeDescription, ByteString initialSubstring, java.util.List<ByteString> anySubstrings, ByteString finalSubstring) Returns a new instance of an substrings Filter with the specified parameters. |
Method Detail |
---|
AttributeDescription newAttributeDescription(java.lang.String attributeDescription) throws PluginException
attributeDescription
- the String representation of the attribute description.PluginException
- if the provided attribute description could not be parsed successfully.Attribute newAttribute(java.lang.String attributeDescription, java.lang.Object... values) throws PluginException
attributeDescription
- the String representation of the attribute description.values
- the values to be added to the new attribute.PluginException
- if the provided attribute description could not be parsed successfully.AttributeValue newAttributeValue(AttributeType type, java.lang.String value)
type
- the type of the new AttributeValue.value
- the attribute value of the new AttributeValue.DN newDN(java.lang.String dn) throws PluginException
dn
- the String representation of the Dn.PluginException
- if the provided Dn could not be parsed successfully.RDN newRDN(java.lang.String rdn) throws PluginException
rdn
- the String representation of the Rdn.PluginException
- if the provided Rdn could not be parsed successfully.LDAPUrl newLDAPUrl(java.lang.String ldapUrl) throws PluginException
ldapUrl
- the String representation of the Ldap Url.PluginException
- if the provided Ldap Url could not be parsed successfully.Entry newEntry(DN dn)
dn
- the distinguished name of this entry.Message newMessage(java.lang.String message)
message
- the String representation of the messageModification newModification(ModificationType modificationType, Attribute attribute)
modificationType
- the type of the new modification.attribute
- the attribute of the new modification.AVA newAttributeValueAssertion(AttributeType type, java.lang.Object value)
type
- the type of the new AVA.value
- the attribute value of the new AVA.SortKey newSortKey(java.lang.String attributeDescription, boolean isReverseOrder, java.lang.String orderingMatchingRule)
attributeDescription
- the name of the attribute to be sorted using this sort key.isReverseOrder
- true
if this sort key should be evaluated in reverse (descending) order.orderingMatchingRule
- the name or OID of the ordering matching rule, which should be used when comparing attributes using this sort key, or null
if the default ordering matching rule associated with the attribute should be used.Filter newFilter(java.lang.String filterAsString) throws PluginException
filterAsString
- the String representation of the filter.PluginException
- if the provided filter could not be parsed successfully.Filter newAndFilter(Filter... subFilters)
and
Filter with the provided sub-filters.subFilters
- The list of sub-filters, may be empty or null
.and
Filter.Filter newApproxMatchFilter(java.lang.String attributeDescription, ByteString assertionValue) throws PluginException
approximate match
Filter with the specified attribute description and assertion value.attributeDescription
- the String representation of the attribute description.assertionValue
- the assertion value.approximate match
FilterPluginException
- if the provided attribute description could not be parsed successfully.Filter newAndFilter(java.util.Collection<Filter> subFilters) throws PluginException
and
Filter with the provided sub-filters.subFilters
- The list of sub-filters, may be empty or null
.and
Filter.PluginException
- if one of the provided filters is invalid.Filter newGreaterOrEqualFilter(java.lang.String attributeDescription, ByteString assertionValue) throws PluginException
greater or equal
Filter with the specified attribute description and assertion value.attributeDescription
- the String representation of the attribute description.assertionValue
- the assertion value.greater or equal
FilterPluginException
- if the provided attribute description could not be parsed successfully.Filter newLessOrEqualFilter(java.lang.String attributeDescription, ByteString assertionValue) throws PluginException
less or equal
Filter with the specified attribute description and assertion value.attributeDescription
- the String representation of the attribute description.assertionValue
- the assertion value.less or equal
FilterPluginException
- if the provided attribute description could not be parsed successfully.Filter newPresentFilter(java.lang.String attributeDescription) throws PluginException
present
Filter with the specified attribute description and assertion value.attributeDescription
- the String representation of the attribute description.present
FilterPluginException
- if the provided attribute description could not be parsed successfully.Filter newOrFilter(Filter... subFilters) throws PluginException
or
Filter with the provided sub-filters.subFilters
- The list of sub-filters, may be empty or null
.or
Filter.PluginException
- if one of the provided filters is invalid.Filter newOrFilter(java.util.Collection<Filter> subFilters) throws PluginException
or
Filter with the provided sub-filters.subFilters
- The list of sub-filters, may be empty or null
.or
Filter.PluginException
- if one of the provided filters is invalid.Filter newNotFilter(Filter subFilter) throws PluginException
not
Filter with the provided sub-filter.subFilter
- The sub-filter.not
Filter.PluginException
- if the provided filter is invalid.Filter newEqualityMatchFilter(java.lang.String attributeDescription, ByteString assertionValue) throws PluginException
equality match
Filter with the specified attribute description and assertion value.attributeDescription
- the String representation of the attribute description.assertionValue
- the assertion value.equality match
FilterPluginException
- if the provided attribute description could not be parsed successfully.Filter newExtensibleMatchFilter(java.lang.String matchingRule, java.lang.String attributeDescription, ByteString assertionValue, boolean dnAttributes) throws PluginException
extensible match
Filter with the specified parameters.matchingRule
- the matching rule name, may be null
if attributeDescription
is specified.attributeDescription
- the attribute description, may be null
if matchingRule
is specified.assertionValue
- the assertion value.dnAttributes
- indicates whether DN matching should be performed.extensible match
Filter.PluginException
- if the provided attribute description could not be parsed successfully.Filter newSubstringsFilter(java.lang.String attributeDescription, ByteString initialSubstring, java.util.List<ByteString> anySubstrings, ByteString finalSubstring) throws PluginException
substrings
Filter with the specified parameters.attributeDescription
- the attribute description.initialSubstring
- the initial sub-string, may be null
if either finalSubstring
or anySubstrings
are specified.anySubstrings
- the final sub-string, may be null
or empty if either finalSubstring
or initialSubstring
are specified.finalSubstring
- the final sub-string, may be null
, may be null
if either initialSubstring
or anySubstrings
are specified.substrings
FilterPluginException
- if the provided attribute description could not be parsed successfully.Result newResult(ResultCode resultCode)
resultCode
- the result code contained in the new Result.SearchResultEntry newSearchResultEntry(DN dn)
dn
- the distinguished name of this search result entry.SearchResultReference newSearchResultReference(java.lang.String referral)
referral
- the referral for this search result reference.
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |