|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.nucleus.TimedOperationService
atg.nucleus.servlet.ServletService
atg.nucleus.servlet.HttpServletService
atg.servlet.DynamoServlet
atg.repository.servlet.RepositoryServlet
public class RepositoryServlet
This class serves as a base class for servlet interaction with a Repository.
RepositoryQueryServlet
Nested Class Summary | |
---|---|
class |
RepositoryServlet.RepositoryParameters
A class used to hold parameters sent to a RepositoryServlet |
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
OUTPUT
Parameter used to hold output of the servlet |
static java.lang.String |
REPOSITORY
Parameter used to hold the name of a repository |
static java.lang.String |
VIEWNAME
Parameter used to hold the name of a view in a repository |
Fields inherited from class atg.servlet.DynamoServlet |
---|
mAllowCleanupRequest, mParameters |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
RepositoryServlet()
Constructs an instanceof RepositoryServlet |
Method Summary | |
---|---|
protected RepositoryView |
getDefaultView(Repository pRepository)
Access the default view of a repository |
protected java.lang.String |
getDefaultViewName(Repository pRepository)
Access the default view name of a repository |
protected void |
getInputParameters(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse,
RepositoryServlet.RepositoryParameters pRParams)
Gets the RepositoryParameters for a serviced request |
Repository |
getRepository()
Returns property Repository |
protected Repository |
getRepositoryParam(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Gets the Repository param for a serviced request |
protected RepositoryView |
getRepositoryView(Repository pRepository,
java.lang.String pViewName)
Access a view of a repository |
protected java.lang.String |
getViewNameParam(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Gets the Repository view for a serviced request |
void |
setRepository(Repository r)
Sets property Repository |
Methods inherited from class atg.servlet.DynamoServlet |
---|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, service, setParameter |
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String REPOSITORY
getRepositoryParam(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)
,
Constant Field Valuespublic static final java.lang.String VIEWNAME
getViewNameParam(atg.servlet.DynamoHttpServletRequest, atg.servlet.DynamoHttpServletResponse)
,
Constant Field Valuespublic static final java.lang.String OUTPUT
Constructor Detail |
---|
public RepositoryServlet()
Method Detail |
---|
public Repository getRepository()
public void setRepository(Repository r)
protected java.lang.String getDefaultViewName(Repository pRepository)
pRepository
- the repository
protected RepositoryView getDefaultView(Repository pRepository)
pRepository
- the repository
protected RepositoryView getRepositoryView(Repository pRepository, java.lang.String pViewName)
pRepository
- the repositorypViewName
- the name of the view
protected void getInputParameters(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse, RepositoryServlet.RepositoryParameters pRParams)
pRequest
- the servlet requestpResponse
- the servlet responsepRParams
- RepositoryParametersprotected Repository getRepositoryParam(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest
- the servlet requestpResponse
- the servlet response
protected java.lang.String getViewNameParam(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse)
pRequest
- the servlet requestpResponse
- the servlet response
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |