| java.lang.Object org.jboss.portal.theme.LayoutInfo
LayoutInfo | final public class LayoutInfo (Code) | | Info about the layout.
author: Martin Holzner version: $Revision: 8784 $ |
getAppId | public String getAppId()(Code) | | Get the name of the portal web application that contains this layout.
the name of the portal web application that contains this layout |
getContextPath | public String getContextPath()(Code) | | Get the context path for the servlet context (portal web application) that contains this layout.
the context path of this layout |
getName | public String getName()(Code) | | Get the name of this layout.
the name of the layout |
getServletContext | public ServletContext getServletContext()(Code) | | Get the servlet context that contains this layout.
the serlvet context of this layout |
getURI | public String getURI()(Code) | | Get the generic URI for this layout. The URI is the location of the layout resource inside the Servlet context
that contains it. The generic URI is the one that does not depend on a state. It is the most common URI for this
layout.
the URI for this layout See Also: LayoutInfo.getServletContext() See Also: LayoutInfo.getURI(String) |
getURI | public String getURI(String state)(Code) | | Get the uri, the location of the layout, relative to its context.
Parameters: state - an optional key to further separate URIs (for example for maximized window state). If a layout uriwas defined for the provided state, that uri will be returned, otherwise the generic URI for thislayout will be returned. If null is provided, the result is the same as calling getURI() the uri of the layout relative to its context See Also: LayoutInfo.getServletContext() See Also: LayoutInfo.getURI |
|
|