public class PreviewContext extends Object
Constructor and Description |
---|
PreviewContext() |
Modifier and Type | Method and Description |
---|---|
static Date |
getPreviewDate(COM.FutureTense.Interfaces.ICS ics,
Date cutoff)
Returns the value of the preview date based on the provided date and the
setting for the xcelerate property cs.sitepreview.
|
static Date |
getPreviewDateFromCSVar(COM.FutureTense.Interfaces.ICS ics,
String varName)
Returns the value of the preview date based on the cs variable and the
setting for the xcelerate property cs.sitepreview.
|
static Date |
getPreviewDateFromSession(COM.FutureTense.Interfaces.ICS ics,
String ssvarName)
Returns the value of the preview date based on the session variable and
the setting for the xcelerate property cs.sitepreview.
|
static boolean |
isSitePreviewDelivery(COM.FutureTense.Interfaces.ICS ics) |
static boolean |
isSitePreviewEnabled(COM.FutureTense.Interfaces.ICS ics)
Checks if start/enddate checking is enabled.
|
public static Date getPreviewDateFromSession(COM.FutureTense.Interfaces.ICS ics, String ssvarName)
ics
- ssvarName
- public static Date getPreviewDateFromCSVar(COM.FutureTense.Interfaces.ICS ics, String varName)
ics
- varName
- public static Date getPreviewDate(COM.FutureTense.Interfaces.ICS ics, Date cutoff)
ics
- cutoff
- public static boolean isSitePreviewEnabled(COM.FutureTense.Interfaces.ICS ics)
ics
- public static boolean isSitePreviewDelivery(COM.FutureTense.Interfaces.ICS ics)
ics
- Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.