|
com.im.df.api 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DFSchemaDataProvider
The root object for providing data in DIF. Using this object you can get to
data providers for entities and for relationships. This class is also used
for creating new DFResultSets.
| Field Summary | |
|---|---|
static String |
XATTR_TURN_INIT_LOAD
property in schema schema for turning of initial data loading |
| Method Summary | |
|---|---|
DFResultSet |
getDefaultResultSet(DFDataTree dataTree,
boolean showAll,
DFEnvironmentRO env)
Get a default DFResultSet for the given DFDataTree. |
DFEntityDataProvider |
getEntityDataProvider(DFEntity entity)
Get the EDP (entity data provider) for the specified entity |
DFRelationDataProvider |
getRelationshipDataProvider(DFRelationship.Direction relationshipDir)
Get the RDP (relation data provider) for the specified relationship direction. |
DFSchema |
getSchema()
Get the schema which this data provider belongs to |
DFUndoManager |
getUndoManager()
Get the data modifications undo/redo manager for this schema. |
boolean |
hasDefaultResultSet(DFDataTree dataTree)
Test if there is default result set already created. |
DFUpdateInfo |
insert(DFInsertDescription data,
DFEnvironmentRO env)
Inserts complex data into one or more Entities. |
| Field Detail |
|---|
static final String XATTR_TURN_INIT_LOAD
| Method Detail |
|---|
DFSchema getSchema()
DFEntityDataProvider getEntityDataProvider(DFEntity entity)
DFRelationDataProvider getRelationshipDataProvider(DFRelationship.Direction relationshipDir)
DFResultSet getDefaultResultSet(DFDataTree dataTree,
boolean showAll,
DFEnvironmentRO env)
dataTree - The DFDataTreeshowAll - If true result set will contain all id of the master entity, if false it will contain no rows
(means returned result set will be in state like after applyIds(EMPTY_LIST). Important: This parameter
has only reason when new result set is created during this call. If someone else call getDefaultResultSet
for the same DFDataTree before it has no effect.boolean hasDefaultResultSet(DFDataTree dataTree)
dataTree - The datatree which should be tested
DFUpdateInfo insert(DFInsertDescription data,
DFEnvironmentRO env)
DFEntityDataProvider. See DFInsertDescription documentation
for more details
data - The i nstructions what to insertenv - The environmentDFUndoManager getUndoManager()
|
com.im.df.api 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||