Package com.avoka.fc.core.dao
Class SubmissionServiceDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.SubmissionServiceDao
-
public class SubmissionServiceDao extends BaseDao
Provides a DAO for the SubmissionServiceLog entity.- Since:
- 4.3.4
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description SubmissionServiceDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SubmissionServiceLog>
getServiceLogByName(Submission submission, String serviceName)
Return the submission service entries for the given submission and service name, sorted ascending by creation date (oldest first).org.apache.cayenne.ResultIterator<SubmissionServiceLog>
getSubmissionServiceForLicensing()
Return the set of transactions that shall be published for licensing.List<SubmissionServiceLog>
getSubServiceLog(String keyword, String clientId, Date startDate, Date endDate)
Return the submission service log records for the given query criteria.-
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
-
-
-
-
Method Detail
-
getSubServiceLog
public List<SubmissionServiceLog> getSubServiceLog(String keyword, String clientId, Date startDate, Date endDate)
Return the submission service log records for the given query criteria.- Parameters:
keyword
- the search keywordclientId
- the client idstartDate
- the search start dateendDate
- the search end date- Returns:
- the submission service log records for the given query criteria
- Since:
- 5.0.0
-
getSubmissionServiceForLicensing
public org.apache.cayenne.ResultIterator<SubmissionServiceLog> getSubmissionServiceForLicensing()
Return the set of transactions that shall be published for licensing.- Returns:
- an iterator over the set of transactions eligible for licensing
- Since:
- 4.3.4
-
getServiceLogByName
public List<SubmissionServiceLog> getServiceLogByName(Submission submission, String serviceName)
Return the submission service entries for the given submission and service name, sorted ascending by creation date (oldest first).- Parameters:
submission
- the submission (required)serviceName
- the service name (required)- Returns:
- the list of matching submission service entries
- Since:
- 5.1.7
-
-