public class

SecurityRoleUserEntitiesSelectorBeanImpl

extends AbstractPersistableAppComponent
implements SecurityRoleUserEntitiesSelectorBean
java.lang.Object
   ↳ com.microstrategy.utils.serialization.AbstractPersistable
     ↳ com.microstrategy.web.beans.AbstractTransformable
       ↳ com.microstrategy.web.beans.AbstractWebComponent
         ↳ com.microstrategy.web.app.beans.AbstractAppComponent
           ↳ com.microstrategy.web.app.beans.AbstractPersistableAppComponent
             ↳ com.microstrategy.web.app.beans.SecurityRoleUserEntitiesSelectorBeanImpl

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
SecurityRoleUserEntitiesSelectorBeanImpl()
SecurityRoleUserEntitiesSelectorBeanImpl(boolean needEventHandler)
Public Methods
void doCollectData()
Call the required methods so the data is collected for this instance
SimpleList getProjects()
Returns the list of available projects based on teh session.
UserEntitiesBean getSelectedItems()
Returns the selected users or groups from the target bean.
String getSelectedProjectId()
Returns the id of the selected project.
UserEntitiesBrowserBean getUserEntitiesBrowserBean()
Returns the user entities browser associated with this bean
void setSelectedProjectId(String projectId)
Sets the selected project based on the project Id.
Protected Methods
UserEntitiesBean doCollectSelectedItems()
void doFlatState(FlatStateSerializer ser, int howMuchState, FlatStateTokenizer tok)
Proceses the save/restore state opperation of the AppComponent
AbstractHandler getStateHandler()
WebEventHandler newDefaultEventHandler()
void saveXMLState(XMLStateSerializer builder, int howMuchState)
Saves the component state
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From class com.microstrategy.web.app.beans.AbstractAppComponent
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
From class com.microstrategy.utils.serialization.AbstractPersistable
From class java.lang.Object
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.SecurityRoleUserEntitiesSelectorBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public SecurityRoleUserEntitiesSelectorBeanImpl ()

public SecurityRoleUserEntitiesSelectorBeanImpl (boolean needEventHandler)

Public Methods

public void doCollectData ()

Call the required methods so the data is collected for this instance

public SimpleList getProjects ()

Returns the list of available projects based on teh session.

Returns
  • the list of projects

public UserEntitiesBean getSelectedItems ()

Returns the selected users or groups from the target bean. The targetBean should be a security role bean SecurityRoleBean

Returns
  • the selected users or groups.

public String getSelectedProjectId ()

Returns the id of the selected project.

Returns
  • the project id of the currently selected project. null if no project is selected.

public UserEntitiesBrowserBean getUserEntitiesBrowserBean ()

Returns the user entities browser associated with this bean

public void setSelectedProjectId (String projectId)

Sets the selected project based on the project Id.

Parameters
projectId - id of the project to set as selected.

Protected Methods

protected UserEntitiesBean doCollectSelectedItems ()

protected void doFlatState (FlatStateSerializer ser, int howMuchState, FlatStateTokenizer tok)

Proceses the save/restore state opperation of the AppComponent

Parameters
ser an instance of the FlatStateSerializer object to use
howMuchState defines how much information needs to be saved
tok an instance of the FlatStateTokenizer object to use

protected AbstractHandler getStateHandler ()

protected WebEventHandler newDefaultEventHandler ()

protected void saveXMLState (XMLStateSerializer builder, int howMuchState)

Saves the component state

Parameters
builder a XMLStateSerializer object
howMuchState how much state to save (EnumWebPersistableState)