| Modifier and Type | Method and 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) |
| Modifier and Type | Class and Description |
|---|---|
class |
NotificationException |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Method and 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) |
| Modifier and Type | Method and 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> |
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) |
| Modifier and Type | Method and 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) |
Copyright © 2018 CrafterCMS. All rights reserved.