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

java.lang.Object
  extended by fr.paris.lutece.plugins.jcr.business.lock.JcrLockDAO
All Implemented Interfaces:
IJcrLockDAO

public class JcrLockDAO
extends Object
implements IJcrLockDAO

Lock DAO implementation


Constructor Summary
JcrLockDAO()
           
 
Method Summary
 void create(JcrLock lock)
          Create a new lock
 void delete(String strLockToken, int nIdWorkspace)
          Remove a lock
 Collection<JcrLock> findByCriterias(JcrLock criterias)
          Find a lock by id
 void store(JcrLock lock)
          Modify a lock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrLockDAO

public JcrLockDAO()
Method Detail

create

public void create(JcrLock lock)
Description copied from interface: IJcrLockDAO
Create a new lock

Specified by:
create in interface IJcrLockDAO
Parameters:
lock - the lock object

delete

public void delete(String strLockToken,
                   int nIdWorkspace)
Description copied from interface: IJcrLockDAO
Remove a lock

Specified by:
delete in interface IJcrLockDAO
Parameters:
strLockToken - the lock id
nIdWorkspace - the workspace

findByCriterias

public Collection<JcrLock> findByCriterias(JcrLock criterias)
Description copied from interface: IJcrLockDAO
Find a lock by id

Specified by:
findByCriterias in interface IJcrLockDAO
Parameters:
criterias - a lock object
Returns:
the lock

store

public void store(JcrLock lock)
Description copied from interface: IJcrLockDAO
Modify a lock

Specified by:
store in interface IJcrLockDAO
Parameters:
lock - the lock


Copyright © 2014 Mairie de Paris. All Rights Reserved.