com.ibm.portal.resolver.data
Interface ProjectContextDataSource

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

public interface ProjectContextDataSource
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 project.

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

Field Summary
static java.lang.Boolean PROJECT_CONTEXT_UNKNOWN
          the project 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 isProjectDependent()
          Indicates if the data source depends on the project 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

PROJECT_CONTEXT_UNKNOWN

static final java.lang.Boolean PROJECT_CONTEXT_UNKNOWN
the project dependency is unknown, let the framework decide

Method Detail

isProjectDependent

java.lang.Boolean isProjectDependent()
Indicates if the data source depends on the project context (if any).

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