Package com.xwiki.task
Interface TaskReferenceGenerator
-
@Role @Unstable public interface TaskReferenceGeneratorHandles the reference generation for the tasks.- Since:
- 3.0
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.xwiki.model.reference.DocumentReferencegenerate(org.xwiki.model.reference.DocumentReference parent)Generate a reference for a task, relative to its parent.
-
-
-
Method Detail
-
generate
org.xwiki.model.reference.DocumentReference generate(org.xwiki.model.reference.DocumentReference parent) throws TaskExceptionGenerate a reference for a task, relative to its parent.- Parameters:
parent- the parent of the task.- Returns:
- a reference to the task. It can be either a child of the parent, a sibling or it can be a child to the default TaskManager home, depending on the rights of the current user.
- Throws:
TaskException
-
-