org.chorem.bow.action
Class ImportBookmarksAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.chorem.bow.action.BowBaseAction
org.chorem.bow.action.ImportBookmarksAction
- 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.ServletRequestAware, org.apache.struts2.interceptor.SessionAware
public class ImportBookmarksAction
- extends BowBaseAction
- implements org.apache.struts2.interceptor.ServletRequestAware
Import un bookmark HTML
- Author:
- poussin
- See Also:
- Serialized Form
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| 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 |
upfile
protected File upfile
upfileContentType
protected String upfileContentType
upfileFileName
protected String upfileFileName
searchLine
protected String searchLine
fullTextLine
protected String fullTextLine
redirectTo
protected String redirectTo
request
protected javax.servlet.http.HttpServletRequest request
ImportBookmarksAction
public ImportBookmarksAction()
getUpfile
public File getUpfile()
- Returns:
- the upfile
setUpfile
public void setUpfile(File upfile)
- Parameters:
upfile - the upfile to set
getUpfileContentType
public String getUpfileContentType()
- Returns:
- the upfileContentType
setUpfileContentType
public void setUpfileContentType(String upfileContentType)
- Parameters:
upfileContentType - the upfileContentType to set
getUpfileFileName
public String getUpfileFileName()
- Returns:
- the upfileFileName
setUpfileFileName
public void setUpfileFileName(String upfileFileName)
- Parameters:
upfileFileName - the upfileFileName to set
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
getRedirectTo
public String getRedirectTo()
- Returns:
- the redirectTo
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
- Specified by:
setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware
parseHtmlToBookmarks
protected void parseHtmlToBookmarks(org.htmlparser.util.NodeList list,
BowUser user,
Date date,
List<BowBookmark> bookmarks,
List<String> tagList)
throws org.htmlparser.util.ParserException
- Throws:
org.htmlparser.util.ParserException
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.