public class ProfileRequestTools 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 |
---|
ProfileRequestTools() |
Modifier and Type | Method and Description |
---|---|
void |
initAnonymousProfile(MutableRepositoryItem pUser,
ProfileTools profileTools)
This method is intended to be used when an anonymous persistent
profile is created and unique attributes of the profile must be
set before the user is initially commited to the database.
|
void |
setTemporaryRequiredPropertyValue(MutableRepositoryItem pUser,
DynamicPropertyDescriptor pPropertyDescriptor,
ProfileTools profileTools)
Sets the required user property to some temporary value.
|
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 void initAnonymousProfile(MutableRepositoryItem pUser, ProfileTools profileTools) throws RepositoryException
setTemporaryRequiredPropertyValue
method. This
code should only perform setPropertyValue
calls. The
update (commit) of the changes will occur after this method is invoked.
If sendLoginEventForNewPersistentAnonymousProfiles is true, this implementation also fires a login event.
pUser
- the profile of the new user to update before being
committed to the databaseRepositoryException
- if an error occured during the
update of the RepositoryItempublic void setTemporaryRequiredPropertyValue(MutableRepositoryItem pUser, DynamicPropertyDescriptor pPropertyDescriptor, ProfileTools profileTools) throws RepositoryException
pUser
pUser
- the user to set the values onpPropertyDescriptor
- the descriptor of the property that is
required to be setRepositoryException
- if a problem occurs while attempting
to set property values