站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

MaximizingStrategyImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.theme.impl.strategy
Class MaximizingStrategyImpl

java.lang.Object
  extended byorg.jboss.portal.theme.strategy.AbstractLayoutStrategy
      extended byorg.jboss.portal.theme.impl.strategy.MaximizingStrategyImpl
All Implemented Interfaces:
LayoutStrategy

public class MaximizingStrategyImpl
extends AbstractLayoutStrategy


Constructor Summary
MaximizingStrategyImpl()
           
 
Method Summary
 StrategyResponse evaluate(StrategyContext context)
          Evaluate the strategy and return a strategy response, containing the desired changes.
 
Methods inherited from class org.jboss.portal.theme.strategy.AbstractLayoutStrategy
getAppID, getMediaType, getName, setAppID, setMediaType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaximizingStrategyImpl

public MaximizingStrategyImpl()
Method Detail

evaluate

public StrategyResponse evaluate(StrategyContext context)
                          throws StrategyException
Evaluate the strategy and return a strategy response, containing the desired changes.

Parameters:
context - a context containing the portal's current information about portlets, states and the layout
Returns:
a strategy response with the desired changes
Throws:
StrategyException - if the strategy is missconfigured, or can't deal with the provided information
See Also:
StrategyResponse, StrategyContext