Package org.ametys.plugins.odfweb.course
Class WebShareableCourseStatusHelper
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.odf.course.ShareableCourseStatusHelper
-
- org.ametys.plugins.odfweb.course.WebShareableCourseStatusHelper
-
- All Implemented Interfaces:
LogEnabled
,Component
,Contextualizable
,Serviceable
public class WebShareableCourseStatusHelper extends ShareableCourseStatusHelper implements Contextualizable
Helper for web shareable course status
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.odf.course.ShareableCourseStatusHelper
ShareableCourseStatusHelper.ShareableStatus
-
-
Field Summary
Fields Modifier and Type Field Description private Context
_context
-
Fields inherited from class org.ametys.odf.course.ShareableCourseStatusHelper
_contentHelper, _currentUserProvider, _i18nUtils, _observationManager, _resolver, _rightManager, _userManager, ROLE
-
-
Constructor Summary
Constructors Constructor Description WebShareableCourseStatusHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
_getContentUri(Content content)
Get the content uriprotected String
_getSiteName(Content content)
Get the site namevoid
contextualize(Context context)
-
Methods inherited from class org.ametys.odf.course.ShareableCourseStatusHelper
_getBodyI18nParams, _getFiltersText, _getFooterI18nParams, _getMailBody, _getMailSubject, _getRequestUri, _getSubjectI18nParams, _notifyShareableCourseWorkflowModification, _sendNotificationMail, getProposedStateAuthor, getShareableStatus, removeShareableWorkflow, service, setProposedStateAttribute, setRefusedStateAttribute, setValidatedStateAttribute, setWorkflowStateAttribute
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
WebShareableCourseStatusHelper
public WebShareableCourseStatusHelper()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
_getContentUri
protected String _getContentUri(Content content)
Description copied from class:ShareableCourseStatusHelper
Get the content uri- Overrides:
_getContentUri
in classShareableCourseStatusHelper
- Parameters:
content
- the content- Returns:
- the content uri
-
_getSiteName
protected String _getSiteName(Content content)
Get the site name- Parameters:
content
- the content- Returns:
- the site name
-
-