public class RoleResource extends AbstractResource
Constructor and Description |
---|
RoleResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createRole(javax.ws.rs.core.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
createRole(String jsonRepresentation,
String topicId) |
boolean |
equals(Object obj) |
String |
getDisplayName()
Returns the DisplayName.
|
Long |
getEntityId()
Returns the EntityId.
|
String |
getGroupAlias()
Returns the GroupAlias.
|
Boolean |
getIsGroup()
Returns the IsGroup.
|
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,GetCollectionRoleParameter> |
getResourceHandler() |
ERole |
getRole()
Returns the constant Role.
|
Long |
getRoles()
Returns the Roles.
|
String |
getShortDisplayName()
Returns the ShortDisplayName.
|
String |
getUserAlias()
Returns the UserAlias.
|
int |
hashCode() |
javax.ws.rs.core.Response |
roleList(String topicId) |
javax.ws.rs.core.Response |
roleSingle(Long roles,
String topicId) |
void |
setDisplayName(String displayName)
Sets DisplayName.
|
void |
setEntityId(Long entityId)
Sets EntityId.
|
void |
setGroupAlias(String groupAlias)
Sets GroupAlias.
|
void |
setIsGroup(Boolean isGroup)
Sets IsGroup.
|
void |
setRole(ERole role)
Sets the constant Role.
|
void |
setRoles(Long roles)
Sets Roles.
|
void |
setShortDisplayName(String shortDisplayName)
Sets ShortDisplayName.
|
void |
setUserAlias(String userAlias)
Sets UserAlias.
|
protected AbstractResourceHandler<CreateRoleParameter,DefaultParameter,DefaultParameter,GetRoleParameter,GetCollectionRoleParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response roleSingle(Long roles, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response roleList(String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createRole(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createRole(String jsonRepresentation, String topicId) throws Exception
Exception
public Long getRoles()
public void setRoles(Long roles)
roles
- public ERole getRole()
public void setRole(ERole role)
the
- constant rolepublic Long getEntityId()
public void setEntityId(Long entityId)
entityId
- public String getUserAlias()
public void setUserAlias(String userAlias)
userAlias
- public String getGroupAlias()
public void setGroupAlias(String groupAlias)
groupAlias
- public Boolean getIsGroup()
public void setIsGroup(Boolean isGroup)
isGroup
- public String getDisplayName()
public void setDisplayName(String displayName)
displayName
- public String getShortDisplayName()
public void setShortDisplayName(String shortDisplayName)
shortDisplayName
- Copyright © 2019 Communote team. All rights reserved.