Package com.isode.dsapi.config
Class DSE
java.lang.Object
com.isode.dsapi.config.DSE
All knowledge entries in the DSAIT cache. Stores the original entries and
modifications to them.
- Since:
- 15.0
- Author:
- dsm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a child DSE.void
Add a child DSE.dseType()
Get the DSE type.Get a child DSE.getAttr
(AttributeType type) Get an attribute of the entry.For iterating over the set of children.getDN()
Get the DN.getEntry()
Get the stored entrygetRDN()
Get the RDN.protected void
Set the entry contents.
-
Constructor Details
-
DSE
Construct from an entry.- Parameters:
entry
- Entry
-
DSE
Construct a dummy DSE from DN.- Parameters:
dn
- DN
-
-
Method Details
-
setEntry
Set the entry contents. dseType would be set to null if it can't be determined.- Parameters:
inEntry
- Entry
-
getRDN
Get the RDN.- Returns:
- RDN of stored entry
-
getDN
Get the DN.- Returns:
- DN of stored entry
-
addChild
Add a child DSE.- Parameters:
dse
- child to add using DSE object
-
addChild
Add a child DSE.- Parameters:
entry
- child to add using entry object
-
dseType
Get the DSE type.- Returns:
- DSE type
-
getAttr
Get an attribute of the entry.- Parameters:
type
- attribute type- Returns:
- Return the found attribute or null if not present.
-
findChild
Get a child DSE.- Parameters:
rdn
- RDN of child- Returns:
- Child DSE or null if not found
-
getChildren
For iterating over the set of children.- Returns:
- Set of children, won't be null
-
getEntry
Get the stored entry- Returns:
- entry
-