Package com.adobe.cq.wcm.launches.cf
Interface ContentFragmentLaunch
- All Superinterfaces:
Comparable<Launch>,Launch
Interface to retrieve specific data related to a Content Fragment Launch.
-
Method Summary
Modifier and TypeMethodDescriptiongetId()The id identifies the launch.getLastRebased(ContentFragment contentFragment, Launch compare) Gets last rebase date of a Content Fragment residing inside a launch.voidsetLastRebased(ContentFragment contentFragment, Calendar lastRebased, Launch compare) Sets last rebase date of a Content Fragment residing inside a launch.voidsetRootResource(String rootResourcePath) Sets the root resource path of a Launch.Methods inherited from interface com.adobe.cq.launches.api.Launch
compareTo, containsResource, getCreated, getCreatedBy, getLastPromoted, getLastPromotedBy, getLaunchAutoPromotionScope, getLaunchSources, getLiveDate, getModified, getModifiedBy, getResource, getRootResource, getSourceRootResource, getTitle, isDeep, isLiveCopy, isProductionReady
-
Method Details
-
getLastRebased
Gets last rebase date of a Content Fragment residing inside a launch.- Parameters:
contentFragment- Content Fragmentcompare- Launch containing the Content Fragment- Returns:
- date of last rebase
-
setLastRebased
void setLastRebased(@Nonnull ContentFragment contentFragment, @Nonnull Calendar lastRebased, @Nonnull Launch compare) Sets last rebase date of a Content Fragment residing inside a launch.- Parameters:
contentFragment- Content FragmentlastRebased- Last rebase datecompare- Launch containing the Content Fragment
-
setRootResource
Sets the root resource path of a Launch.- Parameters:
rootResourcePath- Root resource path
-
getId
The id identifies the launch.- Returns:
- the id of the launch or null if the launch does not have jcr:uuid.
-