|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The strategy of a layout can prepare the portal to render the correct portlets in the correct state.
A layout strategy is a place where the layout can tell the portal to change attributes of the portlets that are about to be rendered. It can only influence portlets that are in the current list of portlets to be rendered. The operations available to the strategy are:
Method Summary | |
StrategyResponse |
evaluate(StrategyContext context)
Evaluate the strategy and return a strategy response, containing the desired changes. |
java.lang.String |
getAppID()
|
MediaType |
getMediaType()
|
java.lang.String |
getName()
|
Method Detail |
public StrategyResponse evaluate(StrategyContext context) throws StrategyException
context
- a context containing the portal's current information about portlets, states and layout
StrategyException
- if the strategy is missconfigured, or can't deal with the provided informationStrategyResponse
,
StrategyContext
public java.lang.String getAppID()
public java.lang.String getName()
public MediaType getMediaType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |