public class ViewControllerData extends Object
Constructor and Description |
---|
ViewControllerData(org.osgi.framework.BundleContext bundleContext,
PluginViewController viewController)
Constructor.
|
ViewControllerData(String symbolicName,
PluginViewController viewController)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
determineScriptsCompression(javax.servlet.http.HttpServletRequest request,
Map<String,Object> model)
Checks, if scripts should be packed and/or compressed.
|
void |
determineStylesCompression(javax.servlet.http.HttpServletRequest request,
Map<String,Object> model)
Checks, if styles should be packed and/or compressed.
|
Map<String,Object> |
getDataForRequest(javax.servlet.http.HttpServletRequest request) |
Map<String,Object> |
getDefaultData() |
Page |
getPageInformation() |
String |
getSymbolicName() |
public ViewControllerData(org.osgi.framework.BundleContext bundleContext, PluginViewController viewController)
bundleContext
- The bundles context.public ViewControllerData(String symbolicName, PluginViewController viewController)
symbolicName
- The symbolic name of the bundle the controller is in.viewController
- public void determineScriptsCompression(javax.servlet.http.HttpServletRequest request, Map<String,Object> model)
request
- The request.model
- The model.public void determineStylesCompression(javax.servlet.http.HttpServletRequest request, Map<String,Object> model)
request
- The request.model
- The model.public Map<String,Object> getDataForRequest(javax.servlet.http.HttpServletRequest request)
public Page getPageInformation()
public String getSymbolicName()
Copyright © 2019 Communote team. All rights reserved.