Package org.adempiere.webui.process
Class AddAuthorizationProcess
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.AddAuthorizationProcess
org.adempiere.webui.process.AddAuthorizationProcess
- All Implemented Interfaces:
IServerPushCallback
,ProcessCall
IDEMPIERE-3101, process to add OAuth2 authorization
- Author:
- Carlos Ruiz - globalqss
-
Field Summary
Fields inherited from class org.compiere.process.AddAuthorizationProcess
f_authURL, p_AD_AuthorizationCredential_ID, p_AD_AuthorizationScopes, p_Auth_OpenPopup
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
postProcess
(boolean success) Post process to register the server push callbackvoid
updateUI()
Open the authorization form when updating the UI on server push callbackMethods inherited from class org.compiere.process.AddAuthorizationProcess
doIt, prepare
Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Constructor Details
-
AddAuthorizationProcess
public AddAuthorizationProcess()
-
-
Method Details
-
postProcess
protected void postProcess(boolean success) Post process to register the server push callback- Overrides:
postProcess
in classSvrProcess
- Parameters:
success
- true if the process was success
-
updateUI
public void updateUI()Open the authorization form when updating the UI on server push callback- Specified by:
updateUI
in interfaceIServerPushCallback
-