com.ibm.portal.resolver.data
Interface VirtualPortalContextDataSource

All Superinterfaces:
Addressable, DataSource, DataSourceFragment, Disposable, TimeStamped
All Known Implementing Classes:
AbstractDataSource, AbstractStaticDataSource, EarlyBindingDataSource

public interface VirtualPortalContextDataSource
extends DataSource

Interface that may optionally be implemented by a DataSource to indicate if the content of the data source depends on the currently selected virtual portal.

Since:
8.0
Note:
This interface is designed to be implemented by clients.

Field Summary
static java.lang.Boolean VIRTUAL_PORTAL_CONTEXT_UNKNOWN
          the virtual portal dependency is unknown, let the framework decide
 
Fields inherited from interface com.ibm.portal.resolver.data.DataSource
CONTENT_TYPE_UNKNOWN, CREATION_UNKNOWN, EXPIRATION_UNKNOWN, LAST_MODIFICATION_UNKNOWN, MAX_AGE_INFINITE, MAX_AGE_NONE, ROOT_DATE
 
Fields inherited from interface com.ibm.portal.resolver.data.Addressable
EMPTY_PARAMETERS
 
Method Summary
 java.lang.Boolean isVirtualPortalDependent()
          Indicates if the data source depends on the virtual portal context (if any).
 
Methods inherited from interface com.ibm.portal.resolver.data.DataSource
getContentType, getCreated, getExpiration, getLastModified
 
Methods inherited from interface com.ibm.portal.resolver.data.Addressable
getParameters, getURI
 
Methods inherited from interface com.ibm.portal.Disposable
dispose
 

Field Detail

VIRTUAL_PORTAL_CONTEXT_UNKNOWN

static final java.lang.Boolean VIRTUAL_PORTAL_CONTEXT_UNKNOWN
the virtual portal dependency is unknown, let the framework decide

Method Detail

isVirtualPortalDependent

java.lang.Boolean isVirtualPortalDependent()
Indicates if the data source depends on the virtual portal context (if any).

Returns:
Boolean.TRUE if the data source depends on the virtual portal context, Boolean.FALSE if the data source does not depend on the virtual portal context of VIRTUAL_PORTAL_CONTEXT_UNKNOWN to leave the decision to the framework.