public abstract class ProfilePropertySetter extends GenericService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProfilePropertySetter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasProperty(java.lang.String pPropertyName,
RepositoryItem pRepositoryItem)
Checks if item has given property
|
protected boolean |
setProfileProperty(Profile pProfile,
java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
Updates the given property name on the profile if it is not already set to the current value
|
boolean |
setProperties(Profile pProfile,
DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
Method used to set profile properties by the ProfilePropertySetters.
|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public boolean setProperties(Profile pProfile, DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws java.io.IOException, javax.servlet.ServletException, RepositoryException
pProfile
- - Profile to set properties forpRequest
- - Current requestpResponse
- - Current responsejava.io.IOException
javax.servlet.ServletException
RepositoryException
protected boolean setProfileProperty(Profile pProfile, java.lang.String pPropertyName, java.lang.Object pPropertyValue)
pProfile
- - Profile to set the property onpPropertyName
- - Name of the profile property to setpPropertyValue
- - New Value for the profile propertyprotected boolean hasProperty(java.lang.String pPropertyName, RepositoryItem pRepositoryItem) throws RepositoryException
pPropertyName
- - property namepRepositoryItem
- - profileRepositoryException
- if repository exception occur