|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IDataSource defines an interface that describes a source of data and provides the means to access that source. It can be viewed as a handle or reference to a specific individual persistent storage or database.
Nested Class Summary | |
static interface |
IDataSource.IDataSourceCreator
Interface used for the DataSourceCreator constant. |
Field Summary | |
static IDataSource.IDataSourceCreator |
DataSourceCreator
Contains method that creates a new DataSource |
Method Summary | |
IEntity |
createEntity(IEntityDescriptor entityDescriptor)
Creates a new entity and lets the data source be the manager of that entity. |
IEntity |
createEntity(IEntityDescriptor entityDescriptor,
IDataProvider propertySource)
Creates a new entity and lets the data source be the manager of that entity. |
IDataService |
getDataService()
Returns the IDataService for this data source. |
IDataSourceDescriptor |
getDataSourceDescriptor()
Returns the IDataSourceDescriptor for this data source. |
IEntity |
loadEntity(IEntityDescriptor entityDescriptor,
Qualifier identityQualifier)
The load method returnes a single entity object intentified by the provided indentity qualifier that must be able to uniquely identify a single entity instance. |
ISelection |
loadSelection(IEntityDescriptor entityDescriptor,
Qualifier qualifier)
Loads a selection of entities identyfied by the provided qualifier. |
IEntity |
manageEntity(IEntity entity)
Instucts the data source object to take over the control of an entity. |
Field Detail |
public static final IDataSource.IDataSourceCreator DataSourceCreator
Method Detail |
public IEntity createEntity(IEntityDescriptor entityDescriptor)
public IEntity createEntity(IEntityDescriptor entityDescriptor, IDataProvider propertySource)
public IEntity loadEntity(IEntityDescriptor entityDescriptor, Qualifier identityQualifier)
public ISelection loadSelection(IEntityDescriptor entityDescriptor, Qualifier qualifier)
public IEntity manageEntity(IEntity entity)
public IDataSourceDescriptor getDataSourceDescriptor()
public IDataService getDataService()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |