public class RightResource extends AbstractResource
Constructor and Description |
---|
RightResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
editRight(javax.ws.rs.core.MultivaluedMap<String,String> params,
Long right,
String topicId) |
javax.ws.rs.core.Response |
editRight(String jsonRepresentation,
Long right,
String topicId) |
boolean |
equals(Object obj) |
Boolean |
getAllCanRead()
Returns the AllCanRead.
|
Boolean |
getAllCanWrite()
Returns the AllCanWrite.
|
Long[] |
getManagingUserIds()
Returns the ManagingUserIds.
|
Boolean |
getPublicAccess()
Returns the PublicAccess.
|
Long[] |
getReadingUserIds()
Returns the ReadingUserIds.
|
protected AbstractResourceHandler<DefaultParameter,EditRightParameter,DefaultParameter,GetRightParameter,DefaultParameter> |
getResourceHandler() |
Long |
getRight()
Returns the Right.
|
Long[] |
getWritingUserIds()
Returns the WritingUserIds.
|
int |
hashCode() |
javax.ws.rs.core.Response |
rightSingle(Long right,
String topicId) |
void |
setAllCanRead(Boolean allCanRead)
Sets AllCanRead.
|
void |
setAllCanWrite(Boolean allCanWrite)
Sets AllCanWrite.
|
void |
setManagingUserIds(Long[] managingUserIds)
Sets ManagingUserIds.
|
void |
setPublicAccess(Boolean publicAccess)
Sets PublicAccess.
|
void |
setReadingUserIds(Long[] readingUserIds)
Sets ReadingUserIds.
|
void |
setRight(Long right)
Sets Right.
|
void |
setWritingUserIds(Long[] writingUserIds)
Sets WritingUserIds.
|
protected AbstractResourceHandler<DefaultParameter,EditRightParameter,DefaultParameter,GetRightParameter,DefaultParameter> getResourceHandler()
getResourceHandler
in class AbstractResource
public javax.ws.rs.core.Response rightSingle(Long right, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response editRight(javax.ws.rs.core.MultivaluedMap<String,String> params, Long right, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response editRight(String jsonRepresentation, Long right, String topicId) throws Exception
Exception
public Long getRight()
public void setRight(Long right)
right
- public Boolean getAllCanWrite()
public void setAllCanWrite(Boolean allCanWrite)
allCanWrite
- public Boolean getAllCanRead()
public void setAllCanRead(Boolean allCanRead)
allCanRead
- public Boolean getPublicAccess()
public void setPublicAccess(Boolean publicAccess)
publicAccess
- public Long[] getManagingUserIds()
public void setManagingUserIds(Long[] managingUserIds)
managingUserIds
- public Long[] getReadingUserIds()
public void setReadingUserIds(Long[] readingUserIds)
readingUserIds
- public Long[] getWritingUserIds()
public void setWritingUserIds(Long[] writingUserIds)
writingUserIds
- Copyright © 2019 Communote team. All rights reserved.