|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.registry.core.jdbc.handlers.CustomEditManager
public class CustomEditManager
Manages execution of EditProcessor implementations of custom UIs. EditProcessors are registered in this class at the initialization of the registry.
| Constructor Summary | |
|---|---|
CustomEditManager()
Creates new edit manager instance for the edit processors' use. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomEditManager()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||