org.chorem.bow.action
Class BowBaseAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.chorem.bow.action.BowBaseAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.SessionAware
Direct Known Subclasses:
AddClickAction, AddUrlAction, DeleteImportAction, DeleteSearchResultsAction, DeleteTagAction, EditBookmarkAction, ExportBookmarksAction, ForgotPasswordAction, FullTextSearchAction, GenerateTokenAction, HomeAction, ImportBookmarksAction, LocaleAction, LoginAction, LogoutAction, ModifyBookmarkAction, OpenSearchResultAction, OpenSearchSuggestionAction, OrderAction, PreferencesAction, RegisterAction, ReIndexationAction, RemoveBookmarkAction, SearchAction

public class BowBaseAction
extends com.opensymphony.xwork2.ActionSupport
implements org.apache.struts2.interceptor.SessionAware

See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
protected  Map<String,Object> session
           
static String UNTRANSLATED_MARKER
           
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BowBaseAction()
           
 
Method Summary
 BowProxy getBowProxy()
           
 BowSession getBowSession()
           
protected  String getSafeText(String key, String value)
           
 String getText(String aTextName)
           
 String getText(String aTextName, List<Object> args)
           
 String getText(String aTextName, String defaultValue)
           
 String getText(String key, String[] args)
           
 String getText(String aTextName, String defaultValue, List<Object> args)
           
 String getText(String key, String defaultValue, List<Object> args, com.opensymphony.xwork2.util.ValueStack stack)
           
 String getText(String aTextName, String defaultValue, String obj)
           
 String getText(String key, String defaultValue, String[] args)
           
 String getText(String key, String defaultValue, String[] args, com.opensymphony.xwork2.util.ValueStack stack)
           
 void setSession(Map<String,Object> session)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log

UNTRANSLATED_MARKER

public static final String UNTRANSLATED_MARKER
See Also:
Constant Field Values

session

protected Map<String,Object> session
Constructor Detail

BowBaseAction

public BowBaseAction()
Method Detail

getBowSession

public BowSession getBowSession()

getBowProxy

public BowProxy getBowProxy()

setSession

public void setSession(Map<String,Object> session)
Specified by:
setSession in interface org.apache.struts2.interceptor.SessionAware

getText

public String getText(String aTextName)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String aTextName,
                      String defaultValue)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String aTextName,
                      String defaultValue,
                      String obj)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String aTextName,
                      List<Object> args)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String key,
                      String[] args)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String aTextName,
                      String defaultValue,
                      List<Object> args)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String key,
                      String defaultValue,
                      String[] args)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String key,
                      String defaultValue,
                      List<Object> args,
                      com.opensymphony.xwork2.util.ValueStack stack)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getText

public String getText(String key,
                      String defaultValue,
                      String[] args,
                      com.opensymphony.xwork2.util.ValueStack stack)
Specified by:
getText in interface com.opensymphony.xwork2.TextProvider
Overrides:
getText in class com.opensymphony.xwork2.ActionSupport

getSafeText

protected String getSafeText(String key,
                             String value)


Copyright © 2010-2011 CodeLutin. All Rights Reserved.