com.jalios.jcmsplugin.virtualdesktop
Class DesktopPortalPolicyFilter
java.lang.Object
com.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicPortalPolicyFilter
com.jalios.jcmsplugin.virtualdesktop.DesktopPortalPolicyFilter
- All Implemented Interfaces:
- PluginComponent, PolicyFilter, PortalPolicyFilter, Comparable
public class DesktopPortalPolicyFilter
- extends BasicPortalPolicyFilter
PortalPolicyFilter used to override portlets' fields values with
services' fields values during service/portlet display.
- Since:
- virtualdesktop-1.0
- Version:
- $Revision: 22214 $
Methods inherited from class com.jalios.jcms.policy.BasicPortalPolicyFilter |
checkCategory, checkCtxCategories, checkDisplay, checkDisplay, checkDisplay, checkDisplayContext, checkPermalink, checkPortal, checkPublication, checkRedirect, checkWorkingCategories, checkWorkspace, filterDisplayContext, getDescriptiveURLText, init, initHeaders, initJavaScriptCodeSet, initJavaScriptSet, setupHeaders |
DesktopPortalPolicyFilter
public DesktopPortalPolicyFilter()
getFieldValue
public Object getFieldValue(JcmsJspContext ctxt,
String fieldName,
Data data,
Object computedValue)
- Description copied from interface:
PortalPolicyFilter
- Returns an alternate value for the given field and given Data.
The return value might be a String id of a Storable that might be resolved.
The original value can be retrieve by calling
Data.getFieldValue(String)
- Specified by:
getFieldValue
in interface PortalPolicyFilter
- Overrides:
getFieldValue
in class BasicPortalPolicyFilter
- Parameters:
ctxt
- the JCmsJspContextfieldName
- the name of the called fielddata
- the Data object to work withcomputedValue
- the already computed value (using extra data)
- Returns:
- Object the alternate value
- See Also:
PortalPolicyFilter.getFieldValue(JcmsJspContext, String, Data, Object)
getIntFieldValue
public int getIntFieldValue(JcmsJspContext ctxt,
String fieldName,
Data data,
int computedValue)
- Description copied from interface:
PortalPolicyFilter
- Returns an alternate value for the given int field and given Data.
The original value can be retrieve by calling
Data.getIntFieldValue(String)
- Specified by:
getIntFieldValue
in interface PortalPolicyFilter
- Overrides:
getIntFieldValue
in class BasicPortalPolicyFilter
- Parameters:
ctxt
- the JCmsJspContextfieldName
- the name of the called fielddata
- the Data object to work withcomputedValue
- the already computed value (using extra data)
- Returns:
- int the alternate value
- See Also:
PortalPolicyFilter.getIntFieldValue(JcmsJspContext, String, Data, int)
Copyright © 2001-2007 Jalios SA. All Rights Reserved.