|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.gst.foundation.facade.assetapi.asset.PreviewContext
public class PreviewContext
Constructor Summary | |
---|---|
PreviewContext()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreviewContext()
Method Detail |
---|
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
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |