|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.admingui.common.handlers.RestApiHandlers
public class RestApiHandlers
| Constructor Summary | |
|---|---|
RestApiHandlers()
|
|
| Method Summary | |
|---|---|
static void |
checkIfEndPointExist(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
createEntity(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
REST-based version of createProxy |
static void |
deleteCascade(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
// TODO: just these resources? deleteCascade handles delete for jdbc connection pool and connector connection pool The dependent resources jdbc resource and connector resource are deleted on deleting the pools |
static void |
deleteConfigCascade(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
encodeUrl(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
getChildList(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
getChildrenNamesList(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
getDefaultValues(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
static void |
getEntityAttrs(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
For the given REST endpoint, retrieve the values of the entity and return those as a Map. |
static void |
restRequest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler can be used to execute a generic REST request. |
static void |
updateEntity(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
Create or update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RestApiHandlers()
| Method Detail |
|---|
public static void getDefaultValues(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getEntityAttrs(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
For the given REST endpoint, retrieve the values of the entity and return those as a Map. If the entity is not found, an Exception is thrown. This is the REST-based alternative to getProxyAttrs.
public static void checkIfEndPointExist(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void createEntity(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
handlerCtx - public static void restRequest(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler can be used to execute a generic REST request. It will return a Java data structure based on the response of the REST request. 'data' and 'attrs' are mutually exclusive. 'data' is used to pass RAW data to the endpoint (such as JSON).
public static void updateEntity(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void deleteCascade(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void deleteConfigCascade(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getChildList(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void getChildrenNamesList(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
public static void encodeUrl(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||