|
|||||||||
| 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.userprofiling.Profile
public class Profile
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Constructor Summary | |
|---|---|
Profile()
Constructs an instanceof Profile |
|
| Method Summary | |
|---|---|
void |
addLogListener(LogListener pListener)
Adds a listener to the list of log listeners |
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. |
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. |
int |
getLogListenerCount()
Returns the number of log listeners |
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 |
isLoggingDebug()
This method returns whether or not an debug log event should be broadcast. |
boolean |
isLoggingError()
This method returns whether or not an error log event should be broadcast. |
boolean |
isLoggingInfo()
This method returns whether or not an info log event should be broadcast. |
boolean |
isLoggingWarning()
This method returns whether or not an warning log event should be broadcast. |
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)
Logs an debug event with the specified message |
void |
logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an debug event with the specified message and Throwable |
void |
logDebug(java.lang.Throwable pThrowable)
Logs an debug event with the specified Throwable |
void |
logError(java.lang.String pMessage)
Logs an error event with the specified message |
void |
logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an error event with the specified message and Throwable |
void |
logError(java.lang.Throwable pThrowable)
Logs an error event with the specified Throwable |
void |
logInfo(java.lang.String pMessage)
Logs an info event with the specified message |
void |
logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an info event with the specified message and Throwable |
void |
logInfo(java.lang.Throwable pThrowable)
Logs an info event with the specified Throwable |
void |
logWarning(java.lang.String pMessage)
Logs an warning event with the specified message |
void |
logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
Logs an warning event with the specified message and Throwable |
void |
logWarning(java.lang.Throwable pThrowable)
Logs an warning event with the specified Throwable |
void |
removeLogListener(LogListener pListener)
Removes a listener from the list of log listeners |
void |
sendLogEvent(LogEvent pLogEvent)
Sends a LogEvent to all of the listeners |
void |
setDataSource(RepositoryItem pDataSource)
Sets property DataSource |
void |
setDataSourceLocal(RepositoryItem pDataSource)
Sets property DataSource |
void |
setLoggingDebug(boolean pLogging)
Sets whether or not error log events should be logged. |
void |
setLoggingError(boolean pLogging)
Sets whether or not error log events should be logged. |
void |
setLoggingInfo(boolean pLogging)
Sets whether or not info log events should be logged. |
void |
setLoggingWarning(boolean pLogging)
Sets whether or not warning log events should be logged. |
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 |
| Methods inherited from class atg.nucleus.GenericService |
|---|
doStartService, doStopService, getAbsoluteName, getLoggingForVlogging, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingTrace, isRunning, logTrace, logTrace, logTrace, nameContextElementBound, nameContextElementUnbound, resolveName, resolveName, resolveName, resolveName, setLoggingTrace, setNucleus, setServiceInfo, startService, stopService |
| 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, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public Profile()
| Method Detail |
|---|
public boolean isTransient()
isTransient in interface RepositoryItempublic 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 RepositoryItem
public void setPropertyValue(java.lang.String pPropertyName,
java.lang.Object pPropertyValue)
setPropertyValue in interface MutableRepositoryItempublic Repository getRepository()
getRepository in interface RepositoryItem
public 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 addLogListener(LogListener pListener)
addLogListener in interface atg.nucleus.logging.ApplicationLoggingSenderaddLogListener in class GenericServicepublic void removeLogListener(LogListener pListener)
removeLogListener in interface atg.nucleus.logging.ApplicationLoggingSenderremoveLogListener in class GenericServicepublic int getLogListenerCount()
getLogListenerCount in interface atg.nucleus.logging.ApplicationLoggingSendergetLogListenerCount in class GenericServicepublic void sendLogEvent(LogEvent pLogEvent)
sendLogEvent in class GenericServicepublic boolean isLoggingInfo()
isLoggingInfo in interface ApplicationLoggingisLoggingInfo in class GenericServicepublic void setLoggingInfo(boolean pLogging)
setLoggingInfo in interface ApplicationLoggingsetLoggingInfo in class GenericServicepublic boolean isLoggingWarning()
isLoggingWarning in interface ApplicationLoggingisLoggingWarning in class GenericServicepublic void setLoggingWarning(boolean pLogging)
setLoggingWarning in interface ApplicationLoggingsetLoggingWarning in class GenericServicepublic boolean isLoggingError()
isLoggingError in interface ApplicationLoggingisLoggingError in class GenericServicepublic void setLoggingError(boolean pLogging)
setLoggingError in interface ApplicationLoggingsetLoggingError in class GenericServicepublic boolean isLoggingDebug()
isLoggingDebug in interface ApplicationLoggingisLoggingDebug in class GenericServicepublic void setLoggingDebug(boolean pLogging)
setLoggingDebug in interface ApplicationLoggingsetLoggingDebug in class GenericServicepublic void logInfo(java.lang.String pMessage)
logInfo in interface ApplicationLogginglogInfo in class GenericServicepublic void logInfo(java.lang.Throwable pThrowable)
logInfo in interface ApplicationLogginglogInfo in class GenericService
public void logInfo(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logInfo in interface ApplicationLogginglogInfo in class GenericServicepublic void logWarning(java.lang.String pMessage)
logWarning in interface ApplicationLogginglogWarning in class GenericServicepublic void logWarning(java.lang.Throwable pThrowable)
logWarning in interface ApplicationLogginglogWarning in class GenericService
public void logWarning(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logWarning in interface ApplicationLogginglogWarning in class GenericServicepublic void logError(java.lang.String pMessage)
logError in interface ApplicationLogginglogError in class GenericServicepublic void logError(java.lang.Throwable pThrowable)
logError in interface ApplicationLogginglogError in class GenericService
public void logError(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logError in interface ApplicationLogginglogError in class GenericServicepublic void logDebug(java.lang.String pMessage)
logDebug in interface ApplicationLogginglogDebug in class GenericServicepublic void logDebug(java.lang.Throwable pThrowable)
logDebug in interface ApplicationLogginglogDebug in class GenericService
public void logDebug(java.lang.String pMessage,
java.lang.Throwable pThrowable)
logDebug in interface ApplicationLogginglogDebug in class GenericService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||