public class EditPreferenceParameter extends Object
Constructor and Description |
---|
EditPreferenceParameter()
Default Constuctor necessary for json parsing
|
EditPreferenceParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long preferenceEntryId,
Long preferenceId,
Long userId)
This constructor parses all incoming parameter of a request into the class structure
|
EditPreferenceParameter(String representation,
Long preferenceEntryId,
Long preferenceId,
Long userId) |
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Returns the Key.
|
Long |
getPreferenceEntryId()
Returns the PreferenceEntryId.
|
Long |
getPreferenceId()
Returns the PreferenceId.
|
Long |
getUserId()
Returns the UserId.
|
String |
getValue()
Returns the Value.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setKey(String key)
Sets Key.
|
void |
setPreferenceEntryId(Long preferenceEntryId)
Sets PreferenceEntryId.
|
void |
setPreferenceId(Long preferenceId)
Sets PreferenceId.
|
void |
setUserId(Long userId)
Sets UserId.
|
void |
setValue(String value)
Sets Value.
|
public EditPreferenceParameter()
public EditPreferenceParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long preferenceEntryId, Long preferenceId, Long userId) throws RestApiIllegalRequestParameterException
public EditPreferenceParameter(String representation, Long preferenceEntryId, Long preferenceId, Long userId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setPreferenceEntryId(Long preferenceEntryId)
preferenceEntryId
- public Long getPreferenceEntryId()
public void setPreferenceId(Long preferenceId)
preferenceId
- public Long getPreferenceId()
public void setUserId(Long userId)
userId
- public Long getUserId()
public void setKey(String key)
key
- public String getKey()
public void setValue(String value)
value
- public String getValue()
Copyright © 2019 Communote team. All rights reserved.