Class GroupModel
java.lang.Object
com.webmethods.caf.faces.bean.PageFlowScopeAdapter
com.webmethods.caf.faces.data.dir.PrincipalModel
com.webmethods.caf.faces.data.dir.GroupModel
- All Implemented Interfaces:
IPageFlowScopeAdapter
,IGroupProvider
,IPrincipalProvider
,Externalizable
,Serializable
Base interface implementation for groups content provider.
- Since:
- 7.0
- See Also:
-
Field Summary
Fields inherited from class com.webmethods.caf.faces.data.dir.PrincipalModel
fDirPrincipal, fDirSysBizPolicy, fPapBizPolicy, fPortalContext, fPrincipalAttributes, fPrincipalBizPolicy, fProvidersMap
Fields inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
fExpireWithPageFlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet display name for this principal.Get a list of principals members of this group object.int
Get the type of principal used by this model.Methods inherited from class com.webmethods.caf.faces.data.dir.PrincipalModel
clear, equals, getAttributeProvider, getAttributeProviders, getAttributeProvidersMap, getAttributes, getDirPrincipal, getDirSystemBizPolicy, getEmail, getIconURL, getLink, getPortalContext, getPrincipalAttributeBizPolicy, getPrincipalBizPolicy, getPrincipalDN, getPrincipalID, getPrincipalURI, getPrincipalURIAsString, readExternal, setDirPrincipal, setPrincipalAlias, setPrincipalDN, setPrincipalID, setPrincipalURI, toString, writeExternal
Methods inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
getExpireWithPageFlow, setExpireWithPageFlow
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.webmethods.caf.faces.data.dir.IPrincipalProvider
getAttributes, getEmail, getIconURL, getLink, getPrincipalDN, getPrincipalID, getPrincipalURIAsString, setPrincipalAlias, setPrincipalDN, setPrincipalID
-
Constructor Details
-
GroupModel
public GroupModel()Default constructor. Provides info for the current user unless the setPrincipalURI is called with a different principal.
-
-
Method Details
-
getPrincipalType
public int getPrincipalType()Get the type of principal used by this model.- Specified by:
getPrincipalType
in classPrincipalModel
- Returns:
IDirConstants.TYPE_GROUP
-
getDisplayName
Get display name for this principal.- Specified by:
getDisplayName
in interfaceIPrincipalProvider
- Specified by:
getDisplayName
in classPrincipalModel
- Returns:
- The display name for this principal.
-
getMembers
Get a list of principals members of this group object.- Specified by:
getMembers
in interfaceIGroupProvider
- Returns:
- List of
IPrincipalProvider
.
-