public class CustomEditManager extends Object
| Constructor and Description |
|---|
CustomEditManager()
Creates new edit manager instance for the edit processors' use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProcessor(String processorKey,
EditProcessor editProcessor)
Registers EditProcessors in the registry.
|
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles edit and new resource requests generated from custom UIs by delegating them to
corresponding EditProcessors.
|
public CustomEditManager()
public void addProcessor(String processorKey, EditProcessor editProcessor)
processorKey - Edit processor key given in the configuration. This is used to refer
edit processors by custom UIs.editProcessor - EditProcessor implementation.public void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws RegistryException
request - HttpServletRequest containing the request details.response - HttpServletResponse to be filled with response details.RegistryException - Throws if edit processor key is not specified in the request,
EditProcessor is not associated with the given key or view type
parameter is not specified in the request.Copyright © 2015 WSO2 Inc. All Rights Reserved.