|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
API for the locking policy of this editor.
| Method Summary | |
EditorLockingStatus |
getLock(IEditorContext context,
com.sap.security.api.IPrincipal principal,
boolean enforce,
com.sapportals.common.PPLogger logger)
Get lock for the current editor, using the concrete Algorythem, considaring the data type and the locking policy The editor framework maintains the locking flow, according to the status That this plugin return. |
| Method Detail |
public EditorLockingStatus getLock(IEditorContext context,
com.sap.security.api.IPrincipal principal,
boolean enforce,
com.sapportals.common.PPLogger logger)
throws EditorLockingException,
EditorResourceException
The editor framework maintains the locking flow, according to the status That this plugin return.
context - The current context of the editorprincipal - the security principal that trying to get the lock.enforce - enforce getting lock- get a new lock, even if the resource is locked.logger - to log messages.EditorLockingException - get lock failed. An error occur while trying to
get or refresh the lock. The editor framework presents an end user message that no
specific error occur, and the exception will be logged.EditorResourceException - an error occured regarding the
resource that this editor deals with. This exception is a showstopper for the editor-
The editor framework will present the given end user message
instead of the regular editor UI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||