public class FormRecordLockContext extends Object implements IFormRecordLockContext
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static FormRecordLockContext |
empty() |
static FormRecordLockContext |
forId(Long id) |
static FormRecordLockContext |
forProcessId(String processId) |
static FormRecordLockContext |
forRequest(javax.servlet.http.HttpServletRequest req) |
Long |
getFormRecordId() |
String |
toString() |
void |
update(Vorgang newFormRecord)
Updates the form record to be locked.
|
public static FormRecordLockContext empty() throws CouldNotLockFormRecordException
CouldNotLockFormRecordExceptionpublic static FormRecordLockContext forRequest(javax.servlet.http.HttpServletRequest req) throws CouldNotLockFormRecordException
CouldNotLockFormRecordExceptionpublic static FormRecordLockContext forProcessId(String processId) throws CouldNotLockFormRecordException
CouldNotLockFormRecordExceptionpublic static FormRecordLockContext forId(Long id) throws CouldNotLockFormRecordException
CouldNotLockFormRecordExceptionpublic Long getFormRecordId()
getFormRecordId in interface IFormRecordLockContextnull if no form record is
being locked by this context.public void update(Vorgang newFormRecord)
IFormRecordLockContextupdate in interface IFormRecordLockContextnewFormRecord - to lockpublic void close()
close in interface AutoCloseableCopyright © 2021 XIMA MEDIA GmbH. All rights reserved.