Package org.cristalise.restapi
Class ItemViewpoint
java.lang.Object
org.cristalise.restapi.RestHandler
org.cristalise.restapi.ItemUtils
org.cristalise.restapi.ItemViewpoint
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cristalise.restapi.RestHandler
RestHandler.AuthData -
Field Summary
Fields inherited from class org.cristalise.restapi.ItemUtils
PREDEFINED_PATHFields inherited from class org.cristalise.restapi.RestHandler
COOKIENAME, PASSWORD, USERNAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetAllEventsForView(String uuid, String schema, String viewName, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsegetOutcomeEvent(javax.ws.rs.core.HttpHeaders headers, String uuid, String schema, String viewName, Integer eventId, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsegetOutcomeForEvent(javax.ws.rs.core.HttpHeaders headers, String uuid, String schema, String viewName, Integer eventId, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsegetSchemas(String uuid, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsegetViewEvent(String uuid, String schema, String viewName, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsegetViewNames(String uuid, String schema, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsequeryJSONData(String uuid, String schema, String viewName, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) javax.ws.rs.core.ResponsequeryXMLData(String uuid, String schema, String viewName, javax.ws.rs.core.Cookie authCookie, javax.ws.rs.core.UriInfo uri) Methods inherited from class org.cristalise.restapi.ItemUtils
enumerate, enumerate, executeJob, executeJob, executePredefinedStep, getAgentProxy, getAgentProxy, getAllViewpoints, getItemName, getItemNames, getItemURI, getItemURI, getItemURI, getItemURI, getJobActivityData, getJobItemData, getJobOutcomeData, getJobTransitionData, getOutcome, getOutcomeResponse, getOutcomeResponse, getOutcomeResponse, getPropertySummary, getProxy, getViewpointOutcome, makeCollectionData, makeEventData, makeJobData, produceJSONMethods inherited from class org.cristalise.restapi.RestHandler
checkAndCreateNewCookie, checkAndCreateNewCookie, checkAuthCookie, createNewCookie, createNewCookie, decryptAuthData, encryptAuthData, getAgent, getAgent, getAgentPath, getPagedResult, getPropertiesFromQParams, makeItemDomainPathsData, toJSON
-
Constructor Details
-
ItemViewpoint
public ItemViewpoint()
-
-
Method Details
-
getSchemas
@GET @Produces("application/json") public javax.ws.rs.core.Response getSchemas(@PathParam("uuid") String uuid, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
getViewNames
-
queryXMLData
@GET @Produces("text/xml") @Path("{schema}/{viewName}") public javax.ws.rs.core.Response queryXMLData(@PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
queryJSONData
@GET @Produces("application/json") @Path("{schema}/{viewName}") public javax.ws.rs.core.Response queryJSONData(@PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
getViewEvent
@GET @Produces("application/json") @Path("{schema}/{viewName}/event") public javax.ws.rs.core.Response getViewEvent(@PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
getAllEventsForView
@GET @Produces("application/json") @Path("{schema}/{viewName}/history") public javax.ws.rs.core.Response getAllEventsForView(@PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
getOutcomeForEvent
@GET @Produces("text/xml") @Path("{schema}/{viewName}/history/{event}") public javax.ws.rs.core.Response getOutcomeForEvent(@Context javax.ws.rs.core.HttpHeaders headers, @PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @PathParam("event") Integer eventId, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri) -
getOutcomeEvent
@GET @Produces("application/json") @Path("{schema}/{viewName}/history/{event}/event") public javax.ws.rs.core.Response getOutcomeEvent(@Context javax.ws.rs.core.HttpHeaders headers, @PathParam("uuid") String uuid, @PathParam("schema") String schema, @PathParam("viewName") String viewName, @PathParam("event") Integer eventId, @CookieParam("cauth") javax.ws.rs.core.Cookie authCookie, @Context javax.ws.rs.core.UriInfo uri)
-