@Path(value="anyObjects") public interface AnyObjectService extends AnyService<AnyObjectTO>
PARAM_ANYTYPE_KIND, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_RESOURCE, PARAM_SIZE| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(AnyObjectTO anyObjectTO)
Creates a new any object.
|
AnyObjectTO |
read(String key)
Reads the any object matching the provided key.
|
PagedResult<AnyObjectTO> |
search(AnyQuery anyQuery)
Returns a paged list of any objects matching the given query.
|
javax.ws.rs.core.Response |
update(AnyObjectPatch anyObjectPatch)
Updates any object matching the provided key.
|
javax.ws.rs.core.Response |
update(AnyObjectTO anyObjectTO)
Updates any object matching the provided key.
|
associate, bulk, deassociate, delete, delete, read, read, updateAnyObjectTO read(String key)
AnyServiceread in interface AnyService<AnyObjectTO>key - if value looks like a UUID then it is interpreted as key, otherwise as a (user)namePagedResult<AnyObjectTO> search(AnyQuery anyQuery)
AnyServicesearch in interface AnyService<AnyObjectTO>anyQuery - query conditions@POST
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response create(@NotNull
AnyObjectTO anyObjectTO)
anyObjectTO - any object to be created@Path(value="{key}")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response update(@NotNull
AnyObjectPatch anyObjectPatch)
anyObjectPatch - modification to be applied to any object matching the provided key@PUT
@Path(value="{key}")
@Produces(value={"application/json","application/xml"})
@Consumes(value={"application/json","application/xml"})
javax.ws.rs.core.Response update(@NotNull
AnyObjectTO anyObjectTO)
anyObjectTO - complete updateCopyright © 2010–2018 The Apache Software Foundation. All rights reserved.