public class ServiceAdminServlet extends javax.servlet.http.HttpServlet implements PropertyValueFormatter, atg.beans.NotSerializable
| Modifier and Type | Class and Description |
|---|---|
class |
ServiceAdminServlet.EncodingOutputStream
an implementation of a the ServletOutputStream
class that wraps a print writer with a given
encoding type
|
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
ATTR_AMIN_SERVLET_POST_REQUEST_PROCESSORS
The request attribute name that hosts the list of
PostRequestProcessors to be invoked at the end of
the HTML admin servlet rendering.
|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mCharEncoding |
protected Nucleus |
mNucleus
The Nucleus controlling the system
|
protected java.lang.Object |
mResolvedService
The service as returned from Nucleus' resolveName method
|
protected java.lang.Object |
mService
The Service for whom this interface is operating
|
protected boolean |
mUseServletOutputStream |
| Constructor and Description |
|---|
ServiceAdminServlet(java.lang.Object pService,
Nucleus pNucleus)
Constructs a new ServiceAdminServlet
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAdminServletPostRequestProcessor(javax.servlet.http.HttpServletRequest pRequest,
atg.servlet.PostRequestProcessor pProcessor,
java.lang.String pOwnerName) |
protected boolean |
allowPropertyValueLink(boolean pAllowLinks,
java.lang.Object pObject,
java.lang.String pPropertyName,
java.lang.String pPropertyPrefix)
determine whether the given property value should
have an html link
|
protected void |
executeAdminServletPostRequestProcessors(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse) |
protected java.lang.String |
formatCompleteServiceLink(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
Returns the complete "href" link that will lead back to the
specified absolute service name
|
protected java.lang.String |
formatLongObject(java.lang.Object pObject,
javax.servlet.http.HttpServletRequest pRequest)
Formats the specified object, turning it into the "long form"
String representation of its value.
|
java.lang.String |
formatLongPropertyValue(java.lang.Object pValue,
javax.servlet.http.HttpServletRequest pRequest,
PropertyValueFormatter pFormatter)
Formats the specified value into a String, using the "long form"
of the value.
|
protected java.lang.String |
formatObject(java.lang.Object pObject,
javax.servlet.http.HttpServletRequest pRequest)
Formats the specified object, turning it into a String
representation of its value.
|
java.lang.String |
formatPropertyValue(java.lang.Object pValue,
javax.servlet.http.HttpServletRequest pRequest,
PropertyValueFormatter pFormatter)
Formats the specified value into a String, using the "short form"
of the value.
|
protected java.lang.String |
formatServiceLink(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
Returns the opening "href" tag that will lead back to the
specified absolute service name
|
protected java.lang.String |
formatServiceName(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
Returns the specified service name in a manner that is usable as
a link, by adding the servlet path and appending a "/" if
necessary.
|
protected java.lang.String |
formatServiceName(java.lang.String pServiceName,
java.lang.String pSuffix,
javax.servlet.http.HttpServletRequest pRequest)
Returns the specified service name in a manner that is usable as
a link, by adding the servlet path and appending a "/" if
necessary.
|
protected java.lang.String |
getAbsoluteNameOf(java.lang.Object pComponent)
Return the absolute name of pComponent.
|
protected java.lang.Object |
getDynamicPropertyValue(java.lang.Object pObject,
java.lang.String pPropertyName,
java.lang.String pPropertyPrefix)
get a dynamic property value.
|
protected java.lang.String |
getPropertyConfigurationErrorString(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pPropertyName,
java.lang.String pNewValue,
atg.nucleus.logging.CollectingLoggingSupport pLoggerCollecting) |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.Class pClass,
java.lang.String pPropertyName) |
protected java.util.ResourceBundle |
getResourceBundle()
The ResourceBundle to use with this AdminServlet.
|
protected java.lang.String |
getResourceString(java.lang.String pPattern)
Loads the resource bundle, if not already loaded, and returns the
requested resource string.
|
protected java.lang.String |
getResourceString(java.lang.String pPattern,
java.lang.Object[] pPatternArgs)
Loads the resource bundle, if not already loaded, and returns the
requested resource string with any args inserted.
|
java.lang.String |
getResourceString(java.lang.String pPattern,
java.lang.String... pArgs)
Public form of getResourceString that supports
variable number of arguments.
|
protected javax.servlet.ServletOutputStream |
getResponseStream(javax.servlet.http.HttpServletResponse pResponse)
get the servlet output stream from the response
|
java.lang.String |
getScopeRelativePath(java.lang.String pPath)
Return the scope relative path for a given component.
|
protected void |
handleInvocationException(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName,
java.lang.Throwable pException)
Handle an invocation exception.
|
protected void |
insertStyle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Insert any style/css tags...
|
protected void |
printAdmin(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the administrative information specific to this service.
|
protected void |
printBodyTag(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the opening body tag.
|
protected boolean |
printCollectionValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.Object pObject,
java.lang.String pPrefix) |
protected void |
printDirectory(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut) |
protected void |
printDynamicPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.Object pObject,
java.lang.String pPrefix,
boolean pIncludeCollection)
Prints a listing of all the service's properties and values.
|
protected void |
printDynamicPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.String pPropertyPrefix,
java.lang.Object pObject,
DynamicPropertyDescriptor[] pPropDescs,
boolean pSortProperties,
boolean pAllowLinks)
Prints a listing of all the service's properties and values.
|
void |
printEventSet(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pEventSetName)
Prints an event set
|
protected void |
printEventSets(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut) |
protected void |
printHeaderTitle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the title of the page's header.
|
void |
printMethodInvocation(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName)
Prints the formatted information of a method invocation on a service
|
protected void |
printMethodInvocationResult(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName,
java.lang.Object pResult)
Print out the invocation method result.
|
void |
printMethodInvocationVerification(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName)
Prints the formatted information for a verification screen
before invoking a method
|
protected void |
printMethods(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut) |
void |
printProperty(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pPropertyName)
Prints the formatted information for a service, including the name,
directory listing, and properties.
|
protected void |
printPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut) |
protected void |
printPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.String pPropertyPrefix,
java.lang.Object pObject,
java.beans.PropertyDescriptor[] pPropDescs)
Prints a listing of all the service's properties and values.
|
void |
printService(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Prints the formatted information for a service, including the name,
directory listing, and properties.
|
protected void |
printServiceInfo(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the serviceInfo property of the service.
|
protected void |
printStringValue(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the string value (toString) of the service.
|
protected void |
printTitle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
Prints the title of the page.
|
void |
reloadComponent(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Reload a class generated from a InstanceFactory instance.
|
void |
service(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
Handles requests
|
void |
setResolvedService(java.lang.Object pService)
Sets the service component as resolved by Nucleus.
|
protected java.beans.EventSetDescriptor[] |
sortEventSetDescriptors(java.beans.EventSetDescriptor[] pDescriptors)
Sorts the list of eventSet descriptors by eventSet name and
returns a new list of the sorted descriptors.
|
protected java.beans.MethodDescriptor[] |
sortMethodDescriptors(java.beans.MethodDescriptor[] pDescriptors)
Sorts the list of method descriptors by method name and
returns a new list of the sorted descriptors.
|
protected java.beans.PropertyDescriptor[] |
sortPropertyDescriptors(java.beans.PropertyDescriptor[] pDescriptors)
Sorts the list of property descriptors by property name and
returns a new list of the sorted descriptors.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static java.lang.String CLASS_VERSION
protected transient java.lang.Object mService
protected transient Nucleus mNucleus
protected transient java.lang.Object mResolvedService
protected static final java.lang.String ATTR_AMIN_SERVLET_POST_REQUEST_PROCESSORS
protected java.lang.String mCharEncoding
protected boolean mUseServletOutputStream
public ServiceAdminServlet(java.lang.Object pService,
Nucleus pNucleus)
pService - the service object to be manipulated by this servletpNucleus - the Nucleus controlling the service hierarchypublic void service(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
service in class javax.servlet.http.HttpServletpRequest - the current requestpReponse - the current responsejavax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestpublic void reloadComponent(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsejavax.servlet.ServletException - if an error occursjava.io.IOException - if an error occurspublic void printService(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsejavax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestprotected void insertStyle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected void printHeaderTitle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occurredjava.io.IOException - if an error occurredprotected void printTitle(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occurredjava.io.IOException - if an error occurredprotected void printServiceInfo(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected void printStringValue(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected void printBodyTag(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occurredjava.io.IOException - if an error occurredprotected void printDirectory(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected java.beans.PropertyDescriptor[] sortPropertyDescriptors(java.beans.PropertyDescriptor[] pDescriptors)
pDescriptors - the array of property descriptors to sortprotected java.beans.MethodDescriptor[] sortMethodDescriptors(java.beans.MethodDescriptor[] pDescriptors)
pDescriptors - the method descriptors to sort.protected void printMethods(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected void printPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected void printPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.String pPropertyPrefix,
java.lang.Object pObject,
java.beans.PropertyDescriptor[] pPropDescs)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write topPropertyPrefix - the property prefix path, typically
the path usd to get to pObject with a "." appended.pObject - the object whose property values to print out.pPropDescs - the array of property descriptors.javax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected boolean printCollectionValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.Object pObject,
java.lang.String pPrefix)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected void printDynamicPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.Object pObject,
java.lang.String pPrefix,
boolean pIncludeCollection)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write topObject - the object whose dynamic properties to printpPrefix - the property prefix path, typically
the path usd to get to pObject with a "." appended.pIncludeCollection - whether to include collection properties.javax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected void printDynamicPropertyValues(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut,
java.lang.String pPropertyPrefix,
java.lang.Object pObject,
DynamicPropertyDescriptor[] pPropDescs,
boolean pSortProperties,
boolean pAllowLinks)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write topPropertyPrefix - the property prefix path, typically
the path usd to get to pObject with a "." appended.pObject - the object whose dynamic property values to printpPropDescs - the array of dynamic property descriptorspSortProperties - whethers the properties should be sortedpAllowLinks - whether to allow links when printing property valuesjavax.servlet.ServletException - if an error occursjava.io.IOException - if an error occursprotected java.lang.Object getDynamicPropertyValue(java.lang.Object pObject,
java.lang.String pPropertyName,
java.lang.String pPropertyPrefix)
throws PropertyNotFoundException
pObject - the object containing the dynamic property valuespPropertyName - the name of the propertypPropertyPrefix - the property prefixPropertyNotFoundException - if there was an error finding
the property valueprotected boolean allowPropertyValueLink(boolean pAllowLinks,
java.lang.Object pObject,
java.lang.String pPropertyName,
java.lang.String pPropertyPrefix)
pAllowLinks - the current value for allowing links or notpObject - the property value objectpPropertyName - the property namepPropertyPrefix - the property name prefixpublic java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class pClass,
java.lang.String pPropertyName)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic void printMethodInvocationVerification(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepMethodName - the name of the method whose invocation should be
printed.javax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestpublic void printMethodInvocation(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepMethodName - the name of the method whose invocation link to print.javax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestprotected void printMethodInvocationResult(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName,
java.lang.Object pResult)
throws java.io.IOException
pRequest - the current requestpReponse - the current responsepMethodName - the name of the method whose result to printpResult - the result value to printjava.io.IOException - if an error occursprotected void handleInvocationException(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pMethodName,
java.lang.Throwable pException)
throws java.io.IOException
pRequest - the current requestpReponse - the current responsepMethodName - the name of the method that threw the exceptionpException - the exception that was thrownjava.io.IOException - if an error occurspublic java.lang.String getScopeRelativePath(java.lang.String pPath)
pPath - the path to calculate relative to the current scope.public void printProperty(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pPropertyName)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepPropertyName - the name of the property to printjavax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestprotected java.lang.String getPropertyConfigurationErrorString(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pPropertyName,
java.lang.String pNewValue,
atg.nucleus.logging.CollectingLoggingSupport pLoggerCollecting)
protected java.beans.EventSetDescriptor[] sortEventSetDescriptors(java.beans.EventSetDescriptor[] pDescriptors)
pDescriptors - the descriptors to sortprotected void printEventSets(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionpublic void printEventSet(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
java.lang.String pEventSetName)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepEventSetName - the name of the event set to printjavax.servlet.ServletException - if an error occurred while processing
the servlet requestjava.io.IOException - if an error occurred while reading or writing
the servlet requestprotected void printAdmin(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse,
javax.servlet.ServletOutputStream pOut)
throws javax.servlet.ServletException,
java.io.IOException
pRequest - the current requestpReponse - the current responsepOut - the output stream to write tojavax.servlet.ServletException - if an error occurredjava.io.IOException - if an error occurredprotected java.lang.String formatObject(java.lang.Object pObject,
javax.servlet.http.HttpServletRequest pRequest)
pObject - the object to sortpRequest - the request to use for the formattingprotected java.lang.String formatLongObject(java.lang.Object pObject,
javax.servlet.http.HttpServletRequest pRequest)
pObject - the object whole long form to returnpRequest - the current requestprotected java.lang.String formatServiceName(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
pServiceName - the name of the servicepRequest - the current requestprotected java.lang.String formatServiceName(java.lang.String pServiceName,
java.lang.String pSuffix,
javax.servlet.http.HttpServletRequest pRequest)
pServiceName - the name of the service to formatpSuffix - the suffix to append to the service stringpRequest - the current requestprotected java.lang.String formatServiceLink(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
pServiceName - the service to format a link topRequest - the current requestprotected java.lang.String formatCompleteServiceLink(java.lang.String pServiceName,
javax.servlet.http.HttpServletRequest pRequest)
pServiceName - the service to format a link topRequest - the current requestpublic java.lang.String formatPropertyValue(java.lang.Object pValue,
javax.servlet.http.HttpServletRequest pRequest,
PropertyValueFormatter pFormatter)
formatPropertyValue in interface PropertyValueFormatterpValue - the property value to formatpRequest - the current requestpFormatter - the formatter to use for formattingpublic java.lang.String formatLongPropertyValue(java.lang.Object pValue,
javax.servlet.http.HttpServletRequest pRequest,
PropertyValueFormatter pFormatter)
formatLongPropertyValue in interface PropertyValueFormatterpValue - the property value to formatpRequest - the current requestpFormatter - the formatter to use for formattingprotected java.lang.String getResourceString(java.lang.String pPattern)
pPattern - the resource key of the resource to returnprotected java.lang.String getResourceString(java.lang.String pPattern,
java.lang.Object[] pPatternArgs)
pPattern - resource key for the patternpPatternArgs - the format argumentspublic java.lang.String getResourceString(java.lang.String pPattern,
java.lang.String... pArgs)
pPattern - resource key for the patternpArgs - the format argumentsprotected java.util.ResourceBundle getResourceBundle()
public void setResolvedService(java.lang.Object pService)
pService - the re-resolved serviceprotected java.lang.String getAbsoluteNameOf(java.lang.Object pComponent)
pComponent - the component to get the absolute name ofpublic void addAdminServletPostRequestProcessor(javax.servlet.http.HttpServletRequest pRequest,
atg.servlet.PostRequestProcessor pProcessor,
java.lang.String pOwnerName)
protected void executeAdminServletPostRequestProcessors(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
throws javax.servlet.ServletException,
java.io.IOException
javax.servlet.ServletExceptionjava.io.IOExceptionprotected javax.servlet.ServletOutputStream getResponseStream(javax.servlet.http.HttpServletResponse pResponse)
throws java.io.IOException
pResponse - the response objectjava.io.IOException