public class

ClientSideLayout

extends AbstractConfigurationElement
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.ClientSideLayout

Class Overview

This class is a cache entry in a server-side cache. It holds the contents of a client side layout file (for the Javascript UI Library [JUIL]) in a form which can be used in a JavaScript statement.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
ClientSideLayout()
Public Methods
String getAsJavaScriptString()
Returns the contents of the client side layout file as a JavaScript string.
Protected Methods
String getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
void initFromFile(String filePath, CustomizationInfo c)
Loads the contents of the file into the cache entry.
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationFile

Public Constructors

public ClientSideLayout ()

Public Methods

public String getAsJavaScriptString ()

Returns the contents of the client side layout file as a JavaScript string.

Returns
  • The contents of the client side layout file as a JavaScript string.

Protected Methods

protected String getKeyAttribute ()

This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.

protected void initFromFile (String filePath, CustomizationInfo c)

Loads the contents of the file into the cache entry.

Parameters
filePath The path to the file to load.
c Any customization information.