java.lang.Object | |||||
↳ | com.microstrategy.web.transform.AbstractTransform | ||||
↳ | com.microstrategy.web.transform.AbstractLayoutTransform | ||||
↳ | com.microstrategy.web.app.transforms.AbstractAppTransform | ||||
↳ | com.microstrategy.web.admin.transforms.AbstractAdminTransform | ||||
↳ | com.microstrategy.web.admin.transforms.ConnectedServersTransform |
This transform is used to render all the connected servers on the Administrator page.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CONN_COLUMN_ACTION | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_ALL | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_BUSY | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_CLUSTER | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_CONNMODE | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_FREE | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_LOADED | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_MAXPOOL | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_NAME | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
int | CONN_COLUMN_PROPERTIES | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
String | FP_CONNECTED_LEVEL_FLAG | This constant is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
String | FP_ICON_HOME_IMAGE |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected int | _connectedLevelFlag | This field is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
protected String | _imgIconHomeRed | ||||||||||
public FormalParameter | connectedLevelFlag | This field is deprecated. Usage of level flags have been deprecated in favor of the layout-definition files. To change the elements visible for this transform modify the corresponding layout.xml | |||||||||
protected String | cssHR | ||||||||||
protected String | cssHeader | ||||||||||
protected String | cssHeading | ||||||||||
protected String | cssNoServers | ||||||||||
protected String | cssOtherDetails | ||||||||||
protected String | cssServerName | ||||||||||
protected String | cssSubmitButton | ||||||||||
protected String | cssTable | ||||||||||
public FormalParameter | imgIconHomeRed | Name of the image used to indicate the home icon. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ConnectedServersTransform()
Default empty constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnchorTag |
generateAnchorForServerAdmin(WebEvent event)
This method will return an
AnchorTag whose target-base is
not to current controller (e.g. | ||||||||||
AnchorTag |
generateAnchorForWeb(WebEvent event)
This method will return an
AnchorTag whose target-base is
not to current controller (e.g. | ||||||||||
AnchorTag | generateAnchorForWebAdmin(WebEvent event) | ||||||||||
String |
getClusterCSS(WebCluster cluster)
Return the css class name that belongns to the current cluster
| ||||||||||
int |
getClusterIndex(WebCluster cluster)
For the given cluster, returns its position within the clusters collection.
| ||||||||||
String |
getClusterName(WebCluster cluster)
For the given cluster, returns its name.
| ||||||||||
Enumeration |
getClusterNodes(WebCluster cluster)
Returns an enumeration of
WebClusterNode interfaces that are in the cluster. | ||||||||||
int |
getClusterSize(WebCluster cluster)
For the given cluster, returns its size.
| ||||||||||
String |
getConnectMode(WebClusterNode clusterNode)
For the given cluster node, returns the connection mode stored in the sys default Preferences.
| ||||||||||
String |
getDescription()
Returns the textual description of the transform
| ||||||||||
WebEvent |
getDisconnectServerEvent(WebClusterNode clusterNode)
Returns the event to use to disconnect the given server.
| ||||||||||
WebEvent |
getModifyServerProperties(WebClusterNode clusterNode)
Returns the event to use to open the modify server properties page/dialog.
| ||||||||||
WebEvent |
getOpenHomeEvent()
Returns the open-home event.
| ||||||||||
WebEvent |
getOpenServerAdmin(WebClusterNode clusterNode)
Returns the event to open the desktop page for server-admin.
| ||||||||||
int |
getServerBusyConnections(WebClusterNode clusterNode)
For the given cluster node, returns the number of busy connections.
| ||||||||||
int |
getServerFreeConnections(WebClusterNode clusterNode)
For the given cluster node, returns the number of free connections.
| ||||||||||
int |
getServerLoad(WebClusterNode clusterNode)
For the given cluster node, returns it's current load.
| ||||||||||
String |
getServerName(WebClusterNode clusterNode)
For the given cluster node, returns the corresponding intelligence server name.
| ||||||||||
int |
getServerPoolSize(WebClusterNode clusterNode)
For the given cluster node, returns the current connection pool size.
| ||||||||||
boolean |
hasNextCluster(WebCluster cluster)
Helper method for the layout to determine if there are more clusters to render
| ||||||||||
boolean |
hasNextServer(WebClusterNode clusterNode)
Helper method for the layout to determine if there are more servers to render
| ||||||||||
void |
initializeCss()
Initializes the Css Class Strings to be used by this transform.
| ||||||||||
void |
initializeImages()
Initialize the images to be used by this transform.
| ||||||||||
void |
initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
| ||||||||||
boolean |
isAutoConnect(WebClusterNode clusterNode)
For the given cluster node, returns
true if Microstrategy Web is configured to
automatically connect to it as soon as it's available. | ||||||||||
boolean |
isClusterListEmpty()
Returns
true if the clusters list is empty. | ||||||||||
boolean |
isFirstClusterNode(WebCluster cluster, WebClusterNode clusterNode)
Returns
true if the cluster node is the first one within the given cluster. | ||||||||||
void |
renderClusterIndex(MarkupOutput out, WebCluster cluster)
For a single cluster, renders its position within the clusters collection.
| ||||||||||
void |
renderClusterName(MarkupOutput out, WebCluster cluster)
For a single cluster, renders its position within the clusters collection.
| ||||||||||
void | renderConfigureServersLink(MarkupOutput out) | ||||||||||
void |
renderConnectedServersTitle(MarkupOutput out)
Render the connected servers title
| ||||||||||
void |
renderDisconnectServer(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders the button to disconnect from this server.
| ||||||||||
void |
renderEmptyList(MarkupOutput out)
Method used when there are no connected servers.
| ||||||||||
void |
renderHomeLink(MarkupOutput out)
Renders a link to Microstrategy Web home page:
| ||||||||||
void |
renderIcon(MarkupOutput out, WebCluster cluster)
Render the HTML corresponding to the icon of the cluster
| ||||||||||
void |
renderModifyServerProperties(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders a link to modify server properties.
| ||||||||||
void |
renderServerAdminLink(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders a link to modify server properties.
| ||||||||||
void |
renderServerBusyConnections(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders the number of busy connections.
| ||||||||||
void |
renderServerConnectionMode(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders whether Microstrategy Web is configured to
automatically connect to it as soon as it's available.
| ||||||||||
void |
renderServerConnectionPoolSize(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders the current connection pool size.
| ||||||||||
void |
renderServerFreeConnections(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders the number of free connections.
| ||||||||||
void |
renderServerList(MarkupOutput out)
Method used when there are connected servers.
| ||||||||||
void |
renderServerLoad(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders it's current load.
| ||||||||||
void |
renderServerName(MarkupOutput out, WebClusterNode clusterNode)
For a single cluster node, renders the corresponding intelligence server name.
| ||||||||||
void |
transformForRequestSuccessful(MarkupOutput out)
Transform when the status of the bean which is transformed by this transform is "Successful".
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
generateHeader(RowTag tr, String header)
Generates a single header.
| ||||||||||
void |
generateHeaders(TableTag table)
Generates the row with the titles for the columns in the given
TableTag | ||||||||||
void |
generateRows(TableTag table)
Generates the rows with the connected servers list in the given
TableTag | ||||||||||
AdminBean |
getAdminBean()
Returns the current AdminBean
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This constant is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This field is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
This field is deprecated.
Usage of level flags have been deprecated in favor of the layout-definition files.
To change the elements visible for this transform modify the corresponding layout.xml
Specifies what information is displayed for each Connected Server.
The information may include server name, connect mode, maximum pool size, modify link and other information. Multiple fields may be displayed at the same time.
Which fields to show is indicated by a bitwise flag.
Allowed Values:
Name of the image used to indicate the home icon.
Clicking on this image would take the user to the Microstrategy Web Home page. This page is the projects page.
Default empty constructor. Initialize formal parameters.
This method will return an AnchorTag
whose target-base is
not to current controller (e.g. mstrWebAdmin), but the iServer Administration controller.
This can be used to create links that point to this portal.
This method will return an AnchorTag
whose target-base is
not to current controller (e.g. mstrWebAdmin), but the Microstrategy Web main controller.
This can be used to create links that point back to the main applicaiton.
Return the css class name that belongns to the current cluster
For the given cluster, returns its position within the clusters collection.
For the given cluster, returns its name. The name is calculated as the concatenation of all the servers in the cluster, separated by "/"
Returns an enumeration of WebClusterNode
interfaces that are in the cluster.
cluster | The WebCluster from where nodes should be retrieved. Typically a member of
the getClusters() |
---|
For the given cluster node, returns the connection mode stored in the sys default Preferences.
Returns the textual description of the transform
Returns the event to use to disconnect the given server.
Returns the event to use to open the modify server properties page/dialog.
Returns the open-home event. This event will take you back to the home page for the given portal.
Returns the event to open the desktop page for server-admin.
For the given cluster node, returns the number of busy connections.
For the given cluster node, returns the number of free connections.
For the given cluster node, returns it's current load.
For the given cluster node, returns the corresponding intelligence server name.
For the given cluster node, returns the current connection pool size.
Helper method for the layout to determine if there are more clusters to render
Helper method for the layout to determine if there are more servers to render
Initializes the Css Class Strings to be used by this transform.
Initialize the images to be used by this transform.
This method initialize the private and protected fields of the transform. It also invokes the initializeImages and initializeCss methods.
data | The data (bean) that this transform is going to transform. |
---|
For the given cluster node, returns true
if Microstrategy Web is configured to
automatically connect to it as soon as it's available.
Returns true
if the clusters list is empty.
Returns true
if the cluster node is the first one within the given cluster.
For a single cluster, renders its position within the clusters collection.
For a single cluster, renders its position within the clusters collection.
For a single cluster node, renders the button to disconnect from this server.
Method used when there are no connected servers. Shows the message: "No MicroStrategy Servers are currently connected."
Renders a link to Microstrategy Web home page:
out | MarkupOutput |
---|
Render the HTML corresponding to the icon of the cluster
For a single cluster node, renders a link to modify server properties.
For a single cluster node, renders a link to modify server properties.
For a single cluster node, renders the number of busy connections.
For a single cluster node, renders whether Microstrategy Web is configured to automatically connect to it as soon as it's available.
For a single cluster node, renders the current connection pool size.
For a single cluster node, renders the number of free connections.
Method used when there are connected servers. Generates a list view of the connected-servers.
For a single cluster node, renders it's current load.
For a single cluster node, renders the corresponding intelligence server name.
Transform when the status of the bean which is transformed by this transform is "Successful".
out | Output by this transform |
---|
Generates the row with the titles for the columns in the given TableTag
Generates the rows with the connected servers list in the given TableTag