Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
Code Block | ||||
---|---|---|---|---|
| ||||
@Inject public MyClass(TasksManager tasksManager) { this.tasksManager = tasksManager; } public void createTask() { Task task = new Task(); ... tasksManager.addTask(task); } |
Note | ||
---|---|---|
Be aware that by calling
the task will not be created in the workspace. |
Start by giving the task a Start by giving the
Javadoc resource link | ||||||
---|---|---|---|---|---|---|
|
...
As with any definition used in Magnolia, you can define your own extensions to the task definition and add configurable nodes and properties. This is especially useful in combination with a custom Taskpresentertask presenter for putting together the detail view.
...
To allow bulk actions for other users, add their role names from the list of default roles as the properties and values of the roles
subnode.
...