public final class LongRunningProcessHelper extends Object
Modifier and Type | Method and Description |
---|---|
void |
finishProcess()
Marks the current process as finished.
|
LRPControlBean |
getControlBean() |
static LongRunningProcessHelper |
getForSession() |
static LongRunningProcessHelper |
getForSession(javax.servlet.http.HttpSession session) |
void |
startProcess(LRPControlBean controlBean)
Starts the process as configured in the provided control bean.
|
public static LongRunningProcessHelper getForSession()
LongRunningProcessHelper
for the current session.public static LongRunningProcessHelper getForSession(javax.servlet.http.HttpSession session)
session
- the current sessionLongRunningProcessHelper
for the current sessionpublic void startProcess(LRPControlBean controlBean) throws ProcessAlreadyRunningException
controlBean
- control beanProcessAlreadyRunningException
- thrown when another process is already running in this sessionpublic LRPControlBean getControlBean()
public void finishProcess()
Copyright © 2021 Hyland Software Germany GmbH. All rights reserved.