ariba.ui.meta.persistence
Class DetailDataSource
java.lang.Object
ariba.ui.table.AWTDataSource
ariba.ui.meta.persistence.DetailDataSource
public class DetailDataSource
- extends AWTDataSource
Constructor Summary |
DetailDataSource(java.lang.Object parent,
java.lang.String keyPath)
|
Method Summary |
void |
delete(java.lang.Object object)
|
AWTEntity |
entity()
|
java.util.List |
fetchObjects()
Returns the list of objects. |
boolean |
hasChanges()
Should return true when underlying changes in the datasource indicate that the DisplayGroup should
automatcally call fetchObjects() as soon as possible to present the user with recent changes. |
java.lang.Object |
insert()
|
java.lang.Object |
parentObject()
|
void |
setParentObject(java.lang.Object parentObject)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetailDataSource
public DetailDataSource(java.lang.Object parent,
java.lang.String keyPath)
parentObject
public java.lang.Object parentObject()
setParentObject
public void setParentObject(java.lang.Object parentObject)
hasChanges
public boolean hasChanges()
- Description copied from class:
AWTDataSource
- Should return true when underlying changes in the datasource indicate that the DisplayGroup should
automatcally call fetchObjects() as soon as possible to present the user with recent changes.
Datasources for which fetching is not "free" should override this method to return false
either always, or at least unless a special event has occured that indicates re-performing
a fetch is warrented.
- Overrides:
hasChanges
in class AWTDataSource
- Returns:
- true if a fetch should be triggered immediately.
fetchObjects
public java.util.List fetchObjects()
- Description copied from class:
AWTDataSource
- Returns the list of objects. Should list should be sorted if dataSourceDoesSort() has
been overridden to return true
- Specified by:
fetchObjects
in class AWTDataSource
- Returns:
- array of fetched objects
entity
public AWTEntity entity()
- Overrides:
entity
in class AWTDataSource
insert
public java.lang.Object insert()
- Overrides:
insert
in class AWTDataSource
delete
public void delete(java.lang.Object object)
- Overrides:
delete
in class AWTDataSource
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.