java.lang.Object | ||||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | |||
↳ | com.microstrategy.web.beans.AbstractTransformable | |||
↳ | com.microstrategy.web.beans.AbstractWebComponent | |||
↳ | com.microstrategy.web.beans.AssociatedSchedulesBeanImpl |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ATTRIBUTE_BEAN_HEADER | ||||||||||
String | ATT_BEAN_TYPE | ||||||||||
String | ATT_HOW_MUCH_STATE | ||||||||||
String | DATA_EXPLORER_BEAN_HEADER | ||||||||||
String | DELIMITOR | ||||||||||
String | DOCUMENT_BEAN_HEADER | ||||||||||
String | EXPRESSION_BEAN_HEADER | ||||||||||
String | FILTER_BEAN_HEADER | ||||||||||
String | FOLDER_BEAN_HEADER | ||||||||||
String | INBOX_BEAN_HEADER | ||||||||||
String | PERFORMANCE_MONITOR_BEAN_HEADER | ||||||||||
String | PROMPTDEF_BEAN_HEADER | ||||||||||
String | PROMPTS_BEAN_HEADER | ||||||||||
String | REPORT_BEAN_HEADER | ||||||||||
String | RW_BEAN_HEADER | ||||||||||
String | SEPARATOR |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean | _hasCollectedData | A flag indicating that the XML request to collect data has been executed | |||||||||
protected int | _status |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AssociatedSchedulesBeanImpl() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
collectData()
Triggers execution to the back end no matter whether it is synchronous or
asynchronous.
| ||||||||||
void |
collectMinimalData()
This is similar to
collectData() except data collected is minimal. | ||||||||||
MarkupOutput |
generateOutput()
This is the generic method to ask the WebComponent to generate some output for the client.
| ||||||||||
WebAssociatedSchedules |
getAssociatedSchedulesForObject()
retrieve the associated schedules with report or RWD
| ||||||||||
String | getDescriptor(int key) | ||||||||||
String | getDescriptor(String key) | ||||||||||
Document |
getDocument()
Returns a
org.w3c.dom.Document parsed from the XML
representation of this bean. | ||||||||||
WebBeanError |
getErrorInfo()
Returns a
WebBeanError object indicating processing error
during the collectData method call. | ||||||||||
WebIServerSubscriptionTrigger | getISSTriger(String id) | ||||||||||
WebAssociatedSchedules |
getProjectAssociatedSchedules()
retrieve the associated schedules with project in the Preference page
| ||||||||||
WebAssociatedSchedules |
getProjectLevelSchedules()
retrieve the associated schedules with project in report or RWD option page
| ||||||||||
WebSessionInfo |
getSessionInfo()
Returns the
WebSessionInfo instance from this bean. | ||||||||||
TransformInstance |
getTransformInstance(String key)
Returns the
TransformInstance object with the specified key. | ||||||||||
Enumeration |
getTransformInstances()
Retuns a
java.util.Enumeration over all the
TransformInstance objects. | ||||||||||
int |
getType()
Returns the transformable type as in
EnumWebTransformableType . | ||||||||||
int |
getXMLStatus()
This method returns the
EnumRequestStatus status of the current Component. | ||||||||||
boolean |
hasTransform()
Returns a boolean value indicating whether there is a default
TransformInstance object. | ||||||||||
boolean |
hasTransform(String key)
Returns a boolean value indicating whether there is such a
TransformInstance object with the specified key. | ||||||||||
boolean |
isStale()
Returns a boolean value indicating whether the content of this bean
is stale.
| ||||||||||
void |
setSessionInfo(WebSessionInfo sessionInfo)
Sets a new
WebSessionInfo instance on this bean. | ||||||||||
void |
setStale(boolean stale)
Sets a flag indicating whether this bean is stale or fresh.
| ||||||||||
void |
setWebEventHandler(WebEventHandler handler)
Associate with this component a
WebEventHandler instance. | ||||||||||
void | setXMLStatus(int status) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TransformInstance |
addTransform(Transform transform, String key)
Adds a transform to itself and all the child beans which support the transform and returns a
TransformInstance of the last child bean it was added to. | ||||||||||
void | checkBeanType(AttributesXt attrs, String expected) | ||||||||||
void | checkHowMuchState(AttributesXt attrs) | ||||||||||
void |
doCollectData()
Override this method in sub classes to implement the collectData method.
| ||||||||||
void | doCollectMinimalData() | ||||||||||
void | doFlatState(FlatStateSerializer ser, int howMuchState, FlatStateTokenizer tok) | ||||||||||
AbstractHandler | getStateHandler() | ||||||||||
void |
internalCollectData(boolean collectOnError, boolean collectOnProcessing)
Overriding method should not only throw
WebBeanException , but also
sets error info if possible. | ||||||||||
void |
internalCollectData(boolean collectOnError)
Overriding method should not only throw
WebBeanException , but also
sets error info if possible. | ||||||||||
void |
internalCollectData()
This method internally calls the method collectData if the method collectData has not
yet been called.
| ||||||||||
void | invalidateAllTransformCaches() | ||||||||||
boolean |
isTransformSuitable(Transform t)
This method is called in the addTransform methods.
| ||||||||||
BeanContext |
newDefaultBeanContext()
This method is called by getBeanContext() to automatically create an instance of a BeanContext
if one has not been explicitly set.
| ||||||||||
WebEventHandler | newDefaultEventHandler() | ||||||||||
StyleRequestContext | newStyleRequestContext() | ||||||||||
void | reset() | ||||||||||
void |
saveXMLState(XMLStateSerializer builder, int howMuchState)
Saves the component state
| ||||||||||
void | setErrorInfo(WebBeanError beanErr) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
A flag indicating that the XML request to collect data has been executed
Triggers 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.
WebBeanException |
---|
This is similar to collectData()
except data collected is minimal. This
is essentially a check to ensure everything is ok, but that we don't need any data.
After invoking this operation, see getXMLStatus()
and getErrorInfo()
for details.
WebBeanException |
---|
This is the generic method to ask the WebComponent to generate some output for the client.
The type of output should be determined by the OutputFormat property (setOutputFormat(int)
).
MarkupOutput
object.
retrieve the associated schedules with report or RWD
Returns a org.w3c.dom.Document
parsed from the XML
representation of this bean.
WebBeanException |
---|
Returns a WebBeanError
object indicating processing error
during the collectData
method call. Null is returned
if there is no error.
WebBeanError
object; null if there is no error.
IllegalArgumentException | |
---|---|
WebObjectsException |
retrieve the associated schedules with project in the Preference page
retrieve the associated schedules with project in report or RWD option page
Returns the WebSessionInfo
instance from this bean.
A WebSessionInfo
object is where you can get or set
the session ID to the intelligence server, user credentials and
localization, etc.
WebSessionInfo
instance.
Returns the TransformInstance
object with the specified key.
key | the key of a TransformInstance . |
---|
TransformInstance
object with the specified
key.KeyDoesNotExistException |
---|
Retuns a java.util.Enumeration
over all the
TransformInstance
objects.
java.util.Enumeration
over all the
TransformInstance objects.
Returns the transformable type as in EnumWebTransformableType
.
This method returns the EnumRequestStatus
status of the current Component.
EnumRequestStatus
of the current page.
Returns a boolean value indicating whether there is a default
TransformInstance
object.
Returns a boolean value indicating whether there is such a
TransformInstance
object with the specified key.
key | the key of a Transform |
---|
TransformInstance
with the specified key.
Returns a boolean value indicating whether the content of this bean is stale.
Sets a new WebSessionInfo
instance on this bean.
A WebSessionInfo
object is where you can get or set
the session ID to the intelligence server, user credentials and
localization, etc.
sessionInfo | a WebSessionInfo instance.
|
---|
IllegalArgumentException |
---|
Sets a flag indicating whether this bean is stale or fresh.
stale | true if this bean is stale. |
---|
Associate with this component a WebEventHandler
instance.
A WebComponent has one to one relationship with a WebEventHandler instance. This method first removes any existing handler associated with this component, and then sets the new one on it.
This method calls the method setWebComponent(WebComponent)
.
Therefore, the WebEventHandler implementator should be careful
to avoid cyclic reference to each other between this component and
the event handler.
handler | the WebEventHandler instance to set. |
---|
Adds a transform to itself and all the child beans which support the transform and returns a
TransformInstance
of the last child bean it was added to.
IllegalArgumentException | |
---|---|
SAXSupportException |
Override this method in sub classes to implement the collectData method.
WebBeanException |
---|
Overriding method should not only throw WebBeanException
, but also
sets error info if possible.
collectOnError | will attempt to collect data even if object in in error. |
---|---|
collectOnProcessing | will attempt to collect data even if object is in processing. |
WebBeanException |
---|
Overriding method should not only throw WebBeanException
, but also
sets error info if possible.
collectOnError | will attempt to collect data even if object in in error. |
---|
WebBeanException |
---|
This method internally calls the method collectData if the method collectData has not yet been called. Otherwise it does nothing.
WebBeanException |
---|
This method is called in the addTransform methods. It verifies that the passed transform is suitable for this object. Default implementation simply calls transform's supports method.
This method is called by getBeanContext() to automatically create an instance of a BeanContext if one has not been explicitly set.
Saves the component state
builder | a XMLStateSerializer object |
---|---|
howMuchState | how much state to save (EnumWebPersistableState) |