@PermitAll public class JpaWsRequestHandlerDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<WsRequestHandler,java.lang.Long> implements WsRequestHandlerDao
WsRequestHandlerDao. Provides basic methods for
accessing the WsRequestWaitPoint entity objects.| Constructor and Description |
|---|
JpaWsRequestHandlerDao()
Creates new instance.
|
JpaWsRequestHandlerDao(javax.persistence.EntityManager em)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
findIdByTask(long modelInstanceId,
long taskId)
Returns a point id associated with a task.
|
QueryResult<java.lang.Object[]> |
findRequestHandlers(WsRequestHandlerCriteria criteria)
Finds all
WsRequestHandler objects which conforms the search criteria. |
protected java.lang.String |
getColName(java.lang.String colName) |
protected javax.persistence.EntityManager |
getEntityManager() |
java.lang.Object[] |
getResponse(java.lang.Long id)
Returns request wait point with given id.
|
clear, contains, findById, findById, findByIds, flush, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JpaWsRequestHandlerDao()
public JpaWsRequestHandlerDao(javax.persistence.EntityManager em)
em - the entity managerprotected javax.persistence.EntityManager getEntityManager()
getEntityManager in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<WsRequestHandler,java.lang.Long>protected java.lang.String getColName(java.lang.String colName)
getColName in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<WsRequestHandler,java.lang.Long>public QueryResult<java.lang.Object[]> findRequestHandlers(WsRequestHandlerCriteria criteria)
WsRequestHandlerDaoWsRequestHandler objects which conforms the search criteria. Returned waiting points doesn't have filled identifier, response and request fields.
So the returned list contains the arrays of objects where the order of fields is: id, modelInstanceId, operationURI, created, requestReceived, finished, timedout, errorfindRequestHandlers in interface WsRequestHandlerDaocriteria - search criteriapublic java.lang.Object[] getResponse(java.lang.Long id)
WsRequestHandlerDaogetResponse in interface WsRequestHandlerDaoid - id of WsRequestWaitPoint entitypublic java.lang.Long findIdByTask(long modelInstanceId,
long taskId)
WsRequestHandlerDaofindIdByTask in interface WsRequestHandlerDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.