public class SubtreeSpecificationModifier extends Object
| Modifier and Type | Field and Description |
|---|---|
private Dn |
base
the subtree base relative to the administration point
|
private Set<Dn> |
chopAfter
the set of subordinates entries whose subordinates are to be excluded
|
private Set<Dn> |
chopBefore
the set of subordinates entries and their subordinates to exclude
|
private ExprNode |
filter
a filter using only assertions on objectClass attributes for subtree
refinement
|
private int |
maxBaseDistance
the maximum distance from base past which entries are excluded
|
private int |
minBaseDistance
the minimum distance below base to start including entries
|
| Constructor and Description |
|---|
SubtreeSpecificationModifier() |
| Modifier and Type | Method and Description |
|---|---|
SubtreeSpecification |
getSubtreeSpecification()
Creates a SubtreeSpecification using any of the default paramters that
may have been modified from their defaults.
|
void |
setBase(Dn base)
Sets the subtree base relative to the administration point.
|
void |
setChopAfterExclusions(Set<Dn> chopAfterExclusions)
Sets the set of subordinates entries whose subordinates are to be
excluded.
|
void |
setChopBeforeExclusions(Set<Dn> chopBeforeExclusions)
Sets the set of subordinates entries and their subordinates to exclude.
|
void |
setFilter(ExprNode filter)
Sets a filter
|
void |
setMaxBaseDistance(int maxBaseDistance)
Sets the maximum distance from base past which entries are excluded.
|
void |
setMinBaseDistance(int minBaseDistance)
Sets the minimum distance below base to start including entries.
|
void |
setRefinement(ExprNode refinement)
Sets a filter using only assertions on objectClass attributes for subtree
refinement.
|
private Dn base
private Set<Dn> chopBefore
private Set<Dn> chopAfter
private int minBaseDistance
private int maxBaseDistance
private ExprNode filter
public SubtreeSpecification getSubtreeSpecification()
public void setBase(Dn base)
base - subtree base relative to the administration pointpublic void setChopBeforeExclusions(Set<Dn> chopBeforeExclusions)
chopBeforeExclusions - the set of subordinates entries and their subordinates to
excludepublic void setChopAfterExclusions(Set<Dn> chopAfterExclusions)
chopAfterExclusions - the set of subordinates entries whose subordinates are to be
excludedpublic void setMinBaseDistance(int minBaseDistance)
minBaseDistance - the minimum distance below base to start including entriespublic void setMaxBaseDistance(int maxBaseDistance)
maxBaseDistance - the maximum distance from base past which entries are excludedpublic void setRefinement(ExprNode refinement)
refinement - a filter using only assertions on objectClass attributes for
subtree refinementpublic void setFilter(ExprNode filter)
filter - a filterCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.