Package org.nuxeo.ecm.user.invite
Class UserInvitationComponent.RootDocumentGetter
- java.lang.Object
-
- org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
-
- org.nuxeo.ecm.user.invite.UserInvitationComponent.RootDocumentGetter
-
- Enclosing class:
- UserInvitationComponent
protected class UserInvitationComponent.RootDocumentGetter extends UnrestrictedSessionRunner
-
-
Field Summary
Fields Modifier and Type Field Description protected String
configurationName
protected DocumentModel
doc
-
Fields inherited from class org.nuxeo.ecm.core.api.UnrestrictedSessionRunner
isUnrestricted, originatingUsername, repositoryName, session, sessionIsAlreadyUnrestricted
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RootDocumentGetter(String configurationName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentModel
getDoc()
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
-
doc
protected DocumentModel doc
-
configurationName
protected String configurationName
-
-
Constructor Detail
-
RootDocumentGetter
protected RootDocumentGetter(String configurationName)
-
-
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
-
getDoc
public DocumentModel getDoc()
-
-