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
ServiceableAction
which provides the current user if necessary.
-
-
Field Summary
-
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
-
-
-
-
Constructor Detail
-
AbstractCurrentUserProviderServiceableAction
public AbstractCurrentUserProviderServiceableAction()
-
-
Method Detail
-
_getCurrentUser
protected UserIdentity _getCurrentUser()
Provides the current user.- Returns:
- the user which cannot be
null
.
-
-