Uses of Class
org.craftercms.social.exceptions.UGCException
-
-
Uses of UGCException in org.craftercms.social.controllers.rest.v3.comments
Methods in org.craftercms.social.controllers.rest.v3.comments that throw UGCException Modifier and Type Method Description Iterable<T>
CommentsController. byStatus(ModerationStatus status, String thread, int pageNumber, int pageSize, List<String> sortBy, List<SocialSortOrder> sortOrder)
long
CommentsController. byStatusCount(ModerationStatus status, String thread)
boolean
ThreadsController. changeSubscribe(String id, String frequency, String context)
boolean
ThreadsController. changeSubscribePost(String id, String frequency, String context)
Iterable<T>
CommentsController. flagged(int pageNumber, int pageSize, List<String> sortBy, List<SocialSortOrder> sortOrder)
long
CommentsController. flaggedCount(int pageNumber, int pageSize, List<String> sortBy, List<SocialSortOrder> sortOrder)
boolean
ThreadsController. subscribe(String id, String frequency, String context)
boolean
ThreadsController. unSubscribe(String id, String context)
-
Uses of UGCException in org.craftercms.social.exceptions
Subclasses of UGCException in org.craftercms.social.exceptions Modifier and Type Class Description class
NotificationException
-
Uses of UGCException in org.craftercms.social.services.social
Methods in org.craftercms.social.services.social that throw UGCException Modifier and Type Method Description long
SocialServices. countByModerationStatus(ModerationStatus status, String thread, String contextId)
Counts all Comments with the given Moderation status.Iterable<T>
SocialServices. findByModerationStatus(ModerationStatus status, String thread, String contextId, int start, int limit, List<org.apache.commons.collections4.keyvalue.DefaultKeyValue<String,Boolean>> sort)
Finds all Comments with the given Moderation status. -
Uses of UGCException in org.craftercms.social.services.social.impl
Methods in org.craftercms.social.services.social.impl that throw UGCException Modifier and Type Method Description long
SocialServicesImpl. countByModerationStatus(ModerationStatus status, String thread, String contextId)
Iterable<T>
SocialServicesImpl. findByModerationStatus(ModerationStatus status, String thread, String contextId, int start, int limit, List sort)
-
Uses of UGCException in org.craftercms.social.services.ugc
Methods in org.craftercms.social.services.ugc that throw UGCException Modifier and Type Method Description org.craftercms.commons.mongo.FileInfo
UGCService. addAttachment(String ugcId, String contextId, InputStream attachment, String fileName, String contentType)
Adds and Attachment Information to the given UGC.long
UGCService. count(String threadId, String contextId)
Counts all the First Level ugc of a target.long
UGCService. countChildren(String ugcId, String contextId)
T
UGCService. read(String ugcId, boolean includeChildren, int childCount, String contextId)
Gets a UGC with the given Id.T
UGCService. read(String ugcId, String contextId)
Finds a single UGC.List<T>
UGCService. read(String targetId, String contextId, int start, int limit, List<org.apache.commons.collections4.keyvalue.DefaultKeyValue<String,Boolean>> sortOrder, int upToLevel, int childrenPerLevel)
org.craftercms.commons.mongo.FileInfo
UGCService. readAttachment(String ugcId, String contextId, String attachmentId)
<T extends UGC>
Iterable<T>UGCService. readByTargetId(String targetId, String contextId)
List<T>
UGCService. readChildren(String ugcId, String targetId, String contextId, int start, int limit, List sortOrder, int upToLevel, int childrenPerLevel)
void
UGCService. removeAttachment(String ugcId, String contextId, String attachmentId)
Deletes an attachment of the given UGC.Iterable<T>
UGCService. search(String contextId, String query, String sort, int start, int limit)
Finds All UGC that match the given criteria.org.craftercms.commons.mongo.FileInfo
UGCService. updateAttachment(String ugcId, String contextId, String attachmentId, InputStream newAttachment)
-
Uses of UGCException in org.craftercms.social.services.ugc.impl
Methods in org.craftercms.social.services.ugc.impl that throw UGCException Modifier and Type Method Description org.craftercms.commons.mongo.FileInfo
UGCServiceImpl. addAttachment(String ugcId, String contextId, InputStream attachment, String fileName, String contentType)
long
UGCServiceImpl. count(String threadId, String contextId)
long
UGCServiceImpl. countChildren(String ugcId, String contextId)
T
UGCServiceImpl. read(String ugcId, boolean includeChildren, int childCount, String contextId)
UGC
UGCServiceImpl. read(String ugcId, String contextId)
List<T>
UGCServiceImpl. read(String targetId, String contextId, int start, int limit, List sortOrder, int upToLevel, int childrenPerLevel)
org.craftercms.commons.mongo.FileInfo
UGCServiceImpl. readAttachment(String ugcId, String contextId, String attachmentId)
Iterable<T>
UGCServiceImpl. readByTargetId(String targetId, String contextId)
List<T>
UGCServiceImpl. readChildren(String ugcId, String targetId, String contextId, int start, int limit, List sortOrder, int upToLevel, int childrenPerLevel)
void
UGCServiceImpl. removeAttachment(String ugcId, String contextId, String attachmentId)
Iterable<T>
UGCServiceImpl. search(String contextId, String query, String sort, int start, int limit)
org.craftercms.commons.mongo.FileInfo
UGCServiceImpl. updateAttachment(String ugcId, String contextId, String attachmentId, InputStream newAttachment)
-