com.sap.netweaver.bc.rf.mi.lock
Interface ILockManager
[contained in: com.sap.netweaver.bc.rf.par - bc.rf.mi_api.jar]
- All Known Subinterfaces:
- IMutableLockManager
- public interface ILockManager
Read-Only interface describing a repository sub manager for locking.
Resources may be locked shallow or deep (in the resource hierarchy), exclusiv
or shared (concerning concurrent access) and for reading or writing. Shallow
locks affect only the given resource handle (content, properties, etc. and
the namespace, not the resources, below the resource), where deep locks
effect also the descendents in the resource hierarchy. Exclusive locks block
any other lock from being obtained on the given resource handle and block any
unlocked access. Shared locks block any exclusive lock from being obtained on
the given resource handle and block any unlocked access too, but allow for
further shared locks. Write locks are for write access while read locks are
for read access. Within the framework, read locks are currently not used.
|
Method Summary |
java.util.List |
getLocks(IResourceHandle resourceHandle)
Get list of ILogInfo instances describing all locks set for the
given resource handle independly of the user. |
getLocks
public java.util.List getLocks(IResourceHandle resourceHandle)
throws ResourceException
- Get list of
ILogInfo instances describing all locks set for the
given resource handle independly of the user. Returns also deep locks of
parent resources if set above the given resource. Returns an empty list if
no locks are found for the resource.
- Parameters:
resourceHandle - resource handle- Returns:
- The locks value
- Throws:
ResourceException - when the list of the locks can't be obtained
Copyright © 2004 by
SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other
countries all over the world. All other product and service names mentioned are the trademarks of their respective companies.
Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be
liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.