public class TopicResource extends AbstractResource
| Constructor and Description |
|---|
TopicResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createTopic() |
javax.ws.rs.core.Response |
createTopic(javax.ws.rs.core.MultivaluedMap<String,String> params) |
javax.ws.rs.core.Response |
createTopic(String jsonRepresentation) |
javax.ws.rs.core.Response |
deleteTopic(javax.ws.rs.core.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
editTopic(javax.ws.rs.core.MultivaluedMap<String,String> params,
String topicId) |
javax.ws.rs.core.Response |
editTopic(String jsonRepresentation,
String topicId) |
boolean |
equals(Object obj) |
String |
getAlias()
Returns the Alias.
|
Boolean |
getAllCanRead()
Returns the AllCanRead.
|
Boolean |
getAllCanWrite()
Returns the AllCanWrite.
|
Boolean |
getCreateSystemNotes()
Returns the CreateSystemNotes.
|
String |
getDescription()
Returns the Description.
|
Boolean |
getIsFollow()
Returns the IsFollow.
|
Date |
getLastModificationDate()
Returns the LastModificationDate.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
protected AbstractResourceHandler<CreateTopicParameter,EditTopicParameter,DeleteTopicParameter,GetTopicParameter,GetCollectionTopicParameter> |
getResourceHandler() |
TagResource[] |
getTags()
Returns the Tags.
|
String |
getTitle()
Returns the Title.
|
String |
getTopicEmail()
Returns the TopicEmail.
|
String |
getTopicId()
Returns the TopicId.
|
String |
getUserRole()
Returns the UserRole.
|
int |
hashCode() |
void |
setAlias(String alias)
Sets Alias.
|
void |
setAllCanRead(Boolean allCanRead)
Sets AllCanRead.
|
void |
setAllCanWrite(Boolean allCanWrite)
Sets AllCanWrite.
|
void |
setCreateSystemNotes(Boolean createSystemNotes)
Sets CreateSystemNotes.
|
void |
setDescription(String description)
Sets Description.
|
void |
setIsFollow(Boolean isFollow)
Sets IsFollow.
|
void |
setLastModificationDate(Date lastModificationDate)
Sets LastModificationDate.
|
void |
setProperties(PropertyResource[] properties)
Sets Properties.
|
void |
setTags(TagResource[] tags)
Sets Tags.
|
void |
setTitle(String title)
Sets Title.
|
void |
setTopicEmail(String topicEmail)
Sets TopicEmail.
|
void |
setTopicId(String topicId)
Sets TopicId.
|
void |
setUserRole(String userRole)
Sets UserRole.
|
javax.ws.rs.core.Response |
topicList() |
javax.ws.rs.core.Response |
topicSingle(String topicId) |
protected AbstractResourceHandler<CreateTopicParameter,EditTopicParameter,DeleteTopicParameter,GetTopicParameter,GetCollectionTopicParameter> getResourceHandler()
getResourceHandler in class AbstractResourcepublic javax.ws.rs.core.Response topicSingle(String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response deleteTopic(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response editTopic(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response editTopic(String jsonRepresentation, String topicId) throws Exception
Exceptionpublic javax.ws.rs.core.Response createTopic(javax.ws.rs.core.MultivaluedMap<String,String> params) throws Exception
Exceptionpublic javax.ws.rs.core.Response createTopic(String jsonRepresentation) throws Exception
Exceptionpublic String getTopicId()
public void setTopicId(String topicId)
topicId - public Date getLastModificationDate()
public void setLastModificationDate(Date lastModificationDate)
lastModificationDate - public String getTopicEmail()
public void setTopicEmail(String topicEmail)
topicEmail - public Boolean getCreateSystemNotes()
public void setCreateSystemNotes(Boolean createSystemNotes)
createSystemNotes - public String getDescription()
public void setDescription(String description)
description - public TagResource[] getTags()
public void setTags(TagResource[] tags)
tags - public String getAlias()
public void setAlias(String alias)
alias - public String getTitle()
public void setTitle(String title)
title - public String getUserRole()
public void setUserRole(String userRole)
userRole - public Boolean getIsFollow()
public void setIsFollow(Boolean isFollow)
isFollow - public PropertyResource[] getProperties()
public void setProperties(PropertyResource[] properties)
properties - public Boolean getAllCanWrite()
public void setAllCanWrite(Boolean allCanWrite)
allCanWrite - public Boolean getAllCanRead()
public void setAllCanRead(Boolean allCanRead)
allCanRead - Copyright © 2019 Communote team. All rights reserved.