org.alfresco.web.bean.actions.handlers
Class BaseActionHandler

java.lang.Object
  extended by org.alfresco.web.bean.actions.handlers.BaseActionHandler
All Implemented Interfaces:
java.io.Serializable, IHandler
Direct Known Subclasses:
AddFeaturesHandler, CheckInHandler, CheckOutHandler, CopyHandler, CopyToWebProjectHandler, ImportHandler, LinkCategoryHandler, MailHandler, MoveHandler, RemoveFeaturesHandler, ScriptHandler, SimpleWorkflowHandler, SpecialiseTypeHandler, TransformHandler, TransformImageHandler

public abstract class BaseActionHandler
extends java.lang.Object
implements IHandler

Base class for all action handler implementations.

See Also:
Serialized Form

Field Summary
protected static java.lang.String ACTION_PAGES_LOCATION
           
protected static java.lang.String PROP_DESTINATION
           
 
Constructor Summary
BaseActionHandler()
           
 
Method Summary
protected  java.lang.String getJSPPath(java.lang.String actionName)
          Given the action name, generates the default path for the JSP
 boolean isAllowMultiple()
          Returns value of possibility of repeated performance of action
 void setupUIDefaults(java.util.Map actionProps)
          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
 
Methods inherited from interface org.alfresco.web.bean.actions.IHandler
generateSummary, getJSPPath, prepareForEdit, prepareForSave
 

Field Detail

ACTION_PAGES_LOCATION

protected static final java.lang.String ACTION_PAGES_LOCATION
See Also:
Constant Field Values

PROP_DESTINATION

protected static final java.lang.String PROP_DESTINATION
See Also:
Constant Field Values
Constructor Detail

BaseActionHandler

public BaseActionHandler()
Method Detail

setupUIDefaults

public void setupUIDefaults(java.util.Map actionProps)
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:
actionProps - The current properties map

getJSPPath

protected java.lang.String getJSPPath(java.lang.String actionName)
Given the action name, generates the default path for the JSP

Parameters:
actionName - The name of the action
Returns:
The path to the JSP used for the action

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.