public abstract class IDPPBaseContainer extends Object implements IDPPContainer
IDPPBaseContainer
is base class for common
funcionality for any IDPPContainer.Constructor and Description |
---|
IDPPBaseContainer() |
Modifier and Type | Method and Description |
---|---|
protected com.sun.identity.liberty.ws.idpp.jaxb.AnalyzedNameType |
getAnalyzedName(Map userMap)
Gets AnalyzedName JAXB Object.
|
protected Set |
getAnalyzedNameAttributes()
Creates required set of attributes.
|
protected Map |
getAnalyzedNameMap(Object obj,
Map map)
Gets analzedname attributes in a hashmap.
|
protected Map |
getAttributeMap(String attr,
Object obj,
Map map)
Returns the caller map with updated attribute and the value from the
given data object.
|
protected AttributeMapper |
getAttributeMapper()
Gets Attribute Mapper
|
abstract Set |
getContainerAttributes()
Gets container attributes.
|
abstract Set |
getContainerAttributesForSelect(String select)
Gets the container attributes for select.
|
abstract Object |
getContainerObject(Map userMap)
Gets the container Object.
|
abstract Map |
getDataMapForSelect(String select,
List data)
Gets data map for select.
|
protected com.sun.identity.liberty.ws.idpp.jaxb.DSTDate |
getDSTDate(String value)
Gets a JAXB DSTDate object.
|
protected com.sun.identity.liberty.ws.idpp.jaxb.DSTInteger |
getDSTInteger(String value)
Gets a JAXB DSTInteger object.
|
protected com.sun.identity.liberty.ws.idpp.jaxb.DSTMonthDay |
getDSTMonthDay(String value)
Gets a JAXB DSTMonthDay object.
|
protected com.sun.identity.liberty.ws.idpp.jaxb.DSTString |
getDSTString(String value)
Gets a JAXB DSTString object.
|
protected com.sun.identity.liberty.ws.idpp.jaxb.DSTURI |
getDSTURI(String value)
Gets a JAXB DSTURI object.
|
protected Set |
getExtensionContainerAttributes()
Gets extension attribute
|
protected IDPPExtension |
getExtensionContainerClass()
Gets container extension
|
protected Set |
getMapperAttributeSet(Set set)
Gets the mapper attributes for a given IDPP attribute set.
|
void |
setUserDN(String user)
Sets user DN
|
Document |
toXMLDocument(Map userMap)
Converts into an XML document so that XPATH can be applied.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasBinaryAttributes
protected String userDN
public abstract Object getContainerObject(Map userMap) throws IDPPException
userMap
- the user MapIDPPException
public abstract Set getContainerAttributes()
getContainerAttributes
in interface IDPPContainer
public abstract Set getContainerAttributesForSelect(String select)
getContainerAttributesForSelect
in interface IDPPContainer
select
- Select Expressionpublic abstract Map getDataMapForSelect(String select, List data) throws IDPPException
getDataMapForSelect
in interface IDPPContainer
select
- Select expressiondata
- a ListIDPPException
protected Map getAttributeMap(String attr, Object obj, Map map)
attr
- IDPP attribute name.obj
- objectmap
- this map is passed by the caller to set the attribute
and the data value from the given object.protected Set getMapperAttributeSet(Set set)
set
- IDPP attribute setprotected com.sun.identity.liberty.ws.idpp.jaxb.DSTString getDSTString(String value)
value
- a String representing the value.protected com.sun.identity.liberty.ws.idpp.jaxb.DSTDate getDSTDate(String value)
value
- a String representing the value.protected com.sun.identity.liberty.ws.idpp.jaxb.DSTMonthDay getDSTMonthDay(String value)
value
- a String representing the value.protected com.sun.identity.liberty.ws.idpp.jaxb.DSTURI getDSTURI(String value)
value
- a String representing the value.protected com.sun.identity.liberty.ws.idpp.jaxb.DSTInteger getDSTInteger(String value)
value
- a String representing the value.protected com.sun.identity.liberty.ws.idpp.jaxb.AnalyzedNameType getAnalyzedName(Map userMap) throws IDPPException
userMap
- user mapIDPPException.
IDPPException
public Document toXMLDocument(Map userMap) throws IDPPException
toXMLDocument
in interface IDPPContainer
userMap
- user mapIDPPException
protected Set getAnalyzedNameAttributes()
protected Map getAnalyzedNameMap(Object obj, Map map) throws IDPPException
obj
- AnalyzedNameType JAXB object.map
- map that sets attribute/value pairs.IDPPException
protected AttributeMapper getAttributeMapper()
protected Set getExtensionContainerAttributes()
protected IDPPExtension getExtensionContainerClass()
public void setUserDN(String user)
setUserDN
in interface IDPPContainer
user
- userDNCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.