public interface MessageBoxSocialComponent<P extends MessageSocialComponent,C extends CommentCollectionConfiguration> extends CommentCollection<P,C>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NODE_TYPE
The node type for message box nodes.
|
static java.lang.String |
PN_FOLDER_PATHS
property to customize folders to look up the messages in for this message box.
|
static java.lang.String |
PN_SIZE
Name of the property that stores the message box size.
|
static java.lang.String |
RESOURCE_TYPE
The resource type value for a MessageBoxSocialComponent.
|
CSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, PROP_REFERER, QUERY_SELECTOR, TRANSLATE_SELECTOR
Modifier and Type | Method and Description |
---|---|
long |
getCount(MessageCounts.CountType countType)
Queries the value of the specified count type for this message box.
|
java.util.List<java.lang.String> |
getFolderPaths() |
java.util.Map<java.lang.String,java.lang.Long> |
getMessageCounts() |
PageInfo |
getPageInfo()
Gets information about the pages for this collection.
|
long |
getSize()
Get the size of the message box in bytes.
|
Usage |
getUserStatistics()
get the usage statistics of the user.
|
getConfiguration, getCreated, getLastModified, getMayPost, isTaggingAllowed
getItems, getTotalSize, setPagination, setSortedOrder
getAsMap, getFriendlyUrl, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONString
static final java.lang.String PN_FOLDER_PATHS
static final java.lang.String RESOURCE_TYPE
static final java.lang.String NODE_TYPE
static final java.lang.String PN_SIZE
@Nonnull PageInfo getPageInfo()
CommentCollection
getPageInfo
in interface CommentCollection<P extends MessageSocialComponent,C extends CommentCollectionConfiguration>
PageInfo
@Nonnull java.util.List<java.lang.String> getFolderPaths()
@Nonnull java.util.Map<java.lang.String,java.lang.Long> getMessageCounts()
@Nonnull Usage getUserStatistics() throws RepositoryException, LoginException
Usage
RepositoryException
- RepositoryException
if some exception occurs in
calculating the statistics.LoginException
- LoginException
long getCount(MessageCounts.CountType countType)
countType
- The type of count to return. See MessageCounts.CountType
long getSize()
Copyright © 2010 - 2020 Adobe. All Rights Reserved