org.nuiton.scmwebeditor.actions
Class SearchAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.nuiton.web.struts2.BaseAction
          extended by org.nuiton.scmwebeditor.ScmWebEditorBaseAction
              extended by org.nuiton.scmwebeditor.actions.SearchAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class SearchAction
extends ScmWebEditorBaseAction

See Also:
Serialized Form

Field Summary
protected  String address
           
protected  Map<String,String> directories
           
protected  String error
           
protected  List<String> files
           
protected  String id
           
protected  String info
           
protected  String list
           
protected  List<com.jgeppert.struts2.jquery.tree.result.TreeNode> nodes
           
protected  int numberOfFile
           
protected  String pw
           
protected  String username
           
 
Fields inherited from class org.nuiton.scmwebeditor.ScmWebEditorBaseAction
ATTRIBUTE_BAD_LOGIN, ATTRIBUTE_FILESEARCH_SERVLET_URL, ATTRIBUTE_INVALIDATE_MAX_TIME, ATTRIBUTE_IS_LOGIN, ATTRIBUTE_LOGIN, ATTRIBUTE_ORIG_TEXT, ATTRIBUTE_PREVIEW_SERVLET_URL, ATTRIBUTE_PRIVATE_SERVLET_URI, ATTRIBUTE_PROJECT_URL, ATTRIBUTE_REDIRECT_URL, ATTRIBUTE_REDIRECTION_URL, ATTRIBUTE_SCM_EDITOR_URI, AUTH_ERROR, CONTEXT_ACTION_KEY, detector, EDITABLESFILES, ERROR_PATH, PARAMETER_ADDRESS, PARAMETER_COMMIT_MESSAGE, PARAMETER_DEFAULT_LANG, PARAMETER_FILE_NAME, PARAMETER_FORMAT, PARAMETER_LANG, PARAMETER_MYTEXT, PARAMETER_ORIG_TEXT, PARAMETER_PROJECT_URL, PARAMETER_PW, PARAMETER_SCM_EDITOR_URL, PARAMETER_TEXT, PARAMETER_USERNAME, PROPERTIESFILES, session
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SearchAction()
           
 
Method Summary
 String getAddress()
           
 String getAddressUnique(String leFichier)
           
 Map<String,String> getDirectories()
           
 String getError()
           
 List<String> getFiles()
           
 String getInfo()
           
 String getJSON()
           
 String getList()
           
 List<com.jgeppert.struts2.jquery.tree.result.TreeNode> getNodes()
           
 int getNumberOfFile()
           
 String getPw()
           
 String getUsername()
           
 void listEntries(org.tmatesoft.svn.core.io.SVNRepository repository, String path)
           
static String replaceLast(String string, String toReplace, String replacement)
           
 String search()
           
 void setAddress(String address)
           
 void setId(String id)
           
 void setList(String list)
           
 void setPw(String pw)
           
 void setUsername(String username)
           
 
Methods inherited from class org.nuiton.scmwebeditor.ScmWebEditorBaseAction
checkout, checkout, convertToUnicode, delTempDirectory, getCodepageDetector, getHeadcommiter, getHeadNumberRevision, getHeadRevision, getMimeType, getMimeType, getMimeTypes, getPassword, getScmSession, getSvnSession, getTempDir, getUsername, loadProperties, loadProperties, setSvnSession
 
Methods inherited from class org.nuiton.web.struts2.BaseAction
_, _
 
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, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

protected String address

files

protected List<String> files

directories

protected Map<String,String> directories

username

protected String username

pw

protected String pw

error

protected String error

numberOfFile

protected int numberOfFile

info

protected String info

list

protected String list

nodes

protected List<com.jgeppert.struts2.jquery.tree.result.TreeNode> nodes

id

protected String id
Constructor Detail

SearchAction

public SearchAction()
Method Detail

getError

public String getError()

getList

public String getList()

setList

public void setList(String list)

getFiles

public List<String> getFiles()

getDirectories

public Map<String,String> getDirectories()

getInfo

public String getInfo()

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPw

public String getPw()

setPw

public void setPw(String pw)

getNumberOfFile

public int getNumberOfFile()

search

public String search()

listEntries

public void listEntries(org.tmatesoft.svn.core.io.SVNRepository repository,
                        String path)

getJSON

public String getJSON()

getNodes

public List<com.jgeppert.struts2.jquery.tree.result.TreeNode> getNodes()

setId

public void setId(String id)

getAddressUnique

public String getAddressUnique(String leFichier)

replaceLast

public static String replaceLast(String string,
                                 String toReplace,
                                 String replacement)


Copyright © 2009-2011 CodeLutin. All Rights Reserved.