public interface

SecurityFilterBean

implements EditableObjectBean
com.microstrategy.web.beans.SecurityFilterBean

Summary

Constants
int VIEWMODE_BROWSE View mode of browsing.
int VIEWMODE_EDIT View mode of editing.
[Expand]
Inherited Constants
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
Public Methods
abstract WebDimty getBottomLevel()
abstract ExpressionBean getFilterExpression()
abstract WebDimty getTopLevel()
abstract int getViewMode()
Returns the view mode, a value of VIEWMODE_BROWSE or VIEWMODE_EDIT.
abstract boolean isFilterEmpty()
Indicates whether the associated expression is empty .
abstract void save()
Saves the changes done to the object represented by the bean.
abstract void setViewMode(int mode)
Sets the view mode, a value of VIEWMODE_BROWSE or VIEWMODE_EDIT.
[Expand]
Inherited Methods
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.beans.EditableBean
From interface com.microstrategy.web.beans.EditableObjectBean
From interface com.microstrategy.web.beans.ObjectBean
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebBean
From interface com.microstrategy.web.beans.WebComponent

Constants

public static final int VIEWMODE_BROWSE

View mode of browsing. In this mode, bean only need to populate some basic object information. In this mode, the bean will assume no change made to the bean and only save limited information in the state, which is enough for it to re-populate the information from backend.

Constant Value: 1 (0x00000001)

public static final int VIEWMODE_EDIT

View mode of editing. In this mode, bean will populate all information relate to this object for editing. During the saving state, it will check whether the bean has been modified to decide how to save the state. Any change to the bean will be saved and restored later.

Constant Value: 2 (0x00000002)

Public Methods

public abstract WebDimty getBottomLevel ()

public abstract ExpressionBean getFilterExpression ()

public abstract WebDimty getTopLevel ()

public abstract int getViewMode ()

Returns the view mode, a value of VIEWMODE_BROWSE or VIEWMODE_EDIT. view mode will affect the way the bean to populat and to save the state.

Returns
  • int The view mode.

public abstract boolean isFilterEmpty ()

Indicates whether the associated expression is empty .

Returns
  • true if the associated expression is empty.

public abstract void save ()

Saves the changes done to the object represented by the bean.

public abstract void setViewMode (int mode)

Sets the view mode, a value of VIEWMODE_BROWSE or VIEWMODE_EDIT.

Parameters
mode int The new view mode.
See Also