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 inherited from class org.ametys.odf.course.ShareableCourseStatusHelper
_contentHelper, _currentUserProvider, _i18nUtils, _observationManager, _resolver, _rightManager, _userManager, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
WebShareableCourseStatusHelper
public WebShareableCourseStatusHelper()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
_getContentUri
Description copied from class:ShareableCourseStatusHelper
Get the content uri- Overrides:
_getContentUri
in classShareableCourseStatusHelper
- Parameters:
content
- the content- Returns:
- the content uri
-
_getSiteName
Get the site name- Parameters:
content
- the content- Returns:
- the site name
-