public class AbstractCommentCollectionConfiguration extends java.lang.Object implements CommentCollectionConfiguration
CommentCollectionConfiguration.ALLOW_PRIVILEGED_MEMBERS, PN_ALLOW_ATTACHMENT, PN_ALLOW_CLOSE, PN_ALLOW_CUSTOM_FLAGREASON, PN_ALLOW_DELETE_COMMENTS, PN_ALLOW_DENY, PN_ALLOW_FLAGGING, PN_ALLOW_FOLLOWING, PN_ALLOW_MOVE, PN_ALLOW_REPLIES, PN_ALLOW_TAGGING, PN_ALLOW_TRANSLATE_ALL, PN_ALLOW_VOTING, PN_MAX_ITEMS_PER_PAGE, PN_RTE_ENABLED, PN_SHOW_BADGES, PN_SORT_ORDER, PN_VOTING_ROOT, PN_VOTING_TYPE, PRIVILEGED_USERS_GROUP, PV_DEFAULT_ALLOW_ATTACHMENT, PV_DEFAULT_ALLOW_CLOSE, PV_DEFAULT_ALLOW_CUSTOM_FLAGREASON, PV_DEFAULT_ALLOW_DELETE_COMMENTS, PV_DEFAULT_ALLOW_DENY, PV_DEFAULT_ALLOW_FLAGGING, PV_DEFAULT_ALLOW_FOLLOWING, PV_DEFAULT_ALLOW_MOVE, PV_DEFAULT_ALLOW_REPLIES, PV_DEFAULT_ALLOW_TRANSLATE_ALL, PV_DEFAULT_ALLOW_VOTING, PV_DEFAULT_RTE_ENABLED, PV_DEFAULT_SHOW_BADGES, PV_DEFAULT_VOTING_ROOT, PV_DEFAULT_VOTING_TYPE| Constructor and Description |
|---|
AbstractCommentCollectionConfiguration(Resource commentSystem)
Constructor.
|
AbstractCommentCollectionConfiguration(ValueMap vm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPageSize() |
CollectionSortedOrder |
getSortOrder() |
boolean |
isAttachmentAllowed()
Allows attachment.
|
boolean |
isCloseAllowed() |
boolean |
isCustomFlagReasonAllowed() |
boolean |
isDeleteAllowed() |
boolean |
isDenyAllowed() |
boolean |
isEditAllowed() |
boolean |
isFlaggingAllowed() |
boolean |
isFollowingAllowed() |
boolean |
isMoveAllowed() |
boolean |
isReplyAllowed() |
boolean |
isRTEEnabled()
Checks if is RTE enabled.
|
boolean |
isTranslateAllButtonAllowed() |
boolean |
isVotingAllowed() |
public AbstractCommentCollectionConfiguration(Resource commentSystem)
resource - the target resource of the collection or commentcs - the CommentSystem instance of the CommentCollectionpublic AbstractCommentCollectionConfiguration(ValueMap vm)
valuemap - properties valuemap to use for the configurationpublic boolean isVotingAllowed()
isVotingAllowed in interface CommentCollectionConfigurationpublic boolean isAttachmentAllowed()
CommentCollectionConfigurationisAttachmentAllowed in interface CommentCollectionConfigurationpublic boolean isRTEEnabled()
CommentCollectionConfigurationisRTEEnabled in interface CommentCollectionConfigurationpublic boolean isCustomFlagReasonAllowed()
isCustomFlagReasonAllowed in interface CommentCollectionConfigurationpublic boolean isTranslateAllButtonAllowed()
isTranslateAllButtonAllowed in interface CommentCollectionConfigurationpublic int getPageSize()
getPageSize in interface CommentCollectionConfigurationpublic boolean isFlaggingAllowed()
isFlaggingAllowed in interface CommentCollectionConfigurationpublic boolean isCloseAllowed()
isCloseAllowed in interface CommentCollectionConfigurationpublic boolean isDenyAllowed()
isDenyAllowed in interface CommentCollectionConfigurationpublic boolean isEditAllowed()
isEditAllowed in interface CommentCollectionConfigurationpublic boolean isReplyAllowed()
isReplyAllowed in interface CommentCollectionConfigurationpublic boolean isDeleteAllowed()
isDeleteAllowed in interface CommentCollectionConfigurationpublic boolean isFollowingAllowed()
isFollowingAllowed in interface CommentCollectionConfigurationpublic CollectionSortedOrder getSortOrder()
getSortOrder in interface CommentCollectionConfigurationCollectionSortedOrder.REVERSED_ORDER.public boolean isMoveAllowed()
isMoveAllowed in interface CommentCollectionConfiguration"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"