Class TaskServiceImpl.GetTaskRootParentPathUnrestricted
- java.lang.Object
-
- org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
-
- org.nuxeo.ecm.platform.task.core.service.TaskServiceImpl.GetTaskRootParentPathUnrestricted
-
- Enclosing class:
- TaskServiceImpl
public class TaskServiceImpl.GetTaskRootParentPathUnrestricted extends UnrestrictedSessionRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentModel
taskRootDoc
-
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
-
Constructor Summary
Constructors Constructor Description GetTaskRootParentPathUnrestricted(CoreSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getParentPath()
DocumentModel
getTaskRootDoc()
void
run()
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.-
Methods inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
checkUnrestricted, getOriginatingUsername, runUnrestricted, setOriginatingUsername
-
-
-
-
Field Detail
-
taskRootDoc
protected DocumentModel taskRootDoc
-
-
Constructor Detail
-
GetTaskRootParentPathUnrestricted
public GetTaskRootParentPathUnrestricted(CoreSession session)
-
-
Method Detail
-
run
public void run()
Description copied from class:UnrestrictedSessionRunner
This method will be called byUnrestrictedSessionRunner.runUnrestricted()
withUnrestrictedSessionRunner.session
available as an unrestricted session.It can also be called directly in which case the
UnrestrictedSessionRunner.session
available will be the one passed to#UnrestrictedSessionRunner(CoreSession)
.- Specified by:
run
in classUnrestrictedSessionRunner
-
getTaskRootDoc
public DocumentModel getTaskRootDoc()
-
getParentPath
public String getParentPath()
-
-