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 |
---|---|
Optional<info.magnolia.task.Task> |
getItemByPath(String path) |
String |
getPath(info.magnolia.task.Task task) |
@Inject public TasksItemResolver(info.magnolia.task.TasksManager tasksManager, info.magnolia.context.Context context, TasksDataSourceDefinition tasksDataSourceDefinition)
public String getPath(info.magnolia.task.Task task)
getPath
in interface ItemResolver<info.magnolia.task.Task>
public Optional<info.magnolia.task.Task> getItemByPath(String path)
getItemByPath
in interface ItemResolver<info.magnolia.task.Task>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.