|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.LayoutInfo
Info about the layout.
Field Summary | |
private RuntimeContext |
ctx
. |
private PortalLayoutMetaData |
layoutMD
. |
private ServerRegistrationID |
registrationId
. |
Constructor Summary | |
LayoutInfo(RuntimeContext ctx,
PortalLayoutMetaData layoutMD)
|
Method Summary | |
java.lang.String |
getAppId()
Get the name of the portal web application that contains this layout. |
java.lang.String |
getContextPath()
Get the context path for the servlet context (portal web application) that contains this layout. |
java.lang.String |
getName()
Get the name of this layout. |
java.util.List |
getRegionNames()
|
ServerRegistrationID |
getRegistrationId()
|
javax.servlet.ServletContext |
getServletContext()
Get the servlet context that contains this layout. |
java.lang.String |
getURI()
Get the generic URI for this layout. |
java.lang.String |
getURI(java.lang.String state)
Get the uri, the location of the layout, relative to its context. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final RuntimeContext ctx
private final PortalLayoutMetaData layoutMD
private final ServerRegistrationID registrationId
Constructor Detail |
public LayoutInfo(RuntimeContext ctx, PortalLayoutMetaData layoutMD)
Method Detail |
public ServerRegistrationID getRegistrationId()
public java.lang.String getAppId()
public java.lang.String getName()
public javax.servlet.ServletContext getServletContext()
public java.lang.String getURI()
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.
getServletContext()
,
getURI(String)
public java.lang.String getURI(java.lang.String state)
state
- an optional key to further separate URIs (for example for maximized window state). If a layout uri
was defined for the provided state, that uri will be returned, otherwise the generic URI for this
layout will be returned. If null is provided, the result is the same as calling getURI()
getServletContext()
,
getURI()
public java.lang.String getContextPath()
public java.util.List getRegionNames()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |