com.sap.portal.admin.editor

Interface IPessimisticLockPolicy

All Superinterfaces:
ILockingPolicy

Deprecated. As of SAP NetWeaver 2007 release, replaced by package com.sap.portal.adminstudio.ilockingpolicy

public interface IPessimisticLockPolicy
extends ILockingPolicy

The interface that represents pessimistic locking methods. A pessimistic lock gets the lock for the entire duration of the view/edit/update of the object.


Method Summary
 void releaseLock(IEditorContext context, com.sap.security.api.IPrincipal principal, PPLogger logger)
          Deprecated. Releases the pessimistic lock.
 
Methods inherited from interface com.sap.portal.admin.editor.ILockingPolicy
getLock
 

Method Detail

releaseLock

void releaseLock(IEditorContext context,
                 com.sap.security.api.IPrincipal principal,
                 PPLogger logger)
                 throws EditorLockingException
Deprecated. 
Releases the pessimistic lock.

Parameters:
context - the current editor context
principal - a security principal trying to get the lock
logger - a logger for logging messages
Throws:
EditorLockingException - if releasing the lock fails
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/admin/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice