|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.lock.LockDaoJdbc
public class LockDaoJdbc
ILockDao
JDBC implementation.
Constructor Summary | |
---|---|
LockDaoJdbc()
|
Method Summary | |
---|---|
void |
add(LockConfig lockConfig,
ITransaction transaction)
Add the lock. |
boolean |
delete(String lockId,
ITransaction transaction)
Delete the lock. |
void |
deleteExpiredLocks(ITransaction transaction)
Delete all the locks that have expired. |
LockConfig |
get(String lockId,
ITransaction transaction)
Get the lock. |
Collection<String> |
getIdsByLockTypeId(String lockTypeId,
ITransaction transaction)
Get a list of ids given the of of the lock type. |
Collection<String> |
getLockIds(ITransaction transaction)
Get a list of ids of the locks. |
void |
update(LockConfig lockConfig,
ITransaction transaction)
Update the lock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LockDaoJdbc()
Method Detail |
---|
public LockConfig get(String lockId, ITransaction transaction) throws DaoException, PortalException
ILockDao
get
in interface ILockDao
DaoException
PortalException
public void add(LockConfig lockConfig, ITransaction transaction) throws DaoException, PortalException
ILockDao
add
in interface ILockDao
DaoException
PortalException
public void update(LockConfig lockConfig, ITransaction transaction) throws DaoException, PortalException
ILockDao
update
in interface ILockDao
DaoException
PortalException
public boolean delete(String lockId, ITransaction transaction) throws DaoException, PortalException
ILockDao
delete
in interface ILockDao
DaoException
PortalException
public void deleteExpiredLocks(ITransaction transaction) throws DaoException, PortalException
ILockDao
deleteExpiredLocks
in interface ILockDao
DaoException
PortalException
public Collection<String> getLockIds(ITransaction transaction) throws DaoException, PortalException
ILockDao
getLockIds
in interface ILockDao
DaoException
PortalException
public Collection<String> getIdsByLockTypeId(String lockTypeId, ITransaction transaction) throws DaoException, PortalException
ILockDao
getIdsByLockTypeId
in interface ILockDao
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |