public class EditUserPreferenceParameter extends Object
Constructor and Description |
---|
EditUserPreferenceParameter()
Default Constuctor necessary for json parsing
|
EditUserPreferenceParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long preferenceId,
Long userId)
This constructor parses all incoming parameter of a request into the class structure
|
EditUserPreferenceParameter(String representation,
Long preferenceId,
Long userId) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the ClassName.
|
Long |
getPreferenceId()
Returns the PreferenceId.
|
PreferenceResource[] |
getPreferences()
Returns the Preferences.
|
Long |
getUserId()
Returns the UserId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setClassName(String className)
Sets ClassName.
|
void |
setPreferenceId(Long preferenceId)
Sets PreferenceId.
|
void |
setPreferences(PreferenceResource[] preferences)
Sets Preferences.
|
void |
setUserId(Long userId)
Sets UserId.
|
public EditUserPreferenceParameter()
public EditUserPreferenceParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long preferenceId, Long userId) throws RestApiIllegalRequestParameterException
public EditUserPreferenceParameter(String representation, 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 setPreferenceId(Long preferenceId)
preferenceId
- public Long getPreferenceId()
public void setUserId(Long userId)
userId
- public Long getUserId()
public void setClassName(String className)
className
- public String getClassName()
public void setPreferences(PreferenceResource[] preferences)
preferences
- public PreferenceResource[] getPreferences()
Copyright © 2019 Communote team. All rights reserved.