java.lang.Object
org.apache.struts.action.Action
org.repoweb.action.FindArtifact
- public class FindArtifact
- extends org.apache.struts.action.Action
Find by id (or attached to a group) artifacts defined in the repository.
IN
-
QuickFind.SEARCH_VALUE (request/optional): the pattern to search for.
-
FindArtifact.SEARCH_BY_GROUP_KEY (request/optional): the group Id.
OUT
-
FindArtifact.RESULT (request): result of the search.
-
FindArtifact.RESULT_GROUP (request/optional): the group find by
SEARCH_BY_GROUP_KEY.
|
Method Summary |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm objForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse res)
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it),
with provision for handling exceptions thrown by the business logic. |
private void |
findArtifactByClass(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
|
private void |
findArtifactByType(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
|
private void |
findArtifactLike(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
|
private java.lang.String |
findOneArtifact(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
java.lang.String forward,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULT
public static final java.lang.String RESULT
- See Also:
- Constant Field Values
RESULT_GROUP
public static final java.lang.String RESULT_GROUP
- See Also:
- Constant Field Values
RESULT_ARTIFACT
public static final java.lang.String RESULT_ARTIFACT
- See Also:
- Constant Field Values
SEARCH_BY_GROUP_KEY
public static final java.lang.String SEARCH_BY_GROUP_KEY
- See Also:
- Constant Field Values
SEARCH_BY_TYPE_KEY
public static final java.lang.String SEARCH_BY_TYPE_KEY
- See Also:
- Constant Field Values
SEARCH_BY_FILE_KEY
public static final java.lang.String SEARCH_BY_FILE_KEY
- See Also:
- Constant Field Values
FindArtifact
public FindArtifact()
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm objForm,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse res)
throws org.repoweb.model.UnknownGroupIdException
- Description copied from class:
org.apache.struts.action.Action
Process the specified HTTP request, and create the corresponding HTTP
response (or forward to another web component that will create it),
with provision for handling exceptions thrown by the business logic.
Return an org.apache.struts.action.ActionForward instance describing where and how
control should be forwarded, or null if the response
has already been completed.
findArtifactLike
private void findArtifactLike(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
findArtifactByClass
private void findArtifactByClass(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
findArtifactByType
private void findArtifactByType(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
javax.servlet.http.HttpServletRequest request)
throws org.repoweb.model.UnknownGroupIdException
findOneArtifact
private java.lang.String findOneArtifact(org.apache.struts.action.DynaActionForm form,
org.repoweb.model.Repository repo,
java.lang.String forward,
javax.servlet.http.HttpServletRequest request)
throws org.repoweb.model.UnknownGroupIdException