public class UsageServiceImpl extends Object implements UsageService
Constructor and Description |
---|
UsageServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
deleteDeltas(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
Delete the usage delta nodes
|
long |
getAndRemoveTotalDeltaSize(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
Get sum of usage delta sizes and remove affected deltas.
|
long |
getTotalDeltaSize(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
Get sum of usage delta sizes.
|
Set<org.alfresco.service.cmr.repository.NodeRef> |
getUsageDeltaNodes()
Get distinct set of usage delta nodes
|
void |
insertDelta(org.alfresco.service.cmr.repository.NodeRef usageNodeRef,
long deltaSize)
Add a usage delta entry.
|
void |
setUsageDAO(UsageDAO usageDAO) |
public void setUsageDAO(UsageDAO usageDAO)
public void insertDelta(org.alfresco.service.cmr.repository.NodeRef usageNodeRef, long deltaSize)
UsageService
insertDelta
in interface UsageService
public long getTotalDeltaSize(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
UsageService
getTotalDeltaSize
in interface UsageService
public long getAndRemoveTotalDeltaSize(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
UsageService
getAndRemoveTotalDeltaSize
in interface UsageService
public Set<org.alfresco.service.cmr.repository.NodeRef> getUsageDeltaNodes()
UsageService
getUsageDeltaNodes
in interface UsageService
public int deleteDeltas(org.alfresco.service.cmr.repository.NodeRef usageNodeRef)
UsageService
deleteDeltas
in interface UsageService
Copyright © 2005–2017 Alfresco Software. All rights reserved.