com.sap.portal.admin.editor
Interface IPessimisticLockPolicy
- All Superinterfaces:
- ILockingPolicy
- public interface IPessimisticLockPolicy
- extends ILockingPolicy
API for pessimistic locking specific methods.
|
Method Summary |
void |
releaseLock(IEditorContext context,
com.sap.security.api.IPrincipal principal,
com.sapportals.common.PPLogger logger)
Release the pessinistic lock
The editor framework will maintain any property or EPCM event
regarding the lock relaese considering if an exception (failure) has been
thrown. |
releaseLock
public void releaseLock(IEditorContext context,
com.sap.security.api.IPrincipal principal,
com.sapportals.common.PPLogger logger)
throws EditorLockingException
- Release the pessinistic lock
The editor framework will maintain any property or EPCM event
regarding the lock relaese considering if an exception (failure) has been
thrown.
- Parameters:
context - the current editor contextprincipal - the security principal that trying to get the lock.logger - to log messages.- Throws:
EditorLockingException - the release lock failed.