public class GetUserPreferenceParameter extends Object
Constructor and Description |
---|
GetUserPreferenceParameter()
Default Constuctor necessary for json parsing
|
GetUserPreferenceParameter(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
|
GetUserPreferenceParameter(String representation,
Long preferenceId,
Long userId) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the ClassName.
|
String |
getF_className()
Returns the F_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 |
setF_className(String f_className)
Sets F_className.
|
void |
setPreferenceId(Long preferenceId)
Sets PreferenceId.
|
void |
setPreferences(PreferenceResource[] preferences)
Sets Preferences.
|
void |
setUserId(Long userId)
Sets UserId.
|
public GetUserPreferenceParameter()
public GetUserPreferenceParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long preferenceId, Long userId) throws RestApiIllegalRequestParameterException
public GetUserPreferenceParameter(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()
public void setF_className(String f_className)
f_className
- public String getF_className()
Copyright © 2019 Communote team. All rights reserved.