Class UsageDAOImpl
java.lang.Object
org.alfresco.repo.domain.usage.AbstractUsageDAOImpl
org.alfresco.repo.domain.usage.ibatis.UsageDAOImpl
- All Implemented Interfaces:
UsageDAO
iBatis-specific implementation of the Usage DAO.
- Since:
- 3.4
- Author:
- janv
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.alfresco.repo.domain.usage.UsageDAO
UsageDAO.MapHandler, UsageDAO.StringHandler -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intdeleteUsageDeltaEntitiesByNodeId(long nodeEntityId) protected UsageDeltaEntityprotected LongselectContentSizeForStoreForUser(StoreRef storeRef, String userName) protected UsageDeltaEntityselectTotalUsageDeltaSize(long nodeEntityId) protected voidselectUserContentSizesForStore(StoreRef storeRef, UsageDAO.MapHandler resultsCallback) protected voidselectUsersWithoutUsage(StoreRef storeRef, UsageDAO.MapHandler resultsCallback) protected voidselectUsersWithUsage(StoreRef storeRef, UsageDAO.MapHandler resultsCallback) voidsetQnameDAO(QNameDAO qnameDAO) final voidsetSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) Methods inherited from class org.alfresco.repo.domain.usage.AbstractUsageDAOImpl
deleteDeltas, deleteDeltas, getContentSizeForStoreForUser, getTotalDeltaSize, getUsageDeltaNodes, getUserContentSizesForStore, getUsersWithoutUsage, getUsersWithUsage, insertDelta, setNodeDAO
-
Constructor Details
-
UsageDAOImpl
public UsageDAOImpl()
-
-
Method Details
-
setSqlSessionTemplate
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) -
setQnameDAO
-
insertUsageDeltaEntity
- Specified by:
insertUsageDeltaEntityin classAbstractUsageDAOImpl
-
selectTotalUsageDeltaSize
- Specified by:
selectTotalUsageDeltaSizein classAbstractUsageDAOImpl
-
selectUsageDeltaNodes
- Specified by:
selectUsageDeltaNodesin classAbstractUsageDAOImpl
-
deleteUsageDeltaEntitiesByNodeId
protected int deleteUsageDeltaEntitiesByNodeId(long nodeEntityId) - Specified by:
deleteUsageDeltaEntitiesByNodeIdin classAbstractUsageDAOImpl
-
selectUsersWithoutUsage
- Specified by:
selectUsersWithoutUsagein classAbstractUsageDAOImpl
-
selectUsersWithUsage
- Specified by:
selectUsersWithUsagein classAbstractUsageDAOImpl
-
selectUserContentSizesForStore
protected void selectUserContentSizesForStore(StoreRef storeRef, UsageDAO.MapHandler resultsCallback) - Specified by:
selectUserContentSizesForStorein classAbstractUsageDAOImpl
-
selectContentSizeForStoreForUser
- Specified by:
selectContentSizeForStoreForUserin classAbstractUsageDAOImpl
-