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

All Superinterfaces:
IPrincipalBizPolicy, IViewablePolicy

public interface IUserBizPolicy
extends IPrincipalBizPolicy

User business policy


Method Summary
 void clearStartPage(IContext context, IURI userURI)
          Clears a user's start Page back to the default start page
 IThingID getPortalStyle(IContext context, IURI userURI)
          Retrieve the current users portal style.
 void setPageSize(IContext context, IURI userURI, int pageSize)
          Sets a user's Paging size
 void setPortalStyle(IContext context, IURI userURI, IThingID resourceURI)
          Sets a user's Portal Style
 void setStartPage(IContext context, IURI userURI, IThingID resourceURI)
          Sets a user's start Page.
 
Methods inherited from interface com.webmethods.portal.bizPolicy.biz.dir.IPrincipalBizPolicy
getGroupMembership, getMembers, getRoleMembership
 
Methods inherited from interface com.webmethods.portal.bizPolicy.biz.view.IViewablePolicy
getIcon, getPagingCookie, getPagingCookie, pageBackward, pageForeward, setPagingCookie, view
 

Method Detail

setStartPage

void setStartPage(IContext context,
                  IURI userURI,
                  IThingID resourceURI)
                  throws BizException
Sets a user's start Page.

Parameters:
context - the current users context
userURI - the target user
resourceURI - the uri of the user's start page
Throws:
BizException - if command fails because access was denied or a datasource error occured.

clearStartPage

void clearStartPage(IContext context,
                    IURI userURI)
                    throws BizException
Clears a user's start Page back to the default start page

Parameters:
context - the current users context
userURI - the target user
Throws:
BizException - if command fails because access was denied or a datasource error occured.

setPortalStyle

void setPortalStyle(IContext context,
                    IURI userURI,
                    IThingID resourceURI)
                    throws BizException
Sets a user's Portal Style

Parameters:
context - the current users context
userURI - the target user
resourceURI - the uri of the selected portalStyle
Throws:
BizException - if command fails because access was denied or a datasource error occured.

setPageSize

void setPageSize(IContext context,
                 IURI userURI,
                 int pageSize)
                 throws BizException
Sets a user's Paging size

Parameters:
context - the current users context
userURI - the target user
pageSize - the page size to set, 0 to set to default
Throws:
BizException - if command fails because access was denied or a datasource error occured.

getPortalStyle

IThingID getPortalStyle(IContext context,
                        IURI userURI)
                        throws BizException
Retrieve the current users portal style.

Parameters:
context - the current users context
userURI - the target user
Returns:
Throws:
BizException - if command fails because access was denied or a datasource error occured.