com.webmethods.portal.bizPolicy.biz.dir
Interface IPrincipalBizPolicy

All Superinterfaces:
IViewablePolicy
All Known Subinterfaces:
IGroupBizPolicy, IUserBizPolicy

public interface IPrincipalBizPolicy
extends IViewablePolicy

Provides service level biz policies (commands) for principals


Method Summary
 IDirPrincipalList getGroupMembership(IContext context, IURI principalURI)
          Retrieve the group membership for this principal
 IDirPrincipalList getMembers(IContext context, IURI principalURI)
          Assuming this is a role or group, return the members of this collection.
 IDirPrincipalList getRoleMembership(IContext context, IURI principalURI)
          Retrieve the role membership for this principal
 
Methods inherited from interface com.webmethods.portal.bizPolicy.biz.view.IViewablePolicy
getIcon, getPagingCookie, getPagingCookie, pageBackward, pageForeward, setPagingCookie, view
 

Method Detail

getGroupMembership

IDirPrincipalList getGroupMembership(IContext context,
                                     IURI principalURI)
                                     throws BizException
Retrieve the group membership for this principal

Parameters:
context -
principalURI -
Returns:
the com.webmethods.portal.service.dir.IDirPrincipalList
Throws:
BizException

getRoleMembership

IDirPrincipalList getRoleMembership(IContext context,
                                    IURI principalURI)
                                    throws BizException
Retrieve the role membership for this principal

Parameters:
context -
principalURI -
Returns:
the IDirPrincipalList
Throws:
BizException

getMembers

IDirPrincipalList getMembers(IContext context,
                             IURI principalURI)
                             throws BizException
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