@Name(value="quotaStatsActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class QuotaStatsActions extends Object implements Serializable
Constructor and Description |
---|
QuotaStatsActions() |
Modifier and Type | Method and Description |
---|---|
QuotaDisplayValue |
formatQuota(long value,
long max) |
long |
getMaxQuotaOnUsersWorkspaces() |
long |
getMaxQuotaSliderValue() |
long |
getMinQuotaSliderValue() |
double |
getMinQuotaSliderValue(long totalSize) |
QuotaAware |
getQuotaDoc() |
List<QuotaStatsUpdater> |
getQuotaStatsUpdaters() |
String |
getStatus(String updaterName) |
void |
initialize() |
void |
initQuotaActivatedOnUserWorkspaces() |
boolean |
isActivateQuotaOnUsersWorkspaces() |
boolean |
isQuotaSetOnCurrentDocument() |
void |
launchInitialComputation(String updaterName) |
void |
launchInitialComputation(String updaterName,
String repositoryName) |
void |
saveQuotaActivatedOnUsersWorkspaces() |
void |
setActivateQuotaOnUsersWorkspaces(boolean activateQuotaOnUsersWorkspaces) |
void |
setMaxQuotaOnUsersWorkspaces(long maxQuotaOnUsersWorkspaces) |
void |
validateQuotaSize(FacesContext context,
UIComponent component,
Object value) |
boolean |
workQueuesInProgess() |
@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(FacesContext context, UIComponent component, Object value)
public QuotaDisplayValue formatQuota(long value, long max)
public double getMinQuotaSliderValue(long totalSize) throws Exception
Exception
public void saveQuotaActivatedOnUsersWorkspaces() throws ClientException
ClientException
public void initQuotaActivatedOnUserWorkspaces() throws ClientException
ClientException
public boolean workQueuesInProgess()
public boolean isQuotaSetOnCurrentDocument()
public boolean isActivateQuotaOnUsersWorkspaces()
public void setActivateQuotaOnUsersWorkspaces(boolean activateQuotaOnUsersWorkspaces)
public long getMaxQuotaOnUsersWorkspaces()
public void setMaxQuotaOnUsersWorkspaces(long maxQuotaOnUsersWorkspaces)
Copyright © 2013 Nuxeo SA. All Rights Reserved.