Class TaskAssignedActivityType
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.repository.activities.DefaultActivityType
org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityType
org.ametys.plugins.workspaces.activities.tasks.TasksActivityType
org.ametys.plugins.workspaces.activities.tasks.TaskAssignedActivityType
- All Implemented Interfaces:
ActivityType
,LogEnabled
,PluginAware
,Configurable
,Serviceable
ActivityType
implementation for the assignment of a task-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.activities.tasks.TasksActivityType
ACIVITY_CATEGORY_TASKS, ATTACHEMENTS_COUNT, TASK_ID, TASK_TITLE
Fields inherited from class org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityType
_notificationPreferenceHelper, _projectManager, _resolver, PROJECT_ACCESS, PROJECT_CATEGORY, PROJECT_NAME, PROJECT_TITLE, PROJECT_URL
Fields inherited from class org.ametys.plugins.repository.activities.DefaultActivityType
_currentUserProvider, _userHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMergeable
(Activity activity1, Activity activity2) Determines if two activities can be mergedvoid
setAdditionalActivityData
(Activity activity, Map<String, Object> parameters) Add the value specific to the activity type to the activityMethods inherited from class org.ametys.plugins.workspaces.activities.tasks.TasksActivityType
additionnalDataToJSONForClient, getMailBodyURI, getProjectFromEvent, getSubjectI18nParams, getTargetAmetysObject, mergeActivities, service
Methods inherited from class org.ametys.plugins.workspaces.activities.AbstractWorkspacesActivityType
_addValueIfExists, getParentProject, getSubjectI18nKey, getUsersEmailToNotify, support
Methods inherited from class org.ametys.plugins.repository.activities.DefaultActivityType
configure, getSupportedEventTypes, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ASSIGNEES
data name for the assignees- See Also:
-
-
Constructor Details
-
TaskAssignedActivityType
public TaskAssignedActivityType()
-
-
Method Details
-
setAdditionalActivityData
public void setAdditionalActivityData(Activity activity, Map<String, Object> parameters) throws javax.jcr.RepositoryExceptionDescription copied from interface:ActivityType
Add the value specific to the activity type to the activity- Specified by:
setAdditionalActivityData
in interfaceActivityType
- Overrides:
setAdditionalActivityData
in classTasksActivityType
- Parameters:
activity
- the activityparameters
- the activity parameters- Throws:
javax.jcr.RepositoryException
- if an error occurs while manipulating the repository
-
isMergeable
Description copied from interface:ActivityType
Determines if two activities can be merged- Specified by:
isMergeable
in interfaceActivityType
- Overrides:
isMergeable
in classAbstractWorkspacesActivityType
- Parameters:
activity1
- The first activityactivity2
- The second activity- Returns:
- true if the events can be merged
-