Package org.ametys.core.util.cocoon
Class AbstractCurrentUserProviderServiceableAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableAction
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,ThreadSafe,Action
- Direct Known Subclasses:
 AbstractNotifierAction,HasRightAction,SetUserPreferencesAction,UploadAction
public abstract class AbstractCurrentUserProviderServiceableAction extends ServiceableAction implements ThreadSafe
ServiceableActionwhich provides the current user if necessary. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private CurrentUserProvider_currentUserProviderThe current user provider.- 
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager 
- 
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractCurrentUserProviderServiceableAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UserIdentity_getCurrentUser()Provides the current user.- 
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_currentUserProvider
private CurrentUserProvider _currentUserProvider
The current user provider. 
 - 
 
- 
Constructor Detail
- 
AbstractCurrentUserProviderServiceableAction
public AbstractCurrentUserProviderServiceableAction()
 
 - 
 
- 
Method Detail
- 
_getCurrentUser
protected UserIdentity _getCurrentUser()
Provides the current user.- Returns:
 - the user which cannot be 
null. 
 
 - 
 
 -