|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.appserver.WOSession
com.cassinidivision.oce.rendering.OCESession
Provides extended session functionality, including persistent session storage handling.
| Nested Class Summary |
| Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Field Summary |
| Fields inherited from class com.webobjects.appserver.WOSession |
SessionDidCreateNotification, SessionDidRestoreNotification, SessionDidTimeOutNotification |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
_CLASS, NullValue |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
| Constructor Summary | |
OCESession()
|
|
| Method Summary | |
void |
awake()
|
void |
doNotCachePage()
Report in responses that the page being generated should not be cached (written to disk, or similar). |
NSMutableDictionary |
getStateDictionaryForRequest(WORequest r)
Restore persistent information for the current session. |
static String |
persistentSessionPageKey()
Retrieve the persistent session key used to access/retrieve the current page version being rendered. |
static String |
persistentSessionServerNameKey()
Retrieve the persistent session key used to access/retrieve the current server name. |
static String |
persistentSessionStore()
Retrieve the filesystem location of the persistent session store. |
String |
previewTemplate()
Retrieve the current previewing component name. |
void |
reducePageExpiryDurationMinutesTo(int minutes)
Reduce the current page expiry period (that will be reported in the response) by the number of minutes requested. |
RenderingContext |
renderingContext()
Supply the publishing system a rendering context set up with necessary publishing information. |
RenderingFormatter |
renderingFormatter()
Provide a default top-level rendering formatter, to be used when required by publishing components. |
void |
saveStateDictionaryForRequest(WORequest request,
WOResponse response)
Save current state information to the persistent session store. |
static void |
setPersistentSessionStore(String storePath)
Change the filesystem location of the persistent session store directory. |
void |
setPreviewTemplate(String woTemplateName)
Set the current previewing template to use (by name). |
void |
setRenderingFormatter(RenderingFormatter aFormatter)
Change the current top-level rendering formatter. |
NSKeyValueCoding |
stateDictionary()
Retrieve the persistent state info dictionary for the current session. |
String |
woTemplateName()
Retrieve the current top-level component name. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public OCESession()
| Method Detail |
public NSKeyValueCoding stateDictionary()
PersistentSession
stateDictionary in interface PersistentSessionpublic static String persistentSessionStore()
public static void setPersistentSessionStore(String storePath)
storePath - String describing the path to the session store directory.public void awake()
public static String persistentSessionPageKey()
public static String persistentSessionServerNameKey()
public void setPreviewTemplate(String woTemplateName)
woTemplateName - The name of a suitable WOComponent.public String previewTemplate()
public String woTemplateName()
public void doNotCachePage()
PageExpiringSession
doNotCachePage in interface PageExpiringSessionpublic void reducePageExpiryDurationMinutesTo(int minutes)
PageExpiringSession
reducePageExpiryDurationMinutesTo in interface PageExpiringSessionminutes - Integer stating the number of minutes.public NSMutableDictionary getStateDictionaryForRequest(WORequest r)
r - The current WORequest.
public void saveStateDictionaryForRequest(WORequest request,
WOResponse response)
request - The current request.response - The current response being generated.public RenderingFormatter renderingFormatter()
RenderingSession
renderingFormatter in interface RenderingSessionpublic void setRenderingFormatter(RenderingFormatter aFormatter)
aFormatter - A rendering formatter class instance.public RenderingContext renderingContext()
RenderingSession
renderingContext in interface RenderingSession
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||