|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.dir.AttributeProviderModel
public class AttributeProviderModel
A provider for a map of attribute models. Used to access an attribute models, based on the principal URI and provider thing Id.
Field Summary | |
---|---|
protected Map |
fAttrsMap
|
protected IPrincipalAttributeBizPolicy |
fPapBizPolicy
|
protected IContext |
fPortalContext
|
protected IURI |
fPrincipalURI
|
protected IThingID |
fProviderThingID
|
Constructor Summary | |
---|---|
AttributeProviderModel()
Default constructor. |
|
AttributeProviderModel(IThingID providerThingID,
IURI principalURI)
Create an attribute provider model from a provider thing Id and principal URI. |
Method Summary | |
---|---|
AttributeModel |
getAttributeModel(String attributeName)
Get the attribute model by its name. |
AttributeModel[] |
getAttributeModels()
Get the array of attribute models stored in this provider. |
String[] |
getAttributeNames()
Get an array of names for all the attribute models in this provider. |
protected Map |
getAttributesMap()
Get the map of attribute models stored in this provider. |
String |
getDisplayName()
Get the display name for this attribute. |
protected IContext |
getPortalContext()
Acquire a portal context and cache it. |
protected IPrincipalAttributeBizPolicy |
getPrincipalAttributeBizPolicy()
Get the biz policy for handling principal attributes. |
IURI |
getPrincipalURI()
Get the principal URI. |
IThingID |
getProviderThingID()
Set the provider thing Id. |
protected void |
initialize(IThingID providerThingID,
IURI principalURI)
Copies the supplied values into the classes members. |
void |
setPrincipalURI(IURI principalURI)
Set the principal URI. |
void |
setProviderThingID(IThingID providerThingID)
Set the provider thing Id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IThingID fProviderThingID
protected IURI fPrincipalURI
protected Map fAttrsMap
protected transient IContext fPortalContext
protected transient IPrincipalAttributeBizPolicy fPapBizPolicy
Constructor Detail |
---|
public AttributeProviderModel()
public AttributeProviderModel(IThingID providerThingID, IURI principalURI)
providerThingID
- The provider thing Id.principalURI
- The principal URI.Method Detail |
---|
protected void initialize(IThingID providerThingID, IURI principalURI)
providerThingID
- The provider thing Id.principalURI
- The principal URIpublic IURI getPrincipalURI()
public void setPrincipalURI(IURI principalURI)
principalURI
- The principal URI.public IThingID getProviderThingID()
providerThingID
- The provider thing Id.public void setProviderThingID(IThingID providerThingID)
providerThingID
- The provider thing Id.public String getDisplayName()
protected IContext getPortalContext()
protected IPrincipalAttributeBizPolicy getPrincipalAttributeBizPolicy() throws BizException
BizException
public String[] getAttributeNames()
public AttributeModel[] getAttributeModels()
public AttributeModel getAttributeModel(String attributeName)
attributeName
- The name of the attribute.
protected Map getAttributesMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |