Package org.nuxeo.ecm.quota.automation
Class RecomputeQuotaStatistics
- java.lang.Object
-
- org.nuxeo.ecm.quota.automation.RecomputeQuotaStatistics
-
public class RecomputeQuotaStatistics extends Object
Recomputes Quota size statistics.- Since:
- 10.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
ID
protected String
path
protected QuotaStatsService
quotaStatsService
protected CoreSession
session
static String
SIZE_UPDATER
protected String
tenantId
protected String
updaterName
protected String
username
-
Constructor Summary
Constructors Constructor Description RecomputeQuotaStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getTenantPath()
protected String
getUserPersonalWorkspacePath()
String
run()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
SIZE_UPDATER
public static final String SIZE_UPDATER
- See Also:
- Constant Field Values
-
updaterName
protected String updaterName
-
session
protected CoreSession session
-
quotaStatsService
protected QuotaStatsService quotaStatsService
-
-
Constructor Detail
-
RecomputeQuotaStatistics
public RecomputeQuotaStatistics()
-
-
Method Detail
-
run
public String run() throws OperationException
- Throws:
OperationException
-
getTenantPath
protected String getTenantPath() throws OperationException
- Throws:
OperationException
-
getUserPersonalWorkspacePath
protected String getUserPersonalWorkspacePath() throws OperationException
- Throws:
OperationException
-
-