org.chorem.bow.action
Class AliasAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.chorem.bow.action.BowBaseAction
          extended by org.chorem.bow.action.AliasAction
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

public class AliasAction
extends BowBaseAction

Handles only public aliases. Private aliases are handled by open search.

Version:
$Revision$ Last update: $Date$ by : $Author$
Author:
poussin
See Also:
Serialized Form

Field Summary
protected  String alias
           
protected  String bookmarkId
           
protected  String redirectTo
           
 
Fields inherited from class org.chorem.bow.action.BowBaseAction
CONTEXT_ACTION_KEY, session, 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
AliasAction()
           
 
Method Summary
 String create()
           
 String delete()
           
 String execute()
           
 String getRedirectTo()
           
 void setAlias(String alias)
           
 void setBookmarkId(String bookmarkId)
           
 
Methods inherited from class org.chorem.bow.action.BowBaseAction
getBowProxy, getBowSession, getSafeText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSession
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, 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

redirectTo

protected String redirectTo

alias

protected String alias

bookmarkId

protected String bookmarkId
Constructor Detail

AliasAction

public AliasAction()
Method Detail

getRedirectTo

public String getRedirectTo()

setAlias

public void setAlias(String alias)

setBookmarkId

public void setBookmarkId(String bookmarkId)

execute

public String execute()
               throws Exception
Specified by:
execute in interface com.opensymphony.xwork2.Action
Overrides:
execute in class com.opensymphony.xwork2.ActionSupport
Throws:
Exception

create

public String create()
              throws Exception
Throws:
Exception

delete

public String delete()
              throws Exception
Throws:
Exception


Copyright © 2010-2011 CodeLutin. All Rights Reserved.