public class HibernateOperationRequestDao extends HibernateDao implements OperationRequestDao
HibernateDao.DaoBlock, HibernateDao.DaoBlockR<R>
Constructor and Description |
---|
HibernateOperationRequestDao(HibernateDaoContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addOperationRequest(OperationRequest operation) |
void |
clear() |
void |
deleteAllOperationRequest(String operationGridId) |
void |
deleteOperationRequest(String operationGridId,
int operationId) |
List<OperationRequest> |
listOperationRequest(String operationGridId) |
OperationRequestSearchResult |
searchOperationRequsests(int startIndex,
int maxCount,
MatchingCondition[] conditions,
Order[] orders) |
createDeleteQuery, createDeleteQuery, deleteEntities, getContext, getSession, logAdditionalInfo, logWhenRollbacking, transact, transact
public HibernateOperationRequestDao(HibernateDaoContext context)
public void clear() throws DaoException
clear
in interface OperationRequestDao
DaoException
public List<OperationRequest> listOperationRequest(String operationGridId) throws DaoException
listOperationRequest
in interface OperationRequestDao
DaoException
public OperationRequestSearchResult searchOperationRequsests(int startIndex, int maxCount, MatchingCondition[] conditions, Order[] orders) throws DaoException
searchOperationRequsests
in interface OperationRequestDao
DaoException
public void addOperationRequest(OperationRequest operation) throws DaoException
addOperationRequest
in interface OperationRequestDao
DaoException
public void deleteOperationRequest(String operationGridId, int operationId) throws DaoException
deleteOperationRequest
in interface OperationRequestDao
DaoException
public void deleteAllOperationRequest(String operationGridId) throws DaoException
deleteAllOperationRequest
in interface OperationRequestDao
DaoException