@Path(value="/v40/adminp") @Produces(value={"text/html","application/xml","application/json","text/xml"}) public class AdminPRestServiceV40 extends Object
Constructor and Description |
---|
AdminPRestServiceV40() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
deleteJob(String uniqueid)
This method deletes an entity
|
DocumentCollection |
getAllJobs()
Returns all existing jobs
|
javax.ws.rs.core.StreamingOutput |
getHelpHTML() |
javax.ws.rs.core.Response |
putJob(XMLItemCollection xmlworkitem)
This method saves a entity provided in xml format
Note: the method merges the content of the given entity into an existing one
because the EntityService method save() did not merge an entity.
|
@GET @Produces(value="text/html") @Path(value="/help") public javax.ws.rs.core.StreamingOutput getHelpHTML()
@GET @Path(value="/jobs") public DocumentCollection getAllJobs()
query
- pageSize
- pageIndex
- items
- @POST @Path(value="/jobs/") @Produces(value="application/xml") @Consumes(value={"application/xml","text/xml"}) public javax.ws.rs.core.Response putJob(XMLItemCollection xmlworkitem)
xmlworkitem
- - entity to be saved@DELETE @Path(value="/jobs/{uniqueid}") public javax.ws.rs.core.Response deleteJob(@PathParam(value="uniqueid") String uniqueid)
Copyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.