Package com.avoka.fc.core.dao
Class SubmissionAsyncMsgDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.SubmissionAsyncMsgDao
Provides a DAO for the SubmissionAsyncMsg entity.
- Since:
- 4.3.2
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the submission async message for the given primary key.getAsyncMsgForKey
(String msgKey) Return the submission async message for the given msg key.Return list of 'Ready' status async messages which have expiredgetReadyAsyncMsgsForTopic
(String topic, int fetchLimit) Return list of 'Ready' status async messages for given topic.Methods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
Constructor Details
-
SubmissionAsyncMsgDao
public SubmissionAsyncMsgDao()
-
-
Method Details
-
getAsyncMsgForID
Return the submission async message for the given primary key.- Parameters:
id
- the OID- Returns:
- the submission async message for the given primary key, or null if not found or access is not authorized
-
getAsyncMsgForKey
Return the submission async message for the given msg key.- Parameters:
msgKey
- the message key- Returns:
- the submission async message for the given primary key, or null if not found or access is not authorized
-
getReadyAsyncMsgsForTopic
Return list of 'Ready' status async messages for given topic.- Parameters:
topic
- the messages topicfetchLimit
- the request fetch limit- Returns:
- list of 'Ready' status async messages for given topic
-
getReadyAsyncMsgsForExpiry
Return list of 'Ready' status async messages which have expired- Returns:
- list of 'Ready' status async messages which have expired
-