|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.web.skin.ResourcesAggregationHelper
@Service public class ResourcesAggregationHelper
Class to facilitate enabling/disabling Resources aggregation.
| Field Summary | |
|---|---|
static String |
AGGREGATED_THEME_PARAMETER
Name of System property used to toggle default/aggregated skin output. |
static String |
DEFAULT_AGGREGATION_ENABLED
|
protected org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
ResourcesAggregationHelper()
|
|
| Method Summary | |
|---|---|
void |
disableAggregation()
shortcut to setAggregationEnabled(boolean) with false. |
void |
enableAggregation()
shortcut to setAggregationEnabled(boolean) with true. |
boolean |
isAggregationEnabled()
|
void |
setAggregationEnabled(boolean enabled)
Toggle resources aggregation (if and only if value parameter differs from current value). |
void |
setPortalRenderingPipeline(IPortalRenderingPipeline portalRenderingPipeline)
|
void |
setResourcesElementsProvider(org.jasig.resource.aggr.util.ResourcesElementsProvider resourcesElementsProvider)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String AGGREGATED_THEME_PARAMETER
System property used to toggle default/aggregated skin output.
public static final String DEFAULT_AGGREGATION_ENABLED
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public ResourcesAggregationHelper()
| Method Detail |
|---|
public void setPortalRenderingPipeline(IPortalRenderingPipeline portalRenderingPipeline)
portalRenderingPipeline - the portalRenderingPipeline to setpublic void setResourcesElementsProvider(org.jasig.resource.aggr.util.ResourcesElementsProvider resourcesElementsProvider)
public boolean isAggregationEnabled()
public void setAggregationEnabled(boolean enabled)
public void enableAggregation()
setAggregationEnabled(boolean) with true.
public void disableAggregation()
setAggregationEnabled(boolean) with false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||