public class TasksItemResolver extends Object implements ItemResolver<info.magnolia.task.Task>
Constructor and Description |
---|
TasksItemResolver(info.magnolia.task.TasksManager tasksManager,
info.magnolia.context.Context context,
TasksDataSourceDefinition tasksDataSourceDefinition) |
Modifier and Type | Method and Description |
---|---|
String |
getId(info.magnolia.task.Task task) |
Optional<info.magnolia.task.Task> |
getItemById(String path) |
@Inject public TasksItemResolver(info.magnolia.task.TasksManager tasksManager, info.magnolia.context.Context context, TasksDataSourceDefinition tasksDataSourceDefinition)
public String getId(info.magnolia.task.Task task)
getId
in interface ItemResolver<info.magnolia.task.Task>
public Optional<info.magnolia.task.Task> getItemById(String path)
getItemById
in interface ItemResolver<info.magnolia.task.Task>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.