|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILockDao
DAO interface for lock-related data operations
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. |
Method Detail |
---|
LockConfig get(String lockId, ITransaction transaction) throws DaoException, PortalException
lockId
- transaction
-
DaoException
PortalException
void add(LockConfig lockConfig, ITransaction transaction) throws DaoException, PortalException
lockConfig
- transaction
-
DaoException
PortalException
void update(LockConfig lockConfig, ITransaction transaction) throws DaoException, PortalException
lockConfig
- transaction
-
DaoException
PortalException
boolean delete(String lockId, ITransaction transaction) throws DaoException, PortalException
lockId
- transaction
-
DaoException
PortalException
Collection<String> getLockIds(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
Collection<String> getIdsByLockTypeId(String lockTypeId, ITransaction transaction) throws DaoException, PortalException
lockTypeId
- transaction
-
DaoException
PortalException
void deleteExpiredLocks(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |