Interface IUserBizPolicy
- All Superinterfaces:
IBizPolicy
,IComponent
,IInitializable
,IPrincipalBizPolicy
,ISystemHandler
,IViewableContainerPolicy
,IViewablePolicy
User business policy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearStartPage
(IContext context, IURI userURI) Clears a user's start Page back to the default start pagegetPortalStyle
(IContext context, IURI userURI) Retrieve the current users portal style.void
setPageSize
(IContext context, IURI userURI, int pageSize) Sets a user's Paging sizevoid
setPortalStyle
(IContext context, IURI userURI, IThingID resourceURI) Sets a user's Portal Stylevoid
setStartPage
(IContext context, IURI userURI, IThingID resourceURI) Sets a user's start Page.Methods 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.dir.IPrincipalBizPolicy
getGroupMembership, getMembers, getRoleMembership
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
-
setStartPage
Sets a user's start Page.- Parameters:
context
- the current users contextuserURI
- the target userresourceURI
- the uri of the user's start page- Throws:
BizException
- if command fails because access was denied or a datasource error occured.
-
clearStartPage
Clears a user's start Page back to the default start page- Parameters:
context
- the current users contextuserURI
- the target user- Throws:
BizException
- if command fails because access was denied or a datasource error occured.
-
setPortalStyle
Sets a user's Portal Style- Parameters:
context
- the current users contextuserURI
- the target userresourceURI
- the uri of the selected portalStyle- Throws:
BizException
- if command fails because access was denied or a datasource error occured.
-
setPageSize
Sets a user's Paging size- Parameters:
context
- the current users contextuserURI
- the target userpageSize
- 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
Retrieve the current users portal style.- Parameters:
context
- the current users contextuserURI
- the target user- Returns:
- Throws:
BizException
- if command fails because access was denied or a datasource error occured.
-