public class

SimplePageComponentImpl

extends NewWindowPageComponentImpl
java.lang.Object
   ↳ com.microstrategy.utils.serialization.AbstractPersistable
     ↳ com.microstrategy.web.beans.AbstractTransformable
       ↳ com.microstrategy.web.beans.AbstractWebComponent
         ↳ com.microstrategy.web.app.beans.AbstractAppComponent
           ↳ com.microstrategy.web.app.beans.AbstractPersistableAppComponent
             ↳ com.microstrategy.web.app.beans.NewWindowPageComponentImpl
               ↳ com.microstrategy.web.app.beans.SimplePageComponentImpl

Class Overview

This class inherits all the functionality from the com.microstrategy.web.app.beans.PageComponentImpl implementation, but updates the way the page title is calculated. The title to generate will come directly from the description of the page as specified on the page configuration file, regardless of the bean details included on it.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From interface com.microstrategy.utils.serialization.EnumWebPersistableState
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.PageComponent
[Expand]
Inherited Fields
From class com.microstrategy.web.app.beans.NewWindowPageComponentImpl
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
Public Constructors
SimplePageComponentImpl()
Public Methods
String getTitle()
Returns the pages's title.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.beans.NewWindowPageComponentImpl
From class com.microstrategy.web.app.beans.AbstractPersistableAppComponent
From class com.microstrategy.web.app.beans.AbstractAppComponent
From class com.microstrategy.web.beans.AbstractWebComponent
From class com.microstrategy.web.beans.AbstractTransformable
From class com.microstrategy.utils.serialization.AbstractPersistable
From class java.lang.Object
From interface com.microstrategy.utils.serialization.Persistable
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.PageComponent
From interface com.microstrategy.web.beans.RequestPersistable
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Constructors

public SimplePageComponentImpl ()

Public Methods

public String getTitle ()

Returns the pages's title. This method dynamically sets the title of the page, depending on:

  1. If the user has set title using the setTitle(String) method, that title is used.
  2. If the first child of the page is of any of the expected types, the title is used based on the bean.
  3. If the PageInfo contains a desc-id, the resource associated with the desc-id is used
  4. If the PageInfo contains a description, the description is used
  5. The name of the page.
      The expected bean types are:
      • ReportFrameBean: the objectName of the associated ReportBean is used. The title will depend as well in the status of the bean (i.e., if it's processing the name is prefixed with Executing ()
      • DocumentFrameBean: the objectName of the associated DocumentBean is used. The title will depend as well in the status of the bean
      • ObjectBean: it's object name
      • PreferencesBean: the name of the current group set.

Returns
  • The title of this page
See Also
  • getTitle()