com.ibm.mashups.enabler.strategy
Interface PageLoadAheadStrategy
- All Superinterfaces:
- Strategy
public PageLoadAheadStrategy
- extends Strategy
Interface that defines a load ahead mulipart strategy for loading artifacts of a navigation node. When applied to a navigation model, the layout model, theme, and current user may be preloaded via a multipart request if multipart is supported by the server.
Constructor Summary |
constructor(boolean loadAheadLayoutModel,
boolean loadAheadTheme,
boolean loadAheadUser)
|
Method Summary |
Boolean |
isLoadAheadLayoutModel()
Returns if the layout model should be loaded after a navigation node is loaded |
Boolean |
isLoadAheadTheme()
Returns if a navigation node's theme should be loaded after the node is loaded |
constructor
public constructor(boolean loadAheadLayoutModel,
boolean loadAheadTheme,
boolean loadAheadUser)
- Parameters:
loadAheadLayoutModel
-
if the layout model should be preloaded when a navigation node is load. Must not be null
.loadAheadTheme
-
if the theme should be preloaded when a navigation node is load. Must not be null
.loadAheadUser
-
if the user should be preloaded when a navigation node is load. Must not be null
.
isLoadAheadLayoutModel
Boolean isLoadAheadLayoutModel()
-
Returns if the layout model should be loaded after a navigation node is loaded
- Returns:
-
true
if the layout model should be preloaded, false
otherwise
isLoadAheadTheme
Boolean isLoadAheadTheme()
-
Returns if a navigation node's theme should be loaded after the node is loaded
- Returns:
-
true
if the theme should be preloaded, false
otherwise
Copyright IBM Corp. 2010 All Rights Reserved.