Package com.microstrategy.web.objects
Interface WebFeatures
-
- All Known Subinterfaces:
WebAttribute
,WebAttributeForm
,WebBlob
,WebChangeJournalSearch
,WebCommandManagerScript
,WebConstantPrompt
,WebConstantPromptAnswer
,WebCustomGroup
,WebDBConnection
,WebDBLogin
,WebDBMS
,WebDBRole
,WebDerivedElement
,WebDevice
,WebDimension
,WebDimtyPrompt
,WebDimtyPromptAnswer
,WebElementsPrompt
,WebElementsPromptAnswer
,WebExpressionPrompt
,WebExpressionPromptAnswer
,WebFilter
,WebFilterBase
,WebFolder
,WebFormat
,WebFunction
,WebIAM
,WebInterfaceLanguage
,WebIServerSubscriptionDevice
,WebIServerSubscriptionTrigger
,WebLink
,WebLocaleObjectInfo
,WebMDSecurityFilter
,WebMetric
,WebMonitor
,WebObjectInfo
,WebObjectsPrompt
,WebObjectsPromptAnswer
,WebPalette
,WebPerformanceMonitor
,WebProject
,WebPrompt
,WebPromptAnswer
,WebPropertySet
,WebReusableThresholds
,WebScheduleEvent
,WebScheduleTrigger
,WebScheduleTriggerEvent
,WebScheduleTriggerTime
,WebScheduleTriggerTimeDaily
,WebScheduleTriggerTimeMonthly
,WebScheduleTriggerTimeWeekly
,WebScheduleTriggerTimeYearly
,WebScriptRuntimeEnv
,WebSearch
,WebSecurityRole
,WebServerDef
,WebShortcut
,WebSubscriptionsSource
,WebTable
,WebTableSource
,WebTemplate
,WebTheme
,WebTimePrompt
,WebTransmitter
,WebUser
,WebUserEntity
,WebUserGroup
,WebWallet
- All Known Implementing Classes:
AbstractAppWebFeatures
,AbstractWebFeatures
,AccordionTabManagerBeanFeaturesImpl
,AggregatedWebFeatures
,DefaultViewBeanFeaturesImpl
,GlobalFeaturesImpl
,ObjectBrowserManagerBeanFeaturesImpl
,PageComponentFeaturesImpl
,PreferenceSettingPageComponentFeaturesImpl
,ReportWorkingSetBrowserTabBeanFeaturesImpl
,RWContainerFeatures
,RWOIVMFeatures
,RWPageComponentFeaturesImpl
,ServerAdminFeatures
,ThresholdEditorBeanFeaturesImpl
,WebBlobImpl
,WebChangeJournalSearchImpl
,WebDBMSImpl
,WebDerivedElementsHelper
,WebDossierPersonalViewShortcutImpl
,WebEmailDeviceImpl
,WebEmailTransmitterImpl
,WebFileDeviceImpl
,WebFTPDeviceImpl
,WebIAMImpl
,WebMobileDeviceImpl
,WebPrinterDeviceImpl
,WebReportDefinitionImpl
,WebReusableThresholdsImpl
,WebScriptRuntimeEnvImpl
,WebSyncRecommendationFolder
,WebSyncSearchFolder
,WebTransmitterImpl
,WebWalletImpl
public interface WebFeatures
The WebFeatures interface can be used to determine whether a specific feature is available to the user.
A WebFeature is a generic term for a variety of preferences, privileges, settings, etc. that can be used to control the availability of functionality in MicroStrategy Web applications. Some general examples of Web Features include:- the current context of the application.
Specific example:- Whether the browser supports HTML or not
- Whether a certain preference is on or off
- the current functionality available to the user
Specific example:- Whether the user can access the history list, based on the user's privileges
- Whether the user can view a particular report, based on the user's privileges
- a specific setting for a specific object operation
Specific example:- Whether a report is in outline mode
- Whether grid headers are locked on a report
- Whether the user can view a particular report, based on the user's privileges
The purpose of Web Features is to allow you to create conditional functionality, by basing the availability of functionality on whether a specific feature (or set of features) is true or false. In all cases, a Web Feature is either true or false.
Some examples of conditional functionality that can be associated with a Web Feature include:- whether a shortcut is displayed on a toolbar, is active, or is selected by default
- whether a menu entry is displayed, is active, or is selected by default (checked)
- whether a system-picker is displayed, is active, or is selected by default (checked)
- whether a shortcut is part of a page template
- whether a user has access to a page
- whether a bean is instantiated in a request
- whether a Web component is refreshed after an iFrame request
- whether a property is assigned to a bean
- whether a certain block of javascript is used in a page
- what content is included in a JSP or ASP.NET file
- what content is included in an XML layout file
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isFeatureAvailable(java.lang.String feature)
Returns whether the given feature is available or not.boolean
isFeatureAvailable(java.lang.String feature, java.lang.Object dependencyObject)
Returns whether the given feature is available or not.
-
-
-
Method Detail
-
isFeatureAvailable
boolean isFeatureAvailable(java.lang.String feature)
Returns whether the given feature is available or not.- Parameters:
feature
- The feature to check for, fromEnumWebObjectsFeatures
.- Returns:
- Whether the given feature is available.
-
isFeatureAvailable
boolean isFeatureAvailable(java.lang.String feature, java.lang.Object dependencyObject)
Returns whether the given feature is available or not.- Parameters:
feature
- The feature to check for, fromEnumWebObjectsFeatures
.dependencyObject
- A dependency object which can be used as an additional parameter for certain feature types.- Returns:
- Whether the given feature is available.
-
-