|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSourceLoader
This interface describes the set of methods that all loaders for DataSource objects must implement.
A loader provides for the retrieval of an object to be stored within the CMS system. Loading methods are named
according to the type of persistence that is performed.
DataSourcePersister,
DataSource| Nested Class Summary | |
|---|---|
static class |
DataSourceLoader.Default
A utility class that provides quick access to the Loader instance associated with the default instance of the database
BbPersistenceManager. |
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
Type used to obtain an instance of the class configured to provide the implementation for this interface. |
| Method Summary | |
|---|---|
DataSourceObjectCount |
loadAdminObjectCount(java.lang.String dataSourceBatchUid,
DataType dataType,
IAdminObject.RowStatus status)
load AdminObject Count |
BbList<DataSource> |
loadAll()
loadAll |
BbList<DataSourceObjectCount> |
loadAllAdminObjectCounts(java.lang.String dataSourceBatchUid,
IAdminObject.RowStatus status)
load All AdminObject Counts |
DataSource |
loadByBatchUid(java.lang.String dataSourceBatchUid)
Load by batch uid. |
DataSource |
loadDefault()
Loads the default data source. |
| Methods inherited from interface blackboard.persist.Loader |
|---|
getAppVersion, init |
| Field Detail |
|---|
static final java.lang.String TYPE
BbPersistenceManager.getLoader(String)
| Method Detail |
|---|
DataSource loadByBatchUid(java.lang.String dataSourceBatchUid)
throws PersistenceException,
KeyNotFoundException
dataSourceBatchUid - Batch Uid with which to identify DataSource object.
DataSource object referenced by batch uid provided.
PersistenceException - Thrown if failure occurs during load of DataSource object.
KeyNotFoundException - Thrown if DataSource object could not be found with provided batch
uid.
DataSource loadDefault()
throws PersistenceException,
KeyNotFoundException
PersistenceException
KeyNotFoundException
BbList<DataSource> loadAll()
throws PersistenceException
DataSource.
PersistenceException - Thrown if failure occurs during load of DataSource object.
DataSourceObjectCount loadAdminObjectCount(java.lang.String dataSourceBatchUid,
DataType dataType,
IAdminObject.RowStatus status)
throws PersistenceException,
KeyNotFoundException
dataSourceBatchUid - Batch Uid with which to identify DataSource object.dataType - DataType refers to identifying type for Admin Object to be referred to.status - IAdminObject.RowStatus status to be used in specifying criteria in
count selection.
KeyNotFoundException - Thrown if DataSource object could not be found with provided batch
uid.
PersistenceException - Thrown if failure occurs during load of DataSourceObjectCount objects.
BbList<DataSourceObjectCount> loadAllAdminObjectCounts(java.lang.String dataSourceBatchUid,
IAdminObject.RowStatus status)
throws PersistenceException,
KeyNotFoundException
dataSourceBatchUid - Batch Uid with which to identify DataSource object.status - IAdminObject.RowStatus status to be used in specifying criteria in
count selection.
KeyNotFoundException - Thrown if DataSource object could not be found with provided batch
uid.
PersistenceException - Thrown if failure occurs during load of DataSourceObjectCount objects.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||