public class UserResource extends AbstractResource
Constructor and Description |
---|
UserResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createUser(javax.ws.rs.core.MultivaluedMap<String,String> params) |
javax.ws.rs.core.Response |
createUser(String jsonRepresentation) |
javax.ws.rs.core.Response |
editUser(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long userId) |
javax.ws.rs.core.Response |
editUser(String jsonRepresentation,
Long userId) |
boolean |
equals(Object obj) |
String |
getAlias()
Returns the Alias.
|
String |
getFirstName()
Returns the FirstName.
|
Boolean |
getIsFollow()
Returns the IsFollow.
|
String |
getLanguageLocale()
Returns the LanguageLocale.
|
Date |
getLastModificationDate()
Returns the LastModificationDate.
|
String |
getLastName()
Returns the LastName.
|
Date |
getLastPhotoModificationDate()
Returns the LastPhotoModificationDate.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
protected AbstractResourceHandler<CreateUserParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter> |
getResourceHandler() |
String |
getSalutation()
Returns the Salutation.
|
TagResource[] |
getTags()
Returns the Tags.
|
String |
getTimeZoneId()
Returns the TimeZoneId.
|
Long |
getUserId()
Returns the UserId.
|
int |
hashCode() |
void |
setAlias(String alias)
Sets Alias.
|
void |
setFirstName(String firstName)
Sets FirstName.
|
void |
setIsFollow(Boolean isFollow)
Sets IsFollow.
|
void |
setLanguageLocale(String languageLocale)
Sets LanguageLocale.
|
void |
setLastModificationDate(Date lastModificationDate)
Sets LastModificationDate.
|
void |
setLastName(String lastName)
Sets LastName.
|
void |
setLastPhotoModificationDate(Date lastPhotoModificationDate)
Sets LastPhotoModificationDate.
|
void |
setProperties(PropertyResource[] properties)
Sets Properties.
|
void |
setSalutation(String salutation)
Sets Salutation.
|
void |
setTags(TagResource[] tags)
Sets Tags.
|
void |
setTimeZoneId(String timeZoneId)
Sets TimeZoneId.
|
void |
setUserId(Long userId)
Sets UserId.
|
javax.ws.rs.core.Response |
userList() |
javax.ws.rs.core.Response |
userSingle(Long userId) |
protected AbstractResourceHandler<CreateUserParameter,EditUserParameter,DefaultParameter,GetUserParameter,GetCollectionUserParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response userSingle(Long userId) throws Exception
Exception
public javax.ws.rs.core.Response editUser(javax.ws.rs.core.MultivaluedMap<String,String> params, Long userId) throws Exception
Exception
public javax.ws.rs.core.Response editUser(String jsonRepresentation, Long userId) throws Exception
Exception
public javax.ws.rs.core.Response createUser(javax.ws.rs.core.MultivaluedMap<String,String> params) throws Exception
Exception
public javax.ws.rs.core.Response createUser(String jsonRepresentation) throws Exception
Exception
public Long getUserId()
public void setUserId(Long userId)
userId
- public String getAlias()
public void setAlias(String alias)
alias
- public String getFirstName()
public void setFirstName(String firstName)
firstName
- public Date getLastModificationDate()
public void setLastModificationDate(Date lastModificationDate)
lastModificationDate
- public String getLastName()
public void setLastName(String lastName)
lastName
- public Boolean getIsFollow()
public void setIsFollow(Boolean isFollow)
isFollow
- public String getLanguageLocale()
public void setLanguageLocale(String languageLocale)
languageLocale
- public String getSalutation()
public void setSalutation(String salutation)
salutation
- public Date getLastPhotoModificationDate()
public void setLastPhotoModificationDate(Date lastPhotoModificationDate)
lastPhotoModificationDate
- public TagResource[] getTags()
public void setTags(TagResource[] tags)
tags
- public PropertyResource[] getProperties()
public void setProperties(PropertyResource[] properties)
properties
- public String getTimeZoneId()
public void setTimeZoneId(String timeZoneId)
timeZoneId
- Copyright © 2019 Communote team. All rights reserved.