@Path(value="profiles")
public interface ProfileResource
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addProfile(ProfileData profileData) |
javax.ws.rs.core.Response |
changeProfileStatus(java.lang.String profileID,
java.lang.String action) |
ProfileCollection |
findProfiles(java.lang.Integer start,
java.lang.Integer size) |
ProfileData |
getProfile(java.lang.String profileID) |
void |
removeProfile(java.lang.String profileID) |
javax.ws.rs.core.Response |
updateProfile(java.lang.String profileID,
ProfileData profileData) |
@GET
@Produces(value={"application/xml","application/json"})
ProfileCollection findProfiles(@QueryParam(value="start")
java.lang.Integer start,
@QueryParam(value="size")
java.lang.Integer size)
@GET
@Path(value="{profileID}")
@Produces(value={"application/xml","application/json"})
ProfileData getProfile(@PathParam(value="profileID")
java.lang.String profileID)
@POST
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
javax.ws.rs.core.Response addProfile(ProfileData profileData)
@PUT
@Path(value="{profileID}")
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
javax.ws.rs.core.Response updateProfile(@PathParam(value="profileID")
java.lang.String profileID,
ProfileData profileData)
@POST
@Path(value="{profileID}")
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
javax.ws.rs.core.Response changeProfileStatus(@PathParam(value="profileID")
java.lang.String profileID,
@QueryParam(value="action")
java.lang.String action)
@DELETE
@Path(value="{profileID}")
@Produces(value={"application/xml","application/json"})
void removeProfile(@PathParam(value="profileID")
java.lang.String profileID)