org.sakaiproject.service.legacy.content
Interface LockManager

All Known Implementing Classes:
LockManagerImpl

public interface LockManager


Method Summary
 Collection getLocks(String assetId)
           
 boolean isLocked(String assetId)
           
 void lockObject(String assetId, String qualifierId, String reason, boolean system)
           
 void removeAllLocks(String qualifier)
           
 void removeLock(String assetId, String qualifierId)
           
 

Method Detail

lockObject

public void lockObject(String assetId,
                       String qualifierId,
                       String reason,
                       boolean system)

removeLock

public void removeLock(String assetId,
                       String qualifierId)

getLocks

public Collection getLocks(String assetId)
Returns:
- a non-empty Collection of active Locks, or null

isLocked

public boolean isLocked(String assetId)

removeAllLocks

public void removeAllLocks(String qualifier)