@Name(value="quotaStatsActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class QuotaStatsActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean |
activateQuotaOnUsersWorkspaces |
protected CoreSession |
documentManager |
protected org.apache.commons.logging.Log |
log |
protected long |
maxQuotaOnUsersWorkspaces |
protected Map<String,String> |
messages |
protected NavigationContext |
navigationContext |
protected QuotaStatsService |
quotaStatsService |
protected WorkManager |
workManager |
Constructor and Description |
---|
QuotaStatsActions() |
protected org.apache.commons.logging.Log log
@In(create=true) protected transient CoreSession documentManager
@In(create=true) protected transient NavigationContext navigationContext
protected QuotaStatsService quotaStatsService
protected boolean activateQuotaOnUsersWorkspaces
protected long maxQuotaOnUsersWorkspaces
protected WorkManager workManager
public QuotaStatsActions()
@Create public void initialize()
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 validateQuotaSize(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
public QuotaDisplayValue formatQuota(long value, long max)
public double getMinQuotaSliderValue(long totalSize)
public long getMinQuotaSliderValue()
public long getMaxQuotaSliderValue()
public void saveQuotaActivatedOnUsersWorkspaces()
public void initQuotaActivatedOnUserWorkspaces()
public boolean workQueuesInProgess()
public boolean isQuotaSetOnCurrentDocument()
public boolean isActivateQuotaOnUsersWorkspaces()
public void setActivateQuotaOnUsersWorkspaces(boolean activateQuotaOnUsersWorkspaces)
public long getMaxQuotaOnUsersWorkspaces()
public void setMaxQuotaOnUsersWorkspaces(long maxQuotaOnUsersWorkspaces)
protected WorkManager getWorkManager()
Copyright © 2015 Nuxeo SA. All rights reserved.