public class PropertiesBagResource extends AbstractResource
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertiesBagResource.PropertyResource |
| Modifier and Type | Field and Description |
|---|---|
protected List<org.jvnet.hk2.config.Dom> |
entity |
static LocalStringManagerImpl |
localStrings |
protected org.jvnet.hk2.config.Dom |
parent |
protected String |
tagName |
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo| Constructor and Description |
|---|
PropertiesBagResource() |
| Modifier and Type | Method and Description |
|---|---|
protected ActionReportResult |
clearThenSaveProperties(List<Map<String,String>> properties) |
ActionReportResult |
createProperties(List<Map<String,String>> data) |
javax.ws.rs.core.Response |
delete() |
protected void |
deleteMissingProperties(Map<String,org.jvnet.hk2.config.types.Property> existing,
List<Map<String,String>> properties) |
Object |
get() |
List<org.jvnet.hk2.config.Dom> |
getEntity() |
protected Map<String,org.jvnet.hk2.config.types.Property> |
getExistingProperties() |
PropertiesBagResource.PropertyResource |
getProperty(String id) |
ActionReportResult |
replaceProperties(List<Map<String,String>> data) |
void |
setEntity(List<org.jvnet.hk2.config.Dom> p) |
void |
setParentAndTagName(org.jvnet.hk2.config.Dom parent,
String tagName) |
getAuthenticatedUser, getSubjectprotected List<org.jvnet.hk2.config.Dom> entity
protected org.jvnet.hk2.config.Dom parent
protected String tagName
public static final LocalStringManagerImpl localStrings
@Path(value="{Name}/")
public PropertiesBagResource.PropertyResource getProperty(@PathParam(value="Name")
String id)
@GET
@Produces(value={"text/html","application/json","application/xml"})
public Object get()
@POST
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded"})
@Produces(value={"text/html","application/json","application/xml"})
public ActionReportResult createProperties(List<Map<String,String>> data)
@PUT
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded"})
@Produces(value={"text/html","application/json","application/xml"})
public ActionReportResult replaceProperties(List<Map<String,String>> data)
@DELETE
@Consumes(value={"application/json","application/xml","application/x-www-form-urlencoded","application/octet-stream"})
@Produces(value={"text/html","application/json","application/xml"})
public javax.ws.rs.core.Response delete()
protected ActionReportResult clearThenSaveProperties(List<Map<String,String>> properties)
protected Map<String,org.jvnet.hk2.config.types.Property> getExistingProperties()
protected void deleteMissingProperties(Map<String,org.jvnet.hk2.config.types.Property> existing, List<Map<String,String>> properties) throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailurepublic void setEntity(List<org.jvnet.hk2.config.Dom> p)
public List<org.jvnet.hk2.config.Dom> getEntity()
public void setParentAndTagName(org.jvnet.hk2.config.Dom parent,
String tagName)
Copyright © 2017. All rights reserved.