Package com.microstrategy.web.app.beans
Interface SecurityRoleUserEntitiesSelectorBean
-
- All Superinterfaces:
AppComponent
,EnumWebPersistableState
,Persistable
,RequestPersistable
,Transformable
,WebComponent
- All Known Implementing Classes:
SecurityRoleUserEntitiesSelectorBeanImpl
public interface SecurityRoleUserEntitiesSelectorBean extends AppComponent, RequestPersistable
This interface represents the bean used for selecting user entities for multiple projects.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleList
getProjects()
Returns the list of available projects based on teh session.UserEntitiesBean
getSelectedItems()
Returns the selected users or groups from thetarget bean
.java.lang.String
getSelectedProjectId()
Returns the id of the selected project.UserEntitiesBrowserBean
getUserEntitiesBrowserBean()
Returns the user entities browser associated with this beanvoid
setSelectedProjectId(java.lang.String projectId)
Sets the selected project based on the project Id.-
Methods inherited from interface com.microstrategy.web.app.beans.AppComponent
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getLeft, getResultFilterMode, getTop, isDialog, isForcedChildrenStateSaving, isModal, isModalOpen, isOpen, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setIsOpen, setLeft, setTop
-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.web.beans.RequestPersistable
restoreStateFromRequest, restoreStateFromRequest
-
Methods inherited from interface com.microstrategy.web.beans.Transformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, getBeanContext, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, getType, hasTransform, hasTransform, invalidateTransformCache, setBeanContext, transform, transform
-
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectData, collectMinimalData, generateOutput, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, getXMLStatus, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler
-
-
-
-
Method Detail
-
setSelectedProjectId
void setSelectedProjectId(java.lang.String projectId)
Sets the selected project based on the project Id.- Parameters:
projectId
- - id of the project to set as selected.
-
getSelectedProjectId
java.lang.String getSelectedProjectId()
Returns the id of the selected project.- Returns:
- the project id of the currently selected project. null if no project is selected.
-
getUserEntitiesBrowserBean
UserEntitiesBrowserBean getUserEntitiesBrowserBean()
Returns the user entities browser associated with this bean- Returns:
UserEntitiesBrowserBean
-
getSelectedItems
UserEntitiesBean getSelectedItems()
Returns the selected users or groups from thetarget bean
. The targetBean should be a security role beanSecurityRoleBean
- Returns:
- the selected users or groups.
- See Also:
WebComponent.getTargetBean()
-
getProjects
SimpleList getProjects() throws WebAppException
Returns the list of available projects based on teh session.- Returns:
- the list of projects
- Throws:
WebAppException
-
-