Class AbstractAppComponent
- java.lang.Object
-
- com.microstrategy.utils.serialization.AbstractPersistable
-
- com.microstrategy.web.beans.AbstractTransformable
-
- com.microstrategy.web.beans.AbstractWebComponent
-
- com.microstrategy.web.app.beans.AbstractAppComponent
-
- All Implemented Interfaces:
EnumWebPersistableState,Persistable,AppComponent,Transformable,WebComponent
- Direct Known Subclasses:
AbstractPersistableAppComponent,CreditsBean
public abstract class AbstractAppComponent extends AbstractWebComponent implements AppComponent
Title: AbstractAppComponent.
Description: This class provides a skeleton for all
WebComponentobjects implemented in the com.microstrategy.web.app.beans package.These objects represent the different beans available to the application that interact with the web componenets provided by the com.microstrategy.web.beans package. The application web components generaly represent editors, toolbars and containers that aid the user in the presentation and manipulation of web components such as the
ReportBean,FolderBean,DocumentBean, etc. The class' intention is to facilitate the implementation of the application's web components and support the common functionality these objects must provide.Among the methods provided by this class we can find:
- collectData(), responsible for calling the doCollectData() method that should be implemented on each application web component, and cascading down a this invocation to all children on the component's hierarchy.
- setBaseBean(String beanName)/getBaseBean(), where you can indicate the bean, usually a ReportBean or DocumentBean, the application web component is associated with.
- setTargetBean(WebComponent bean)/getTargetBean(), similar to the baseBean property described, but accepts and return the actual instance of the associated web component, not just its name.
- generateOutput(), when called, this call will trigger the rendering of the
web component, using its default transform. A transform can become the bean's
default transform by using the setDefault() method present in the
TransformInstanceinterface or by being the first transform set to the web component, either through code or through the pageConfig.xml file.
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.beans.AbstractWebComponent
_features, _hasJustOpened
-
Fields inherited from class com.microstrategy.web.beans.AbstractTransformable
_beanContext
-
Fields inherited from class com.microstrategy.utils.serialization.AbstractPersistable
scriptEndTagEncoder
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractAppComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddChildStateInfo(ParameterBuilder paramBldr)Adds children state information into an existingParameterBuilderinstance.voidcollectData()Triggers execution to the back end no matter whether it is synchronous or asynchronous.voidcollectMinimalData()Triggers execution to the back end no matter whether it is synchronous or asynchronous.protected booleancompareChildsTargetWithCurrent()The implementing class should implement this method to return true if it wants to always call the current object's targetBean#hasChanged method in #hasTargetBeanChanged method.protected TransformInstancecreateTransformInstance(Transform transform)voiddoCollectData()Call the required methods so the data is collected for this instancevoiddoCollectMinimalData()By default this method simply invokesdoCollectData(), i.e. by default it will retrieve as much data asdoCollectData()is defined to do so.MarkupOutputgenerateOutput()Generates the output of a bean.AppContextgetAppContext()This method returns the application context object associated with this component.java.lang.StringgetContactInfo()Deprecated.Use Preferences.getValue(EnumWebPreferences.WebPreferenceAdminInfo) instead.protected ContainerServicesgetContainerServices()Convenience method to retrieve the connected Container Services object.java.lang.StringgetDescriptor(int key)Retrieve the descriptor when the key is an integer value...java.lang.StringgetDescriptor(java.lang.String key)Retrieve the descriptor when the key is a stringEventManagergetEventManager()This method returns the application EventManager used to generates events.java.lang.StringgetExtraInput()Get any extra input form information to be used when generating form information on the transforms associated with this instance.java.lang.StringgetExtraUrl()Get any extra url information to be used when generating link information on the transforms associated with this instance.WebFeaturesgetFeaturesManager()Return the WebFeatures implementation associated with this WebComponentintgetLeft()Get the left position where the bean should be displayed by the transform if applicableprotected WebObjectSourcegetObjectSource()intgetResultFilterMode()protected WebIServerSessiongetSession()WebComponentgetTargetBean()Get the target bean associated with this instanceintgetTop()Get the top position where the bean should be displayed by the transform if applicableintgetType()Returns the transformable type as inEnumWebTransformableType.protected WebObjectsFactorygetWebObjectsFactory()protected static WebObjectsFactorygetWebObjectsFactory(WebBean wb)Utility method for obtaining aWebObjectsFactoryinstanceintgetXMLStatus()Returns theEnumRequestStatusstatus of the component.booleanhasChanged()Verifies the state of the component has changedprotected booleanhasTargetBeanChanged()When this method is called, we have already checked the children and each of the children has returned with hasChanged() as false.protected booleanhaveChildrenChanged()protected WebComponentinitComponent(WebComponent bean, java.lang.String suffix)Initialize a WebComponent as child of this FrameBean.protected voidinternalCollectData()This method is called internally by the transform() method to ensure collectData has been triggered and the bean is ready to transform.booleanisDialog()Returns true if this bean should be treated as a dialogbooleanisForcedChildrenStateSaving()Return wheter the bean's children will be save their states or not despite it's open or closed state.protected booleanisIFrameRequest()Utility method that determines if it's an IFrame type of request.booleanisModal()The property is used to determine wheter the component will be displayed as a floating (popup) dialog with modal property.booleanisModalOpen()indicates whether there is a Modal AppComponent open in the hierarchybooleanisOpen()Returns a boolean value indicating if the instance is marked as opened or closed.protected BeanContextnewDefaultBeanContext()This method is called by getBeanContext() to automatically create an instance of a BeanContext if one has not been explicitly set.protected ParameterBuildernewHiddenInputBuilder()Convenience method to retrieve a new instance of a Hidden Input Builder from the connected Container Services object.protected NamespaceEncodernewNamespaceEncoder()Convenience method to retrieve a new instance of a Namespace Encoder from the connected Container Services object.protected StyleRequestContextnewStyleRequestContext()protected ParameterBuildernewURIBuilder()Convenience method to retrieve a new instance of a URI Builder from the connected Container Services object.voidsetExtraInput(java.lang.String newValue)Set any extra input form information to be used when generating form information on the transforms associated with this instance.voidsetExtraUrl(java.lang.String newValue)Set any extra url information to be used when generating link information on the transforms associated with this instance.voidsetForcedChildrenStateSaving(boolean value)Forces the bean to propagate its children to save state despite it's open or closed state.voidsetHasJustOpened(boolean value)Sets whether the component has just been opened.voidsetIsDialog(boolean value)Set method for defining if the instance is to be defined as a Dialog or not.voidsetIsModal(boolean value)Set method for defining if the instance is to be defined as a Modal interface or not.voidsetIsOpen(boolean value)Set the current instance as opened.voidsetLeft(int x)Set the left position where the bean should be displayed by the transform if applicable.voidsetOutputFormat(int outputFormat)Sets the output format ofEnumBeanOutputFormatfor the current WebComponent.voidsetTop(int y)Set the top osition where the bean should be displayed by the transform if applicable.-
Methods inherited from class com.microstrategy.web.beans.AbstractWebComponent
addChild, addChildStateInfo, addChildStateInfo, addChildStateInfo, addChildStateInfo, addStateInfo, childValues, clearChildren, clearStateCache, getCachedState, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, handleRequest, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isChangeComparisonFlagSet, isFeatureAvailable, newDefaultEventHandler, prepareForReuse, removeChild, removeChild, restoreState, restoreStateFromRequest, restoreStateFromRequest, saveXMLState, saveXMLState, saveXMLState, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setParent, setPersistMode, setRenderingFilter, setStateCache, setTargetBean, setTargetBeanPath, setWebEventHandler
-
Methods inherited from class com.microstrategy.web.beans.AbstractTransformable
addTransform, addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, createTransformInstance, getBeanContext, getDefaultTransform, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, hasTransform, hasTransform, internalCollectData, internalCollectData, invalidateTransformCache, isTransformSuitable, transform, transform, transform, transform
-
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, doFlatState, getStateHandler, isXMLStateZipped, restoreState, restoreXMLState, saveState, saveState, saveState, saveState, saveXMLState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.beans.Transformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, getBeanContext, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, hasTransform, hasTransform, invalidateTransformCache, setBeanContext, transform, transform
-
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, handleRequest, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler
-
-
-
-
Method Detail
-
getAppContext
public AppContext getAppContext()
This method returns the application context object associated with this component. To set this context, useWebComponent.setBeanContext(com.microstrategy.web.beans.BeanContext)passing in an application context object.- Specified by:
getAppContextin interfaceAppComponent- Returns:
AppContext
-
newDefaultBeanContext
protected BeanContext newDefaultBeanContext()
Description copied from class:AbstractTransformableThis method is called by getBeanContext() to automatically create an instance of a BeanContext if one has not been explicitly set.- Overrides:
newDefaultBeanContextin classAbstractTransformable- Since:
- MicroStrategy Web 9.0.0
-
getXMLStatus
public int getXMLStatus()
Returns theEnumRequestStatusstatus of the component. The status determined by by the status of its children with the following precedence.EnumRequestStatus.WebBeanRequestEndsInErrorEnumRequestStatus.WebBeanRequestCanceledEnumRequestStatus.WebBeanRequestProcessingEnumRequestStatus.WebBeanRequestNotInitiatedEnumRequestStatus.WebBeanRequestWaitingForUserInputEnumRequestStatus.WebBeanRequestSuccessful- Specified by:
getXMLStatusin interfaceWebComponent- Returns:
- an
EnumRequestStatusenumeration value for the component.
-
internalCollectData
protected void internalCollectData() throws WebBeanExceptionThis method is called internally by the transform() method to ensure collectData has been triggered and the bean is ready to transform.- Overrides:
internalCollectDatain classAbstractTransformable- Throws:
WebBeanException- thrown if there is severe errors when collecting data- See Also:
AbstractTransformable.internalCollectData(boolean)
-
generateOutput
public MarkupOutput generateOutput()
Generates the output of a bean. It transforms the bean- Specified by:
generateOutputin interfaceWebComponent- Returns:
- the bean's output
-
doCollectData
public void doCollectData()
Call the required methods so the data is collected for this instance- Since:
- MicroStrategy Web 8.0.0
-
doCollectMinimalData
public void doCollectMinimalData()
By default this method simply invokes
doCollectData(), i.e. by default it will retrieve as much data asdoCollectData()is defined to do so. It is strongly recommended to override this method, and provide an implementation that retrieves the minimal amount of data.The purpose of this method is to allow this component to be subjected to the normal workflow, but not entail retrieving any more than the minimal amount of data.
For example, there are scenarios when a change is made on a page, but the user then temporarily switches to another page before returning to the original page. While the user is on the other page, we can perform a minimal collect data of the components from the original page since we would not need the data.
- Since:
- MicroStrategy Web 9.0.0
-
collectData
public void collectData() throws WebBeanExceptionTriggers execution to the back end no matter whether it is synchronous or asynchronous. If this method fails to collect data, an exception is raised and saved in a WebBeanError instance. IfisOpen(), this method will first perform adoCollectData(), then proceeds to callcollectData()on all child componentsAbstractWebComponent.getChild(int).- Specified by:
collectDatain interfaceWebComponent- Overrides:
collectDatain classAbstractWebComponent- Throws:
WebBeanException- thrown if there is any exception
-
collectMinimalData
public void collectMinimalData() throws WebBeanExceptionTriggers execution to the back end no matter whether it is synchronous or asynchronous. If this method fails to collect data, an exception is raised and saved in a WebBeanError instance. IfisOpen(), this method will first perform adoCollectMinimalData(), then proceeds to callcollectMinimalData()on all child componentsAbstractWebComponent.getChild(int).- Specified by:
collectMinimalDatain interfaceWebComponent- Overrides:
collectMinimalDatain classAbstractWebComponent- Throws:
WebBeanException- thrown if an error occurs during this operation.- Since:
- MicroStrategy Web 9.0.0
-
getContactInfo
@Deprecated public java.lang.String getContactInfo()
Deprecated.Use Preferences.getValue(EnumWebPreferences.WebPreferenceAdminInfo) instead.Returns the administrator contact info as defined in theEnumWebPreferences.WebPreferenceAdminInfopreferences. If the preference is null or the beanContext is not set, it returns an empty string.- Returns:
- The admin contact info.
-
getDescriptor
public java.lang.String getDescriptor(int key)
Retrieve the descriptor when the key is an integer value...- Specified by:
getDescriptorin interfaceAppComponent- Parameters:
key- The key of the string to use- Returns:
- the corresponding descriptor
-
getDescriptor
public java.lang.String getDescriptor(java.lang.String key)
Retrieve the descriptor when the key is a string- Specified by:
getDescriptorin interfaceAppComponent- Parameters:
key- The key of the string to use- Returns:
- the corresponding descriptor
-
getType
public int getType()
Returns the transformable type as inEnumWebTransformableType.- Specified by:
getTypein interfaceTransformable- Returns:
- the transformable type.
-
getEventManager
public EventManager getEventManager()
This method returns the application EventManager used to generates events.- Specified by:
getEventManagerin interfaceAppComponent- Returns:
EventManager
-
getWebObjectsFactory
protected static WebObjectsFactory getWebObjectsFactory(WebBean wb)
Utility method for obtaining aWebObjectsFactoryinstance- Parameters:
wb-WebBeanfrom where the factory is to be obtained.- Returns:
WebObjectsFactoryinitialized instance.
-
isIFrameRequest
protected boolean isIFrameRequest()
Utility method that determines if it's an IFrame type of request.- Returns:
booleanvalue indicating if the request is of type IFrame or not. By default it is based only on information available on theRequestKeysassociated with this instance.
-
setExtraUrl
public void setExtraUrl(java.lang.String newValue)
Set any extra url information to be used when generating link information on the transforms associated with this instance.- Specified by:
setExtraUrlin interfaceAppComponent- Parameters:
newValue-Stringwith any extra url information to use
-
getExtraUrl
public java.lang.String getExtraUrl()
Get any extra url information to be used when generating link information on the transforms associated with this instance.- Specified by:
getExtraUrlin interfaceAppComponent- Returns:
Stringwith any extra url information to use
-
setExtraInput
public void setExtraInput(java.lang.String newValue)
Set any extra input form information to be used when generating form information on the transforms associated with this instance.- Specified by:
setExtraInputin interfaceAppComponent- Parameters:
newValue-Stringwith any extra input form information to use
-
getExtraInput
public java.lang.String getExtraInput()
Get any extra input form information to be used when generating form information on the transforms associated with this instance.- Specified by:
getExtraInputin interfaceAppComponent- Returns:
Stringwith any extra input form information to use
-
setHasJustOpened
public void setHasJustOpened(boolean value)
Sets whether the component has just been opened.- Specified by:
setHasJustOpenedin interfaceAppComponent- Parameters:
value- hasJustOpend or not- Since:
- MicroStrategy Web 8.1.1
- See Also:
AppComponent.setHasJustOpened(boolean)
-
setIsOpen
public void setIsOpen(boolean value)
Set the current instance as opened. This method will have no effect if the instance is defined as a dialog (isDialog()property should returnFalse).- Specified by:
setIsOpenin interfaceAppComponent- Parameters:
value-booleanvalue indicating if the instance should be defined as opened (True) or closed (False).- Since:
- MicroStrategy Web 8.0.0
-
isOpen
public boolean isOpen()
Returns a boolean value indicating if the instance is marked as opened or closed.- Specified by:
isOpenin interfaceAppComponent- Returns:
booleanvalue ofTrueif the instance is marked as opened, it will returnFalseotherwise. By default, instances not marked as dialogs (isDialog()property returning False) will have a browser setting associated with them that should indicate if they are opened or closed. The parent hierarchy is also tested to be in opened state as well as dependent beans not to be in error.- Since:
- MicroStrategy Web 8.0.0
-
isDialog
public boolean isDialog()
Description copied from interface:AppComponentReturns true if this bean should be treated as a dialog- Specified by:
isDialogin interfaceAppComponent- Returns:
booleanvalue indicating if the instance has been defined as a Dialog or not.- Since:
- MicroStrategy Web 8.0.0
-
setIsDialog
public void setIsDialog(boolean value)
Set method for defining if the instance is to be defined as a Dialog or not.- Specified by:
setIsDialogin interfaceAppComponent- Parameters:
value-booleanvalue indicating if the instance will be handled as a Dialog (True) or not.- Since:
- MicroStrategy Web 8.0.0
-
setIsModal
public void setIsModal(boolean value)
Set method for defining if the instance is to be defined as a Modal interface or not. By default, if the instance is marked as Modal, it will also be defined as a Dialog.- Specified by:
setIsModalin interfaceAppComponent- Parameters:
value-booleanvalue indicating if the instance will be handled as Modal (True) or not.- Since:
- MicroStrategy Web 8.0.0
-
isModal
public boolean isModal()
The property is used to determine wheter the component will be displayed as a floating (popup) dialog with modal property. When a modal dialog is open the user will not be able to click anywehre in the interface other that the dialog until the dialog is cloesed. the- Specified by:
isModalin interfaceAppComponent- Returns:
booleanvalue indicating if the instance has been defined as a Modal interface (True) or not.- Since:
- MicroStrategy Web 8.0.0
-
getTargetBean
public WebComponent getTargetBean()
Get the target bean associated with this instance- Specified by:
getTargetBeanin interfaceWebComponent- Overrides:
getTargetBeanin classAbstractWebComponent- Returns:
WebComponentinstance associated with this bean. By default if the base bean property has been defined, the target bean to return is the corresponding instance associated with the name and path specified. If nothing has been specified then it will return the firstEnumWebTransformableType.WEB_BEAN_REPORT,EnumWebTransformableType.WEB_BEAN_DOCUMENTorEnumWebTransformableType.WEB_BEAN_RWinstance found.- Since:
- MicroStrategy Web 8.0.0
-
setLeft
public void setLeft(int x)
Set the left position where the bean should be displayed by the transform if applicable.- Specified by:
setLeftin interfaceAppComponent- Parameters:
x- Coordinate indicating the new left position of the bean- Since:
- MicroStrategy Web 8.0.0
-
setTop
public void setTop(int y)
Set the top osition where the bean should be displayed by the transform if applicable.- Specified by:
setTopin interfaceAppComponent- Parameters:
y- Coordinate indicating the new top position of the bean- Since:
- MicroStrategy Web 8.0.0
-
getLeft
public int getLeft()
Get the left position where the bean should be displayed by the transform if applicable- Specified by:
getLeftin interfaceAppComponent- Returns:
- integer where the coordinate to use is saved
- Since:
- MicroStrategy Web 8.0.0
-
getTop
public int getTop()
Get the top position where the bean should be displayed by the transform if applicable- Specified by:
getTopin interfaceAppComponent- Returns:
- integer where the coordinate to use is saved
- Since:
- MicroStrategy Web 8.0.0
-
hasChanged
public boolean hasChanged()
Description copied from class:AbstractWebComponentVerifies the state of the component has changed- Specified by:
hasChangedin interfaceWebComponent- Overrides:
hasChangedin classAbstractWebComponent- Returns:
booleanvalue indicating if the current instance or its base bean (if any defined) has been marked as changed.- Since:
- MicroStrategy Web 8.0.0
-
haveChildrenChanged
protected boolean haveChildrenChanged()
- Overrides:
haveChildrenChangedin classAbstractWebComponent- Since:
- MicroStrategy Web 9.0.0
-
hasTargetBeanChanged
protected boolean hasTargetBeanChanged()
When this method is called, we have already checked the children and each of the children has returned with hasChanged() as false. If #compareChildsTargetWithCurrent method returns true, then we check if any of the child's target bean is same as this object's target bean and return true if this is the case. If you want to check the targetbean of this component, then override compareChildsTargetWithCurrent to return true- Since:
- MicroStrategy Web 9.0.0
-
compareChildsTargetWithCurrent
protected boolean compareChildsTargetWithCurrent()
The implementing class should implement this method to return true if it wants to always call the current object's targetBean#hasChanged method in #hasTargetBeanChanged method.- Returns:
- a boolean to compare the children's target with the current target.
- Since:
- MicroStrategy Web 9.0.0
-
getFeaturesManager
public WebFeatures getFeaturesManager()
Return the WebFeatures implementation associated with this WebComponent- Specified by:
getFeaturesManagerin interfaceWebComponent- Overrides:
getFeaturesManagerin classAbstractWebComponent- Returns:
- a WebFeatures instance
- Since:
- MicroStrategy Web 8.0.0
-
setOutputFormat
public void setOutputFormat(int outputFormat)
Sets the output format ofEnumBeanOutputFormatfor the current WebComponent.- Specified by:
setOutputFormatin interfaceWebComponent- Overrides:
setOutputFormatin classAbstractWebComponent- Parameters:
outputFormat- the output format ofEnumBeanOutputFormat.- Since:
- MicroStrategy Web 8.0.0
-
setForcedChildrenStateSaving
public void setForcedChildrenStateSaving(boolean value)
Forces the bean to propagate its children to save state despite it's open or closed state. However whether to save its own state or not is up to individual children bean to decide.- Specified by:
setForcedChildrenStateSavingin interfaceAppComponent- Since:
- MicroStrategy Web 8.1.1
-
isForcedChildrenStateSaving
public boolean isForcedChildrenStateSaving()
Return wheter the bean's children will be save their states or not despite it's open or closed state. However whether to save its own state or not is up to individual children bean to decide.- Specified by:
isForcedChildrenStateSavingin interfaceAppComponent- Since:
- MicroStrategy Web 8.1.1
-
addChildStateInfo
public void addChildStateInfo(ParameterBuilder paramBldr)
Description copied from interface:WebComponentAdds children state information into an existingParameterBuilderinstance. It is up to the suppliedParameterBuilderto determine how this information is serialized. EachWebComponentthe hierarchy serializes its state according to its ownWebComponent.getDefaultStateLevel().- Specified by:
addChildStateInfoin interfaceWebComponent- Overrides:
addChildStateInfoin classAbstractWebComponent- Parameters:
paramBldr- TheParameterBuilderinstance which has child state information added to it.- Since:
- MicroStrategy Web 9.0.0
-
isModalOpen
public boolean isModalOpen()
indicates whether there is a Modal AppComponent open in the hierarchy- Specified by:
isModalOpenin interfaceAppComponent- Returns:
boolean. true is a Modal AppComponent is open in the hierarchy- Since:
- MicroStrategy Web 9.0.1
-
getContainerServices
protected ContainerServices getContainerServices()
Convenience method to retrieve the connected Container Services object. If anything fails along the way, returns null.- Returns:
- The ContainerServices instance.
- Since:
- MicroStrategy Web 8.0.0
-
newURIBuilder
protected ParameterBuilder newURIBuilder()
Convenience method to retrieve a new instance of a URI Builder from the connected Container Services object. If anything fails along the way, returns null.- Returns:
- The ParameterBuilder instance to use for building URIs.
- Since:
- MicroStrategy Web 8.0.0
-
newHiddenInputBuilder
protected ParameterBuilder newHiddenInputBuilder()
Convenience method to retrieve a new instance of a Hidden Input Builder from the connected Container Services object. If anything fails along the way, returns null.- Returns:
- The ParameterBuilder instance to use for building Hidden Input strings.
- Since:
- MicroStrategy Web 8.0.0
-
newNamespaceEncoder
protected NamespaceEncoder newNamespaceEncoder()
Convenience method to retrieve a new instance of a Namespace Encoder from the connected Container Services object. If anything fails along the way, returns null.- Returns:
- The NamespaceEncoder instance to use for encoding names.
- Since:
- MicroStrategy Web 8.0.0
-
getResultFilterMode
public int getResultFilterMode()
- Specified by:
getResultFilterModein interfaceAppComponent- Since:
- MicroStrategy Web 8.1.1
-
initComponent
protected WebComponent initComponent(WebComponent bean, java.lang.String suffix)
Initialize a WebComponent as child of this FrameBean. It inherits common properties, such as BeanContext, and output format. It also adds it as a child- Parameters:
bean- The bean to initializesuffix- the name to add to the bean. This name will be prefixed with the name of the bean- Returns:
- the same bean, but now initialized.
- Since:
- MicroStrategy Web 9.0.0
-
getSession
protected WebIServerSession getSession()
- Since:
- MicroStrategy Web 9.0.0
-
getWebObjectsFactory
protected WebObjectsFactory getWebObjectsFactory()
- Since:
- MicroStrategy Web 9.0.0
-
getObjectSource
protected WebObjectSource getObjectSource()
- Since:
- MicroStrategy Web 9.0.0
-
newStyleRequestContext
protected StyleRequestContext newStyleRequestContext()
- Overrides:
newStyleRequestContextin classAbstractWebComponent- Since:
- MicroStrategy Web 9.0.0
-
createTransformInstance
protected TransformInstance createTransformInstance(Transform transform)
- Overrides:
createTransformInstancein classAbstractTransformable- Since:
- MicroStrategy Web 9.0.1
-
-