public interface ExperienceFragmentConsoleItem
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAdobeTargetId()
Returns the ID of the Adobe Target offer (where applicable).
|
java.lang.String |
getAdobeTargetStatus()
Returns the status in Adobe Target (where applicable).
|
java.lang.String |
getItemType()
Returns the type of this console item.
|
java.util.Calendar |
getLastModified()
Returns the last modification date of the resource.
|
java.lang.String |
getLastModifiedBy()
Returns the name of the user that modified this resource.
|
java.lang.String |
getMasterVariationPath()
Returns master variation path for XFs and the resource path for other resources.
|
java.lang.String |
getNavigatorHref()
Determines the URL that the user navigates when clicking the item.
|
Page |
getParentXf()
Returns the parent Experience Fragment for this variation
|
java.lang.String |
getPath()
Returns the path of the experience fragment.
|
java.util.Calendar |
getPublishedDate()
Returns the date that this resource was published (activated).
|
java.util.Set<java.lang.String> |
getQuickactionsRel()
Returns a set of relation identifiers for the quick actions.
|
java.lang.String |
getResourceType()
Returns the resource type of the experience fragment.
|
java.util.Calendar |
getSocialActionDate()
Returns the date of the last social media action.
|
java.lang.String |
getSocialActionStatus()
Indicates the last social media action status.
|
java.lang.String |
getTitle()
Returns the title of the experience fragment page.
|
java.lang.String |
getViewPreviewHref()
Returns the preview link for SM variations.
|
java.lang.String |
getViewPropertiesHref()
Returns the URL for the "Properties" action.
|
boolean |
hasDeleteAccess()
Checks if the current user has the "delete" access on the resource
javax.jcr.security.Privilege#JCR_REMOVE_CHILD_NODES
and javax.jcr.security.Privilege#JCR_REMOVE_NODE |
boolean |
hasReplicateAccess()
Checks if the current user has the "replicate" access on the resource ("crx:replicate").
|
boolean |
hasWriteAccess()
Checks if the current user has the "write" access on the resource
javax.jcr.security.Privilege#JCR_MODIFY_PROPERTIES
and javax.jcr.security.Privilege#JCR_ADD_CHILD_NODES |
boolean |
isExperienceFragmentRoot()
Checks whether this resource is an experience fragment "root" page and not a variation.
|
boolean |
isExportedToAdobeTarget()
Checks if the experience fragment is exported as an Adobe Target offer.
|
boolean |
isFolder()
Checks whether the current item is a folder or not.
|
boolean |
isLiveCopy()
Checks whether the current resource is a live-copy or not.
|
boolean |
isMaster()
Returns true if a variation is a master variation.
|
boolean |
isNew()
Checks whether the page represented by this item was created in the last 24hrs.
|
boolean |
isSocial()
Returns 'true' if the page is a social variation.
|
java.lang.String getPath()
java.lang.String getResourceType()
java.lang.String getTitle()
java.util.Calendar getLastModified()
Calendar
object representing the last modification date.java.lang.String getLastModifiedBy()
java.util.Calendar getPublishedDate()
Calendar
object or null
if the page is not publishedjava.util.Set<java.lang.String> getQuickactionsRel() throws RepositoryException
RepositoryException
- if errors occur during repository operationsjava.lang.String getViewPropertiesHref()
boolean isFolder()
true
if the resource of this item is a folder, and false
otherwise.boolean isLiveCopy()
true
if the page is a live-copy, and false
otherwise.boolean isNew()
true
if the page was created in the last 24hrs, false
otherwiseboolean isExperienceFragmentRoot()
true
if the item represents a root page (cq/experience-fragments/components/experiencefragment), false
otherwisePage getParentXf()
Page
which is the Experience Fragment if the current page is a variation or null
otherwisejava.lang.String getNavigatorHref()
boolean isSocial()
true
if the page is a social variation (Facebook, Pinterest etc)java.lang.String getMasterVariationPath()
java.lang.String getViewPreviewHref()
boolean isMaster()
true
if this is a master variation, false
otherwisejava.lang.String getSocialActionStatus()
java.util.Calendar getSocialActionDate()
boolean isExportedToAdobeTarget()
true
if the variation is exported to Adobe Target, false
otherwisejava.lang.String getAdobeTargetStatus()
String
representing the status. Possbile values are: 'Not Synchronized', 'Synchronized', 'Out Of Sync'java.lang.Long getAdobeTargetId()
Long
representing Adobe Target offer IDboolean hasWriteAccess() throws RepositoryException
javax.jcr.security.Privilege#JCR_MODIFY_PROPERTIES
and javax.jcr.security.Privilege#JCR_ADD_CHILD_NODES
true
if the user has the write access, false
otherwiseRepositoryException
- if errors occur during repository operationsboolean hasDeleteAccess() throws RepositoryException
javax.jcr.security.Privilege#JCR_REMOVE_CHILD_NODES
and javax.jcr.security.Privilege#JCR_REMOVE_NODE
true
if the user has the delete access, false
otherwiseRepositoryException
- if errors occur during repository operationsboolean hasReplicateAccess() throws RepositoryException
true
if the user has the "replicate" access, false
otherwiseRepositoryException
- if errors occur during repository operationsjava.lang.String getItemType()
variation
, experiencefragment
, or folder
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"