public class WebConfiguration extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Modifier and Type | Field and Description |
---|---|
static WebConfiguration |
DEFAULT_WEB_CONFIGURATION |
Constructor and Description |
---|
WebConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationDefinition(AnnotationDefinition annotationDefinition) |
void |
addFilter(int order,
String name,
String icon,
String type,
String author,
Map<String,String> fields) |
boolean |
canAnnotate() |
AnnotationDefinition |
getAnnotationDefinition(String name) |
List<AnnotationDefinition> |
getAnnotationDefinitions() |
List<AnnotationDefinition> |
getAnnotationDefinitions(AnnotationDefinitionFilter filter) |
Map<String,AnnotationDefinition> |
getAnnotationDefinitionsMap() |
Set<String> |
getDisplayedFields() |
Map<String,String> |
getFieldLabels() |
List<AnnotationFilter> |
getFilters() |
Map<String,String> |
getUserInfo() |
void |
removeAnnotationDefinition(AnnotationDefinition annotationDefinition) |
void |
setCanAnnotate(boolean canAnnotate) |
void |
setDisplayedFields(Set<String> fields) |
void |
setFieldLabels(Map<String,String> fieldLabels) |
void |
setFilters(List<AnnotationFilter> filters) |
void |
setUserInfo(Map<String,String> userInfo) |
public static final WebConfiguration DEFAULT_WEB_CONFIGURATION
public WebConfiguration()
public void addAnnotationDefinition(AnnotationDefinition annotationDefinition)
public void removeAnnotationDefinition(AnnotationDefinition annotationDefinition)
public List<AnnotationDefinition> getAnnotationDefinitions()
public List<AnnotationDefinition> getAnnotationDefinitions(AnnotationDefinitionFilter filter)
public Map<String,AnnotationDefinition> getAnnotationDefinitionsMap()
public AnnotationDefinition getAnnotationDefinition(String name)
public void setUserInfo(Map<String,String> userInfo)
public Map<String,String> getUserInfo()
public void addFilter(int order, String name, String icon, String type, String author, Map<String,String> fields)
public List<AnnotationFilter> getFilters()
public void setFilters(List<AnnotationFilter> filters)
public Set<String> getDisplayedFields()
public void setDisplayedFields(Set<String> fields)
public void setFieldLabels(Map<String,String> fieldLabels)
public Map<String,String> getFieldLabels()
public void setCanAnnotate(boolean canAnnotate)
public boolean canAnnotate()
Copyright © 2015 Nuxeo SA. All rights reserved.