fr.paris.lutece.plugins.jcr.business.lock
Class JcrLockHome

java.lang.Object
  extended by fr.paris.lutece.plugins.jcr.business.lock.JcrLockHome

public final class JcrLockHome
extends Object

Jcr locks management Hom


Method Summary
 void createLock(JcrLock lock)
          Create a lock
static JcrLockHome getInstance()
           
 Collection<JcrLock> getLocks(JcrLock lock)
          Gets all locks depending on lock criterias
 void removeLock(JcrLock lock)
          Remove a lock from database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static JcrLockHome getInstance()
Returns:
an instance of AdminJcrHome

createLock

public void createLock(JcrLock lock)
Create a lock

Parameters:
lock - the lock

getLocks

public Collection<JcrLock> getLocks(JcrLock lock)
Gets all locks depending on lock criterias

Parameters:
lock - the criterias
Returns:
a collection of jcrLocks

removeLock

public void removeLock(JcrLock lock)
Remove a lock from database

Parameters:
lock - the lock


Copyright © 2014 Mairie de Paris. All Rights Reserved.