public abstract class AWebPage extends Object implements IContextAware
| Modifier and Type | Field and Description |
|---|---|
protected IServerOptionsDAO |
dServerOptions |
protected org.apache.cxf.jaxrs.ext.MessageContext |
mc |
protected NavbarRegistry |
navRegistry |
| Constructor and Description |
|---|
AWebPage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBreadCrumb(String link,
String name) |
protected void |
addFilter(String id,
String name,
boolean isDefault) |
protected void |
addSidebarElement(Collection<String> elements) |
protected void |
addSidebarElement(String element) |
protected void |
addSidebarElements(Collection<? extends de.cinovo.cloudconductor.api.model.INamed> elements) |
protected void |
addTopAction(String link,
String name) |
protected void |
addViewType(String id,
String name,
boolean isDefault) |
protected FormErrorException |
assertNotEmpty(String variable,
FormErrorException error,
String formElement) |
protected String |
auditFormat(String[] str) |
protected FormErrorException |
checkForEmpty(String variable,
String errorMessage,
FormErrorException error,
String formElement) |
protected void |
clearFilter() |
protected void |
clearViewType() |
protected FormErrorException |
createError(String message) |
protected CSViewModel |
createModal(String modalName) |
protected CSViewModel |
createView() |
protected CSViewModel |
createView(String viewname) |
protected List<ViewFilter> |
getCurrentFilter() |
protected String |
getCurrentViewType() |
protected abstract String |
getNavElementName() |
protected SidebarType |
getSidebarType() |
protected abstract String |
getTemplateFolder() |
protected Boolean |
hasError() |
protected abstract void |
init() |
protected FormErrorException |
pollError() |
protected void |
removeSidebarElement(String element) |
void |
setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext context) |
protected <K extends Comparable<K>,V> |
sortMap(Map<K,V> map) |
protected <E extends de.cinovo.cloudconductor.api.model.INamed> |
sortNamedList(List<E> list) |
@Autowired protected NavbarRegistry navRegistry
@Autowired protected IServerOptionsDAO dServerOptions
protected org.apache.cxf.jaxrs.ext.MessageContext mc
protected abstract String getTemplateFolder()
@PostConstruct protected abstract void init()
public void setMessageContext(org.apache.cxf.jaxrs.ext.MessageContext context)
setMessageContext in interface IContextAwareprotected abstract String getNavElementName()
protected SidebarType getSidebarType()
protected CSViewModel createView()
protected String getCurrentViewType()
protected void clearViewType()
protected List<ViewFilter> getCurrentFilter()
protected void clearFilter()
protected CSViewModel createView(String viewname)
protected CSViewModel createModal(String modalName)
protected void removeSidebarElement(String element)
protected void addSidebarElement(String element)
protected void addSidebarElement(Collection<String> elements)
protected void addSidebarElements(Collection<? extends de.cinovo.cloudconductor.api.model.INamed> elements)
protected <K extends Comparable<K>,V> List<Map.Entry<K,V>> sortMap(Map<K,V> map)
protected <E extends de.cinovo.cloudconductor.api.model.INamed> void sortNamedList(List<E> list)
protected FormErrorException createError(String message)
protected Boolean hasError()
protected FormErrorException pollError()
protected FormErrorException assertNotEmpty(String variable, FormErrorException error, String formElement)
protected FormErrorException checkForEmpty(String variable, String errorMessage, FormErrorException error, String formElement)
Copyright © 2014 Cinovo AG. All Rights Reserved.