public class PreviewContext extends Object
Constructor and Description |
---|
PreviewContext()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Date |
getPreviewDate(COM.FutureTense.Interfaces.ICS ics,
Date cutoff)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
|
static boolean |
isSitePreviewEnabled(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
Checks if start/enddate checking is enabled.
|
public static Date getPreviewDateFromSession(COM.FutureTense.Interfaces.ICS ics, String ssvarName)
ics
- Content Server context objectssvarName
- server session variable namepublic static Date getPreviewDateFromCSVar(COM.FutureTense.Interfaces.ICS ics, String varName)
ics
- Content Server context objectvarName
- variable namepublic static Date getPreviewDate(COM.FutureTense.Interfaces.ICS ics, Date cutoff)
ics
- Content Server context objectcutoff
- cut-off datepublic static boolean isSitePreviewEnabled(COM.FutureTense.Interfaces.ICS ics)
ics
- Content Server context objectpublic static boolean isSitePreviewDelivery(COM.FutureTense.Interfaces.ICS ics)
ics
- Content Server context objectCopyright © 2010–2017. All rights reserved.