com.sap.portal.adminstudio.ilockingpolicypublic interface ILockingPolicy
getLock
method using the
enforce
parameter.
| Modifier and Type | Method and Description |
|---|---|
EditorLockingStatus |
getLock(IEditorContext context,
com.sap.security.api.IPrincipal principal,
boolean enforce,
PPLogger logger)
Deprecated.
Gets the lock for the specified editor.
|
EditorLockingStatus getLock(IEditorContext context, com.sap.security.api.IPrincipal principal, boolean enforce, PPLogger logger) throws EditorLockingException, EditorResourceException
context - the current context of the editorprincipal - a security principal trying to get the lockenforce - indicates whether to get a new lock, even if the resource
is already lockedlogger - to log messagesEditorLockingException - if getting a lock failsEditorResourceException - if an error occurs regarding the resource
that this editor deals with, and an error
message is displayed instead of
the regular editor user interfaceEditorLockingStatus| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice