public class Profile extends GenericService implements MutableRepositoryItem, ProfileRepositoryItem, ApplicationLogging, AdminableService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
Profile()
Constructs an instanceof Profile
|
| Modifier and Type | Method and Description |
|---|---|
protected javax.servlet.Servlet |
createAdminServlet()
Creates and returns a new Servlet that will administer this
service.
|
javax.servlet.Servlet |
getAdminServlet()
Returns the Servlet that will handle admin requests directed at this
service.
|
java.util.Collection<java.lang.String> |
getContextMemberships()
Repository items can be associated with arbitrary contexts.
|
RepositoryItem |
getDataSource()
Returns property DataSource
|
RepositoryItemDescriptor |
getItemDescriptor()
Returns the RepositoryItemDescriptor property, which describes
the known properties for the item
|
java.lang.String |
getItemDisplayName()
The name of this item which can be used in a UI.
|
ProfileTools |
getProfileTools()
Returns property ProfileTools
|
java.lang.Object |
getPropertyValue(java.lang.String pPropertyName)
Returns the property of the given name
|
Repository |
getRepository()
Returns the Repository which contains this item
|
java.lang.String |
getRepositoryId()
Returns the unique profile id
|
boolean |
isTransient()
Returns true if the profile is backed by
an "anonymous" non-persistent profile
which cannot be reloaded on subsequent
sessions.
|
void |
logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an debug event with the specified message and Throwable
|
void |
logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an error event with the specified message and Throwable
|
void |
logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an info event with the specified message and Throwable
|
void |
logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an warning event with the specified message and Throwable
|
void |
setDataSource(RepositoryItem pDataSource)
Sets property DataSource
|
void |
setDataSourceLocal(RepositoryItem pDataSource)
Sets property DataSource
|
void |
setProfileTools(ProfileTools pProfileTools)
Sets property ProfileTools
|
void |
setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
Sets the property of the given name, to the specified value
|
java.lang.String |
toString()
Returns the String representation of this profile
|
addLogListener, doStartService, doStopService, getAbsoluteName, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logError, logError, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisLoggingDebug, isLoggingError, isLoggingInfo, isLoggingWarning, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingWarningpublic boolean isTransient()
isTransient in interface RepositoryItempublic java.util.Collection<java.lang.String> getContextMemberships()
throws RepositoryException
RepositoryItemgetContextMemberships in interface RepositoryItemRepositoryExceptionpublic void setDataSource(RepositoryItem pDataSource)
public void setDataSourceLocal(RepositoryItem pDataSource)
public RepositoryItem getDataSource()
public void setProfileTools(ProfileTools pProfileTools)
public ProfileTools getProfileTools()
public java.lang.String getRepositoryId()
getRepositoryId in interface RepositoryItempublic java.lang.String getItemDisplayName()
getItemDisplayName in interface DisplayableItempublic java.lang.Object getPropertyValue(java.lang.String pPropertyName)
getPropertyValue in interface RepositoryItempublic void setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
setPropertyValue in interface MutableRepositoryItempublic Repository getRepository()
getRepository in interface RepositoryItempublic RepositoryItemDescriptor getItemDescriptor() throws RepositoryException
getItemDescriptor in interface RepositoryItemRepositoryExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic javax.servlet.Servlet getAdminServlet()
getAdminServlet in interface AdminableServicegetAdminServlet in class GenericServicecreateAdminServlet()protected javax.servlet.Servlet createAdminServlet()
createAdminServlet in class GenericServicepublic void logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logInfo in interface atg.core.logging.LogginglogInfo in interface ApplicationLogginglogInfo in class GenericServicepublic void logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logWarning in interface atg.core.logging.LogginglogWarning in interface ApplicationLogginglogWarning in class GenericServicepublic void logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logError in interface atg.core.logging.LogginglogError in interface ApplicationLogginglogError in class GenericServicepublic void logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logDebug in interface atg.core.logging.LogginglogDebug in interface ApplicationLogginglogDebug in class GenericService