Class TaskJSONHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.workspaces.util.WorkspaceObjectJSONHelper
org.ametys.plugins.workspaces.tasks.json.TaskJSONHelper
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Helper to convert task to JSON
-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.util.WorkspaceObjectJSONHelper
_currentUserProvider, _populationContextHelper, _projectMemberManager, _richTextTransformer, _sourceResolver, _tagProviderExtensionPoint, _userHelper, _userManager, ATTRIBUTE_FOR_RICHTEXT_ERROR
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.workspaces.util.WorkspaceObjectJSONHelper
_authorToJSON, _binaryToJson, _commentsToJson, _commentsToJson, _commentToJson, _getTags, richTextToRendering, richTextToSimpleText, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role
-
-
Constructor Details
-
TaskJSONHelper
public TaskJSONHelper()
-
-
Method Details
-
taskAsJSON
Task as JSON- Parameters:
task
- the tasklang
- the languagesiteName
- the site name- Returns:
- the task as JSON
-