public class PropertyResource extends AbstractResource
| Constructor and Description |
|---|
PropertyResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createProperty(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long noteId) |
javax.ws.rs.core.Response |
createProperty(String jsonRepresentation,
Long noteId) |
boolean |
equals(Object obj) |
String |
getKey()
Returns the Key.
|
String |
getKeyGroup()
Returns the KeyGroup.
|
Long |
getPropertyId()
Returns the PropertyId.
|
protected AbstractResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter> |
getResourceHandler() |
String |
getValue()
Returns the Value.
|
int |
hashCode() |
javax.ws.rs.core.Response |
propertyList(Long noteId) |
javax.ws.rs.core.Response |
propertySingle(Long propertyId,
Long noteId) |
void |
setKey(String key)
Sets Key.
|
void |
setKeyGroup(String keyGroup)
Sets KeyGroup.
|
void |
setPropertyId(Long propertyId)
Sets PropertyId.
|
void |
setValue(String value)
Sets Value.
|
protected AbstractResourceHandler<CreatePropertyParameter,DefaultParameter,DefaultParameter,GetPropertyParameter,GetCollectionPropertyParameter> getResourceHandler()
getResourceHandler in class AbstractResourcepublic javax.ws.rs.core.Response propertySingle(Long propertyId, Long noteId) throws Exception
Exceptionpublic javax.ws.rs.core.Response propertyList(Long noteId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createProperty(javax.ws.rs.core.MultivaluedMap<String,String> params, Long noteId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createProperty(String jsonRepresentation, Long noteId) throws Exception
Exceptionpublic Long getPropertyId()
public void setPropertyId(Long propertyId)
propertyId - public String getKeyGroup()
public void setKeyGroup(String keyGroup)
keyGroup - public String getKey()
public void setKey(String key)
key - public String getValue()
public void setValue(String value)
value - Copyright © 2019 Communote team. All rights reserved.