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.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.
|
String |
getBannerImageId()
Returns the BannerImageId.
|
String |
getBannerImageVersion()
Returns the BannerImageVersion.
|
ChildTopicResource[] |
getChildren()
Returns the Children.
|
Date |
getCrawlLastModificationDate()
Returns the CrawlLastModificationDate.
|
Boolean |
getCreateSystemNotes()
Returns the CreateSystemNotes.
|
String |
getDescription()
Returns the Description.
|
ExternalObjectResource[] |
getExternalObjects()
Returns the ExternalObjects.
|
Boolean |
getIsFollow()
Returns the IsFollow.
|
Date |
getLastBannerImageModificationDate()
Returns the LastBannerImageModificationDate.
|
Date |
getLastModificationDate()
Returns the LastModificationDate.
|
Date |
getLastProfileImageModificationDate()
Returns the LastProfileImageModificationDate.
|
String |
getProfileImageId()
Returns the ProfileImageId.
|
String |
getProfileImageVersion()
Returns the ProfileImageVersion.
|
PropertyResource[] |
getProperties()
Returns the Properties.
|
protected AbstractResourceHandler<CreateTopicParameter,EditTopicParameter,DeleteTopicParameter,GetTopicParameter,GetCollectionTopicParameter> |
getResourceHandler() |
RoleExternalResource[] |
getRoleExternals()
Returns the RoleExternals.
|
RoleResource[] |
getRoles()
Returns the Roles.
|
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 |
setBannerImageId(String bannerImageId)
Sets BannerImageId.
|
void |
setBannerImageVersion(String bannerImageVersion)
Sets BannerImageVersion.
|
void |
setChildren(ChildTopicResource[] children)
Sets Children.
|
void |
setCrawlLastModificationDate(Date crawlLastModificationDate)
Sets CrawlLastModificationDate.
|
void |
setCreateSystemNotes(Boolean createSystemNotes)
Sets CreateSystemNotes.
|
void |
setDescription(String description)
Sets Description.
|
void |
setExternalObjects(ExternalObjectResource[] externalObjects)
Sets ExternalObjects.
|
void |
setIsFollow(Boolean isFollow)
Sets IsFollow.
|
void |
setLastBannerImageModificationDate(Date lastBannerImageModificationDate)
Sets LastBannerImageModificationDate.
|
void |
setLastModificationDate(Date lastModificationDate)
Sets LastModificationDate.
|
void |
setLastProfileImageModificationDate(Date lastProfileImageModificationDate)
Sets LastProfileImageModificationDate.
|
void |
setProfileImageId(String profileImageId)
Sets ProfileImageId.
|
void |
setProfileImageVersion(String profileImageVersion)
Sets ProfileImageVersion.
|
void |
setProperties(PropertyResource[] properties)
Sets Properties.
|
void |
setRoleExternals(RoleExternalResource[] roleExternals)
Sets RoleExternals.
|
void |
setRoles(RoleResource[] roles)
Sets Roles.
|
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 AbstractResource
public javax.ws.rs.core.Response topicSingle(String topicId) throws Exception
Exception
public javax.ws.rs.core.Response deleteTopic(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response editTopic(javax.ws.rs.core.MultivaluedMap<String,String> params, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response editTopic(String jsonRepresentation, String topicId) throws Exception
Exception
public javax.ws.rs.core.Response createTopic(javax.ws.rs.core.MultivaluedMap<String,String> params) throws Exception
Exception
public javax.ws.rs.core.Response createTopic(String jsonRepresentation) throws Exception
Exception
public String getTopicId()
public void setTopicId(String topicId)
topicId
- public ChildTopicResource[] getChildren()
public void setChildren(ChildTopicResource[] children)
children
- 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
- public ExternalObjectResource[] getExternalObjects()
public void setExternalObjects(ExternalObjectResource[] externalObjects)
externalObjects
- public RoleExternalResource[] getRoleExternals()
public void setRoleExternals(RoleExternalResource[] roleExternals)
roleExternals
- public RoleResource[] getRoles()
public void setRoles(RoleResource[] roles)
roles
- public String getProfileImageId()
public void setProfileImageId(String profileImageId)
profileImageId
- public String getProfileImageVersion()
public void setProfileImageVersion(String profileImageVersion)
profileImageVersion
- public Date getLastProfileImageModificationDate()
public void setLastProfileImageModificationDate(Date lastProfileImageModificationDate)
lastProfileImageModificationDate
- public String getBannerImageId()
public void setBannerImageId(String bannerImageId)
bannerImageId
- public String getBannerImageVersion()
public void setBannerImageVersion(String bannerImageVersion)
bannerImageVersion
- public Date getLastBannerImageModificationDate()
public void setLastBannerImageModificationDate(Date lastBannerImageModificationDate)
lastBannerImageModificationDate
- public Date getCrawlLastModificationDate()
public void setCrawlLastModificationDate(Date crawlLastModificationDate)
crawlLastModificationDate
- Copyright © 2019 Communote team. All rights reserved.