Interface IPrincipalBizPolicy
- All Superinterfaces:
IBizPolicy
,IComponent
,IInitializable
,ISystemHandler
,IViewableContainerPolicy
,IViewablePolicy
- All Known Subinterfaces:
IGroupBizPolicy
,IUserBizPolicy
Provides service level biz policies (commands) for principals
-
Method Summary
Modifier and TypeMethodDescriptiongetGroupMembership
(IContext context, IURI principalURI) Retrieve the group membership for this principalgetMembers
(IContext context, IURI principalURI) Assuming this is a role or group, return the members of this collection.getRoleMembership
(IContext context, IURI principalURI) Retrieve the role membership for this principalMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.bizPolicy.biz.view.IViewableContainerPolicy
getPagingCookie, getPagingCookie, pageBackward, pageForeward, setPagingCookie
Methods inherited from interface com.webmethods.portal.bizPolicy.biz.view.IViewablePolicy
getIcon, view
-
Method Details
-
getGroupMembership
Retrieve the group membership for this principal- Parameters:
context
-principalURI
-- Returns:
- the
IDirPrincipalList
- Throws:
BizException
-
getRoleMembership
Retrieve the role membership for this principal- Parameters:
context
-principalURI
-- Returns:
- the
IDirPrincipalList
- Throws:
BizException
-
getMembers
Assuming this is a role or group, return the members of this collection. Not valid for users- Parameters:
context
-principalURI
-- Returns:
- a list of members
- Throws:
BizException
-