public class EditRightParameter extends Object
Constructor and Description |
---|
EditRightParameter()
Default Constuctor necessary for json parsing
|
EditRightParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
Long right,
String topicId)
This constructor parses all incoming parameter of a request into the class structure
|
EditRightParameter(String representation,
Long right,
String topicId) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllCanRead()
Returns the AllCanRead.
|
Boolean |
getAllCanWrite()
Returns the AllCanWrite.
|
Boolean |
getPublicAccess()
Returns the PublicAccess.
|
Long |
getRight()
Returns the Right.
|
String |
getTopicId()
Returns the TopicId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setAllCanRead(Boolean allCanRead)
Sets AllCanRead.
|
void |
setAllCanWrite(Boolean allCanWrite)
Sets AllCanWrite.
|
void |
setPublicAccess(Boolean publicAccess)
Sets PublicAccess.
|
void |
setRight(Long right)
Sets Right.
|
void |
setTopicId(String topicId)
Sets TopicId.
|
public EditRightParameter()
public EditRightParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, Long right, String topicId) throws RestApiIllegalRequestParameterException
public EditRightParameter(String representation, Long right, String topicId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setRight(Long right)
right
- public Long getRight()
public void setTopicId(String topicId)
topicId
- public String getTopicId()
public void setAllCanWrite(Boolean allCanWrite)
allCanWrite
- public Boolean getAllCanWrite()
public void setAllCanRead(Boolean allCanRead)
allCanRead
- public Boolean getAllCanRead()
public void setPublicAccess(Boolean publicAccess)
publicAccess
- public Boolean getPublicAccess()
Copyright © 2019 Communote team. All rights reserved.