org.alfresco.web.bean.rules.handlers
Class BaseConditionHandler
java.lang.Object
org.alfresco.web.bean.rules.handlers.BaseConditionHandler
- All Implemented Interfaces:
- java.io.Serializable, IHandler
- Direct Known Subclasses:
- CompareMimeTypeHandler, CompositeConditionHandler, HasAspectHandler, HasTagHandler, InCategoryHandler, IsSubTypeHandler, PropertyValueHandler
public abstract class BaseConditionHandler
- extends java.lang.Object
- implements IHandler
Base class for all condition handler implementations.
- See Also:
- Serialized Form
Method Summary |
protected java.lang.String |
getJSPPath(java.lang.String conditionName)
Given the condition name, generates the default path for the JSP |
protected org.alfresco.service.namespace.NamespaceService |
getNamespaceService()
Returns the NamespaceService for further retrieve a prefix strings. |
boolean |
isAllowMultiple()
Returns value of possibility of repeated performance of action |
void |
setupUIDefaults(java.util.Map conditionProps)
Adds any properties to the given map that need default values
before the UI is displayed to the user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONDITION_PAGES_LOCATION
protected static final java.lang.String CONDITION_PAGES_LOCATION
- See Also:
- Constant Field Values
PROP_CONDITION_NOT
public static final java.lang.String PROP_CONDITION_NOT
- See Also:
- Constant Field Values
BaseConditionHandler
public BaseConditionHandler()
setupUIDefaults
public void setupUIDefaults(java.util.Map conditionProps)
- Description copied from interface:
IHandler
- Adds any properties to the given map that need default values
before the UI is displayed to the user.
- Specified by:
setupUIDefaults
in interface IHandler
- Parameters:
conditionProps
- The current properties map
getJSPPath
protected java.lang.String getJSPPath(java.lang.String conditionName)
- Given the condition name, generates the default path for the JSP
- Parameters:
conditionName
- The name of the condition
- Returns:
- The path to the JSP used for the condition
getNamespaceService
protected org.alfresco.service.namespace.NamespaceService getNamespaceService()
- Returns the NamespaceService for further retrieve a prefix strings.
- Returns:
- The NamespaseService for further usage
- See Also:
TextPropertyValueConditionHandler.prepareForEdit(Map, Map)
isAllowMultiple
public boolean isAllowMultiple()
- Description copied from interface:
IHandler
- Returns value of possibility of repeated performance of action
- Specified by:
isAllowMultiple
in interface IHandler
- Returns:
- true is allow multiple
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.