|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wordnik.swagger.core.JavaHelp
eu.scape_project.watch.rest.resource.PropertyValueResource
public class PropertyValueResource
REST API for PropertyValue
operations.
Constructor Summary | |
---|---|
PropertyValueResource()
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
createPropertyValue(String entityName,
String propertyName,
String value)
Create a new property value. |
javax.ws.rs.core.Response |
deletePropertyValue(String entityName,
String propertyName)
Delete an existing PropertyValue . |
javax.ws.rs.core.Response |
getPropertyValueByName(String entityName,
String propertyName)
Get an existing PropertyValue . |
javax.ws.rs.core.Response |
listPropertyValue()
Ge a list with all existing PropertyValue , independently of the
Entity or Property they refer to. |
javax.ws.rs.core.Response |
updatePropertyValue(String entityName,
String propertyName,
String value)
Update an existing PropertyValue . |
Methods inherited from class com.wordnik.swagger.core.JavaHelp |
---|
getHelp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyValueResource()
Method Detail |
---|
public javax.ws.rs.core.Response getPropertyValueByName(String entityName, String propertyName)
PropertyValue
.
entityName
- The name of the Entity
this property value refers to.propertyName
- The name of the Property
this property value refers to.
PropertyValue
or throws NotFoundException
if
not found.public javax.ws.rs.core.Response listPropertyValue()
PropertyValue
, independently of the
Entity
or Property
they refer to.
PropertyValue
in the KBpublic javax.ws.rs.core.Response createPropertyValue(String entityName, String propertyName, String value)
entityName
- The name of the related Entity
propertyName
- The name of the related Property
value
- The value of the Property
for the Entity
PropertyValue
.public javax.ws.rs.core.Response updatePropertyValue(String entityName, String propertyName, String value)
PropertyValue
.
entityName
- The name of the related Entity
.propertyName
- The name of the related Property
.value
- The new value of the Property
for the Entity
PropertyValue
.public javax.ws.rs.core.Response deletePropertyValue(String entityName, String propertyName)
PropertyValue
.
entityName
- The name of the related Entity
.propertyName
- The name of the related Property
.
PropertyValue
or throws
NotFoundException
if not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |