|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.strategy.LayoutStrategy
Abstract implementation of the layout strategy.
This implementation serves as base class for all layout strategies.
Constructor Summary | |
LayoutStrategy()
|
Method Summary | |
java.lang.String |
getAppId()
Get the name of the application (the WAR) that contains this strategy. |
MediaType |
getMediaType()
Get the media type (content/mime type) this strategy is assigned to. |
java.lang.String |
getName()
Get the name of this strategy. |
ServerRegistrationID |
getRegistrationId()
|
void |
init(RuntimeContext runtimeContext,
LayoutStrategyMetaData strategyMD)
|
abstract StrategyResponse |
initialize(StrategyContext context)
Initialize the strategy and return a strategy response, containing the desired changes. |
abstract StrategyResponse |
stateChanged(StrategyEvent evt,
StrategyContext context)
The navigational state of one of the portlet windows on a page has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LayoutStrategy()
Method Detail |
public abstract StrategyResponse initialize(StrategyContext context) throws StrategyException
context
- a context containing the portal's current information about portlets, states and layout
StrategyException
public abstract StrategyResponse stateChanged(StrategyEvent evt, StrategyContext context) throws StrategyException
evt
- the event carying the detected changescontext
- a context containing the portal's current information about portlets, states and layout
StrategyException
public void init(RuntimeContext runtimeContext, LayoutStrategyMetaData strategyMD)
public MediaType getMediaType()
public java.lang.String getName()
public java.lang.String getAppId()
public ServerRegistrationID getRegistrationId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |