public abstract class AbstractAsset<T extends FileLibraryConfiguration> extends AbstractComment<T> implements Asset<T>
Comment.ModeratorActions, Comment.ModeratorStatus, Comment.TagLAST_SELF_MOD_BY, PN_NAMECOMMENT_RESOURCETYPE, COMMENTCOLLECTION_RESOURCETYPE, JSON_EXTENSION, NODE_TYPE, PROP_APPROVED, PROP_REFERER, PROP_SPAM, PROP_USE_REFERRER_URL, SOCO_SELECTORCSV_SELECTOR, DEFAULT_SELECTOR, INDEX_SELECTOR, QUERY_SELECTOR, TRANSLATE_SELECTOR| Constructor and Description |
|---|
AbstractAsset(Resource resource,
ClientUtilities clientUtils,
CommentSocialComponentListProviderManager listProviderManager) |
AbstractAsset(Resource resource,
ClientUtilities clientUtils,
QueryRequestInfo queryInfo,
CommentSocialComponentListProviderManager listProviderManager)
Constructor of an asset.
|
| Modifier and Type | Method and Description |
|---|---|
T |
createConfiguration(Resource resource,
Resource cs)
Obtain the configuration for this comment.
|
java.util.List<FileLibraryBreadcrumb> |
getBreadcrumbs() |
java.lang.String |
getFileLibraryId()
Get the FileLibrary id for this asset.
|
java.lang.String |
getFriendlyUrl()
Get a url that can be used to display this component, most of the time, this is the page url that contains the
component.
|
java.lang.String |
getName()
Get the name of the asset
|
PageInfo |
getPageInfo()
Gets information about the pages for this collection.
|
java.lang.String |
getParentFriendlyUrl() |
java.lang.String |
getParentName() |
boolean |
isFileLibraryClosed() |
boolean |
isFolder()
Check if this instance is a folder or a document.
|
void |
setPagination(CollectionPagination pagination)
Set the collection list range.
|
getAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getItems, getMessage, getModeratorActions, getModeratorStatus, getParent, getParentComponent, getParentId, getPublishDate, getReferrerUrl, getResourceType, getSourceComponent, getSourceComponentId, getState, getTags, getTotalSize, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isClosed, isDraft, isFeatured, isFlaggedByUser, isPinned, isScheduled, isTopLevel, isUserModerator, isVisible, setSortedOrder, setSortFields, toStringbuildJSONString, getAsMap, getId, getProperties, getProperty, getProperty, getResource, getUrl, toJSONStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttachment, getAttachments, getAuthor, getCanDelete, getCanEdit, getCanReply, getCanTranslate, getConfiguration, getCreated, getCurrentUserFlagText, getFlagReasons, getMessage, getModeratorActions, getModeratorStatus, getParentId, getPublishDate, getReferrerUrl, getSourceComponentId, getState, getTags, getTranslationAttribution, getTranslationDescription, getTranslationDisplay, getTranslationTitle, getUseFlagReasons, getVotes, isApproved, isClosed, isDraft, isFeatured, isFlaggedByUser, isPinned, isScheduled, isTopLevel, isUserModerator, isVisiblegetItems, getTotalSize, setSortedOrdergetAsMap, getId, getParentComponent, getProperties, getProperty, getProperty, getResource, getResourceType, getSourceComponent, getUrl, toJSONStringpublic AbstractAsset(Resource resource, ClientUtilities clientUtils, CommentSocialComponentListProviderManager listProviderManager) throws RepositoryException
RepositoryExceptionpublic AbstractAsset(Resource resource, ClientUtilities clientUtils, QueryRequestInfo queryInfo, CommentSocialComponentListProviderManager listProviderManager) throws RepositoryException
resource - the specified resourceclientUtils - the client utilities instancequeryInfo - QueryRequestInfolistProviderManager - CommentSocialComponentListProviderManagerRepositoryException - if an error occurspublic java.util.List<FileLibraryBreadcrumb> getBreadcrumbs()
public java.lang.String getName()
getName in interface Asset<T extends FileLibraryConfiguration>public boolean isFolder()
isFolder in interface Asset<T extends FileLibraryConfiguration>public java.lang.String getFileLibraryId()
getFileLibraryId in interface Asset<T extends FileLibraryConfiguration>public boolean isFileLibraryClosed()
isFileLibraryClosed in interface Asset<T extends FileLibraryConfiguration>public java.lang.String getFriendlyUrl()
SocialComponentgetFriendlyUrl in interface Asset<T extends FileLibraryConfiguration>getFriendlyUrl in interface SocialComponentgetFriendlyUrl in class AbstractComment<T extends FileLibraryConfiguration>public void setPagination(CollectionPagination pagination)
AbstractCommentsetPagination in interface SocialCollectionComponentsetPagination in class AbstractComment<T extends FileLibraryConfiguration>pagination - detail information to usepublic T createConfiguration(Resource resource, Resource cs)
AbstractCommentresource - The comment resourcecs - Resourcepublic java.lang.String getParentName()
getParentName in interface Asset<T extends FileLibraryConfiguration>public java.lang.String getParentFriendlyUrl()
getParentFriendlyUrl in interface Asset<T extends FileLibraryConfiguration>public PageInfo getPageInfo()
AbstractCommentgetPageInfo in interface Comment<T extends FileLibraryConfiguration>getPageInfo in class AbstractComment<T extends FileLibraryConfiguration>Copyright © 2010 - 2023 Adobe. All Rights Reserved