net.sourceforge.sconman
Class ContentLockManager

java.lang.Object
  extended by net.sourceforge.sconman.ContentLockManager

public class ContentLockManager
extends java.lang.Object

Author:
mballesteros

Constructor Summary
ContentLockManager()
           
 
Method Summary
static boolean isLocked(Content c)
          Returns true if the content is locked
static void lock(Content c)
          Lock content
static void unlock(Content c)
          Unlock content
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentLockManager

public ContentLockManager()
Method Detail

lock

public static void lock(Content c)
                 throws SCMStorageException
Lock content

Parameters:
c -
Throws:
SCMStorageException

unlock

public static void unlock(Content c)
Unlock content

Parameters:
c -

isLocked

public static boolean isLocked(Content c)
Returns true if the content is locked

Parameters:
c -
Returns:


Copyright null null. All Rights Reserved.