[Task 72232] added javadoc

This commit is contained in:
Raf Ponsaerts
2020-08-11 16:04:03 +02:00
parent 40ec84d440
commit cdc1d3b071
4 changed files with 27 additions and 0 deletions

View File

@@ -248,6 +248,13 @@ public class Curation extends DSpaceRunnable<CurationScriptConfiguration> {
}
}
/**
* This method will assign the currentUser to the {@link Context} variable which is also created in this method.
* The instance of the method in this class will fetch the EPersonIdentifier from this class, this identifier
* was given to this class upon instantiation, it'll then be used to find the {@link EPerson} associated with it
* and this {@link EPerson} will be set as the currentUser of the created {@link Context}
* @throws ParseException If something went wrong with the retrieval of the EPerson Identifier
*/
protected void assignCurrentUserInContext() throws ParseException {
UUID currentUserUuid = this.getEpersonIdentifier();
try {