Package com.microstrategy.web.beans
Interface SecurityFilterBean
-
- All Superinterfaces:
EditableBean,EditableObjectBean,EnumWebPersistableState,ObjectBean,Persistable,RequestPersistable,Transformable,WebBean,WebComponent
public interface SecurityFilterBean extends EditableObjectBean
- Since:
- MicroStrategy Web 8.0.1
-
-
Field Summary
Fields Modifier and Type Field Description static intVIEWMODE_BROWSEView mode of browsing.static intVIEWMODE_EDITView mode of editing.-
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 WebDimtygetBottomLevel()ExpressionBeangetFilterExpression()WebDimtygetTopLevel()intgetViewMode()Returns the view mode, a value ofVIEWMODE_BROWSEorVIEWMODE_EDIT.booleanisFilterEmpty()Indicates whether the associated expression is empty .voidsave()Saves the changes done to the object represented by the bean.voidsetViewMode(int mode)Sets the view mode, a value ofVIEWMODE_BROWSEorVIEWMODE_EDIT.-
Methods inherited from interface com.microstrategy.web.beans.EditableBean
delete, duplicate, InitAsNew, refresh
-
Methods inherited from interface com.microstrategy.web.beans.EditableObjectBean
getFolderId, isNew, saveAs, setFolderId, setIsNew
-
Methods inherited from interface com.microstrategy.web.beans.ObjectBean
getBlockBegin, getBlockCount, getDisplayName, getFlags, getLevel, getObjectID, getObjectInfo, getObjectName, getObjectType, getParentFolderBean, getParentFolderBean, getParentID, setBlockBegin, setBlockCount, setFlags, setLevel, setObjectID, setObjectInfo, setObjectName, setObjectType
-
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.WebBean
getDocument, getErrorInfo, getSessionInfo, isStale, setSessionInfo, setStale
-
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
-
-
-
-
Field Detail
-
VIEWMODE_BROWSE
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.- See Also:
- Constant Field Values
-
VIEWMODE_EDIT
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.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilterExpression
ExpressionBean getFilterExpression() throws WebBeanException
- Throws:
WebBeanException
-
getTopLevel
WebDimty getTopLevel() throws WebBeanException
- Throws:
WebBeanException
-
getBottomLevel
WebDimty getBottomLevel() throws WebBeanException
- Throws:
WebBeanException
-
save
void save() throws WebBeanException
Description copied from interface:EditableBeanSaves the changes done to the object represented by the bean.- Specified by:
savein interfaceEditableBean- Throws:
WebBeanException- Thrown if error occurs during the process.
-
getViewMode
int getViewMode()
Returns the view mode, a value ofVIEWMODE_BROWSEorVIEWMODE_EDIT. view mode will affect the way the bean to populat and to save the state.- Returns:
- int The view mode.
-
setViewMode
void setViewMode(int mode)
Sets the view mode, a value ofVIEWMODE_BROWSEorVIEWMODE_EDIT.- Parameters:
mode- int The new view mode.- See Also:
getViewMode()
-
isFilterEmpty
boolean isFilterEmpty()
Indicates whether the associated expression is empty .- Returns:
- true if the associated expression is empty.
-
-