@Name(value="quotaStatsActions") @Scope(value=STATELESS) @Install(precedence=10) public class QuotaStatsActions extends Object implements Serializable
Constructor and Description |
---|
QuotaStatsActions() |
Modifier and Type | Method and Description |
---|---|
void |
activateQuota() |
QuotaDisplayValue |
formatQuota(long value,
long max) |
double |
getMinQuotaSliderValue(long totalSize) |
QuotaAware |
getQuotaDoc() |
List<QuotaStatsUpdater> |
getQuotaStatsUpdaters() |
String |
getStatus(String updaterName) |
void |
launchInitialComputation(String updaterName) |
void |
launchInitialComputation(String updaterName,
String repositoryName) |
void |
validateQuotaSize(FacesContext context,
UIComponent component,
Object value) |
public List<QuotaStatsUpdater> getQuotaStatsUpdaters()
public void launchInitialComputation(String updaterName)
public void launchInitialComputation(String updaterName, String repositoryName)
@Factory(value="currentQuotaDoc", scope=EVENT) public QuotaAware getQuotaDoc()
public void activateQuota() throws ClientException
ClientException
public void validateQuotaSize(FacesContext context, UIComponent component, Object value)
public QuotaDisplayValue formatQuota(long value, long max)
Copyright © 2012 Nuxeo SA. All Rights Reserved.