Package com.avoka.fc.core.dao
Class SubmissionServiceUsageDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.SubmissionServiceUsageDao
-
@Deprecated public class SubmissionServiceUsageDao extends BaseDao
Deprecated.Do not use. This class exists for Groovy backward compatibility and may be removed in future releases.
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description SubmissionServiceUsageDao()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addAmountToUsageCount(Submission submission, String serviceName, int usageCount)
Deprecated.use SubmissionService.addServiceLog instead-
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
-
addAmountToUsageCount
@Deprecated public void addAmountToUsageCount(Submission submission, String serviceName, int usageCount)
Deprecated.use SubmissionService.addServiceLog insteadAdd a usage amount to the current usage amount stored for the specified submission and service name Note: This method performs a database commit,- Parameters:
submission
- the submission (required)serviceName
- the service name (required)usageCount
- the usage count to add to the current usage count
-
-