org.chorem.bow.action
Class AddUrlAction

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

Ajoute ou modifie un bookmark, soit par le formulaire, soit par un appel javascript

Author:
poussin
See Also:
Serialized Form

Field Summary
protected  String bookmarkId
           
protected  String fullTextLine
           
protected  String link
           
protected  String name
           
protected  String nameAndTags
           
protected  String privateAlias
           
protected  String publicAlias
           
protected  String redirectTo
           
protected  String searchLine
           
protected  String tags
           
 
Fields inherited from class org.chorem.bow.action.BowBaseAction
CONTEXT_ACTION_KEY, log, 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
AddUrlAction()
           
 
Method Summary
 String execute()
           
 String getBookmarkId()
           
 String getFullTextLine()
           
 String getLink()
           
 String getName()
           
 String getNameAndTags()
           
 String getPrivateAlias()
           
 String getPublicAlias()
           
 String getRedirectTo()
           
 String getSearchLine()
           
 String getTags()
           
 void setBookmarkId(String bookmarkId)
           
 void setFullTextLine(String fullTextLine)
           
 void setLink(String link)
           
 void setName(String name)
           
 void setNameAndTags(String nameAndTags)
           
 void setPrivateAlias(String alias)
           
 void setPublicAlias(String publicAlias)
           
 void setSearchLine(String searchLine)
           
 void setTags(String tags)
           
 
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

bookmarkId

protected String bookmarkId

link

protected String link

name

protected String name

privateAlias

protected String privateAlias

publicAlias

protected String publicAlias

tags

protected String tags

nameAndTags

protected String nameAndTags

redirectTo

protected String redirectTo

searchLine

protected String searchLine

fullTextLine

protected String fullTextLine
Constructor Detail

AddUrlAction

public AddUrlAction()
Method Detail

getBookmarkId

public String getBookmarkId()

setBookmarkId

public void setBookmarkId(String bookmarkId)

getLink

public String getLink()
Returns:
the link

setLink

public void setLink(String link)
Parameters:
link - the link to set

getName

public String getName()
Returns:
the description

setName

public void setName(String name)
Parameters:
name - the description to set

getPrivateAlias

public String getPrivateAlias()
Returns:
the privateAlias

setPrivateAlias

public void setPrivateAlias(String alias)
Parameters:
alias - the privateAlias to set

getPublicAlias

public String getPublicAlias()

setPublicAlias

public void setPublicAlias(String publicAlias)

getTags

public String getTags()
Returns:
the tags

setTags

public void setTags(String tags)
Parameters:
tags - the tags to set

getNameAndTags

public String getNameAndTags()
Returns:
the nameAndTags

setNameAndTags

public void setNameAndTags(String nameAndTags)
Parameters:
nameAndTags - the nameAndTags to set

getRedirectTo

public String getRedirectTo()
Returns:
the redirectTo

getSearchLine

public String getSearchLine()
Returns:
the searchLine

setSearchLine

public void setSearchLine(String searchLine)
Parameters:
searchLine - the searchLine to set

getFullTextLine

public String getFullTextLine()
Returns:
the fullTextLine

setFullTextLine

public void setFullTextLine(String fullTextLine)
Parameters:
fullTextLine - the fullTextLine to set

execute

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


Copyright © 2010-2011 CodeLutin. All Rights Reserved.