org.repoweb.action
Class FindArtifact

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.repoweb.action.FindArtifact
Direct Known Subclasses:
DonwloadArtifact

public class FindArtifact
extends org.apache.struts.action.Action

Find by id (or attached to a group) artifacts defined in the repository.

IN

OUT (only one of these)


Field Summary
protected static org.apache.commons.logging.Log LOG
           
static java.lang.String RESULT
           
static java.lang.String RESULT_ARTIFACT
           
static java.lang.String RESULT_POM
           
static java.lang.String SEARCH_BY_FILE_KEY
           
static java.lang.String SEARCH_BY_GROUP_KEY
           
static java.lang.String SEARCH_BY_TYPE_KEY
           
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
FindArtifact()
           
 
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)
           
protected  java.lang.String findOneArtifact(org.apache.struts.action.DynaActionForm form, Repository repo, java.lang.String forward, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT

public static final java.lang.String RESULT
See Also:
Constant Field Values

RESULT_ARTIFACT

public static final java.lang.String RESULT_ARTIFACT
See Also:
Constant Field Values

RESULT_POM

public static final java.lang.String RESULT_POM
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

LOG

protected static final org.apache.commons.logging.Log LOG
Constructor Detail

FindArtifact

public FindArtifact()
Method Detail

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 UnknownGroupIdException,
                                                      java.io.IOException
Throws:
UnknownGroupIdException
java.io.IOException

findOneArtifact

protected java.lang.String findOneArtifact(org.apache.struts.action.DynaActionForm form,
                                           Repository repo,
                                           java.lang.String forward,
                                           javax.servlet.http.HttpServletRequest request)


Copyright © 2003-2005 Repoweb. All Rights Reserved.