public class AbstractCommentCollectionConfiguration extends Object implements CommentCollectionConfiguration
CommentCollectionConfiguration
.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_TAGGING, PN_ALLOW_TRANSLATE_ALL, PN_ALLOW_VOTING, PN_MAX_ITEMS_PER_PAGE, PN_RTE_ENABLED, PN_VOTING_ROOT, PN_VOTING_TYPE, 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_TRANSLATE_ALL, PV_DEFAULT_ALLOW_VOTING, PV_DEFAULT_RTE_ENABLED, 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() |
boolean |
isAttachmentAllowed()
Allows attachment.
|
boolean |
isCloseAllowed() |
boolean |
isCustomFlagReasonAllowed() |
boolean |
isDeleteAllowed() |
boolean |
isDenyAllowed() |
boolean |
isEditAllowed() |
boolean |
isFlaggingAllowed() |
boolean |
isFollowingAllowed() |
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 CommentCollectionConfiguration
public boolean isAttachmentAllowed()
CommentCollectionConfiguration
isAttachmentAllowed
in interface CommentCollectionConfiguration
public boolean isRTEEnabled()
CommentCollectionConfiguration
isRTEEnabled
in interface CommentCollectionConfiguration
public boolean isCustomFlagReasonAllowed()
isCustomFlagReasonAllowed
in interface CommentCollectionConfiguration
public boolean isTranslateAllButtonAllowed()
isTranslateAllButtonAllowed
in interface CommentCollectionConfiguration
public int getPageSize()
getPageSize
in interface CommentCollectionConfiguration
public boolean isFlaggingAllowed()
isFlaggingAllowed
in interface CommentCollectionConfiguration
public boolean isCloseAllowed()
isCloseAllowed
in interface CommentCollectionConfiguration
public boolean isDenyAllowed()
isDenyAllowed
in interface CommentCollectionConfiguration
public boolean isEditAllowed()
isEditAllowed
in interface CommentCollectionConfiguration
public boolean isDeleteAllowed()
isDeleteAllowed
in interface CommentCollectionConfiguration
public boolean isFollowingAllowed()
isFollowingAllowed
in interface CommentCollectionConfiguration
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"