|
Nuxeo ECM Projects 5.6-RC1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QuotaStatsUpdater
Interface to be implemented by QuotaStatsUpdater
s registered to the
QuotaStatsService
.
They use an unrestricted CoreSession
to do the update.
Method Summary | |
---|---|
void |
computeInitialStatistics(CoreSession session,
QuotaStatsInitialWork currentWorker)
Compute the initial statistics on the whole repository for this QuotaStatsUpdater . |
String |
getDescriptionLabel()
|
String |
getLabel()
|
String |
getName()
|
void |
setDescriptionLabel(String descriptionLabel)
|
void |
setLabel(String label)
|
void |
setName(String name)
|
void |
updateStatistics(CoreSession session,
DocumentEventContext docCtx,
Event event)
Update the statistics for the given docCtx and event . |
Method Detail |
---|
void updateStatistics(CoreSession session, DocumentEventContext docCtx, Event event) throws ClientException
docCtx
and event
.
Signature was changed in 5.6 to pass the Event instead of the eventName
to allow the implementer to rollback the transaction if needed
session
- an unrestricted CoreSession
to be used
ClientException
void computeInitialStatistics(CoreSession session, QuotaStatsInitialWork currentWorker)
QuotaStatsUpdater
.
session
- an unrestricted CoreSession
to be usedvoid setName(String name)
String getName()
void setLabel(String label)
String getLabel()
void setDescriptionLabel(String descriptionLabel)
String getDescriptionLabel()
|
Nuxeo ECM Projects 5.6-RC1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |