Class OrcidAbstractHandler
- java.lang.Object
-
- edu.cornell.mannlib.vivo.orcid.controller.OrcidAbstractHandler
-
- Direct Known Subclasses:
OrcidAddExternalIdHandler,OrcidAuthAuthenticateHandler,OrcidAuthExternalIdsHandler,OrcidDefaultHandler,OrcidReadProfileHandler
public abstract class OrcidAbstractHandler extends Object
Some utility methods for the handlers.
-
-
Field Summary
Fields Modifier and Type Field Description protected edu.cornell.mannlib.orcidclient.auth.AuthorizationManagerauthprotected edu.cornell.mannlib.vitro.webapp.beans.UserAccountcurrentUserprotected edu.cornell.mannlib.orcidclient.actions.ActionManagermanagerprotected edu.cornell.mannlib.orcidclient.context.OrcidClientContextoccprotected edu.cornell.mannlib.vivo.orcid.controller.OrcidConfirmationStatestateprotected edu.cornell.mannlib.vitro.webapp.controller.VitroRequestvreq
-
Constructor Summary
Constructors Modifier Constructor Description protectedOrcidAbstractHandler(edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringcornellNetId()protected edu.cornell.mannlib.vitro.webapp.beans.IndividualfindIndividual()protected voidrecordConfirmation()static voidsetAPiLevelPublic()protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValuesshow500InternalServerError(String message)protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValuesshowConfirmationPage()protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValuesshowConfirmationPage(edu.cornell.mannlib.vivo.orcid.controller.OrcidConfirmationState.Progress p, edu.cornell.mannlib.orcidclient.model.OrcidProfile... profiles)
-
-
-
Field Detail
-
vreq
protected final edu.cornell.mannlib.vitro.webapp.controller.VitroRequest vreq
-
occ
protected final edu.cornell.mannlib.orcidclient.context.OrcidClientContext occ
-
auth
protected final edu.cornell.mannlib.orcidclient.auth.AuthorizationManager auth
-
manager
protected final edu.cornell.mannlib.orcidclient.actions.ActionManager manager
-
state
protected final edu.cornell.mannlib.vivo.orcid.controller.OrcidConfirmationState state
-
currentUser
protected final edu.cornell.mannlib.vitro.webapp.beans.UserAccount currentUser
-
-
Method Detail
-
findIndividual
protected edu.cornell.mannlib.vitro.webapp.beans.Individual findIndividual()
-
recordConfirmation
protected void recordConfirmation()
-
cornellNetId
protected String cornellNetId()
-
show500InternalServerError
protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValues show500InternalServerError(String message)
-
showConfirmationPage
protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValues showConfirmationPage(edu.cornell.mannlib.vivo.orcid.controller.OrcidConfirmationState.Progress p, edu.cornell.mannlib.orcidclient.model.OrcidProfile... profiles)
-
showConfirmationPage
protected edu.cornell.mannlib.vitro.webapp.controller.freemarker.responsevalues.ResponseValues showConfirmationPage()
-
setAPiLevelPublic
public static void setAPiLevelPublic()
-
-