|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProductDataProvider
A IProductDataProvider provides the content of product data identified by its toc entry.
To get the table of contents you have to call 'loadToc'. The product data could change over time.
If the user tries to request data from product data provider that has changed since creation a
DataModifiedException is thrown. To get the actual product data the user have to create a
new IProductDataProvider.
| Method Summary | ||
|---|---|---|
InputStream |
getEnumContentAsStream(EnumContentTocEntry tocEntry)
Getting the input stream of enum content for given tocEntry. |
|
Element |
getProductCmptData(ProductCmptTocEntry tocEntry)
Getting the product component data element for given tocEntry. |
|
Element |
getProductCmptGenerationData(GenerationTocEntry tocEntry)
Getting the product component generation data element for given tocEntry. |
|
InputStream |
getTableContentAsStream(TableContentTocEntry tocEntry)
Getting the input stream of table content for given tocEntry. |
|
Element |
getTestcaseElement(TestCaseTocEntry tocEntry)
Getting the test case data element for given tocEntry. |
|
IReadonlyTableOfContents |
getToc()
Getting the toc in the product data provider and returns it. |
|
|
getTocEntryData(CustomTocEntryObject<T> tocEntry)
Getting the data element for the given tocEntry. |
|
String |
getVersion()
Getting the version of the product data provider. |
|
boolean |
isCompatibleToBaseVersion()
Return true if the version is compatible to the base version of this IProductDataProvider. |
|
| Method Detail |
|---|
IReadonlyTableOfContents getToc()
Element getProductCmptData(ProductCmptTocEntry tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time you have
to reload the toc.
tocEntry - The toc entry for the product component you want to load
DataModifiedException - when toc data was modified
Element getProductCmptGenerationData(GenerationTocEntry tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time
you have to reload the toc.
tocEntry - The toc entry for the product component generation you want to load
DataModifiedException - when toc data was modified
Element getTestcaseElement(TestCaseTocEntry tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time you have to
reload the toc.
tocEntry - The toc entry for the test case element you want to load
DataModifiedException - when toc data was modified
InputStream getTableContentAsStream(TableContentTocEntry tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time you have
to reload the toc.
tocEntry - The toc entry for the table content you want to load
DataModifiedException - when toc data was modified
InputStream getEnumContentAsStream(EnumContentTocEntry tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time you have
to reload the toc.
tocEntry - The toc entry for the enum content you want to load
DataModifiedException - when toc data was modifiedString getVersion()
IProductDataProvider was created. The version should be final. Once product
data has changed this IProductDataProvider getting useless and a new one should be
created.
boolean isCompatibleToBaseVersion()
IProductDataProvider. The base version is the really actual version of the product
data and should not be cached.
<T> Element getTocEntryData(CustomTocEntryObject<T> tocEntry)
throws DataModifiedException
DataModifiedException. To update the modification time you have to reload
the toc.
T - the class of the runtime object you want to loadtocEntry - The toc entry for the runtime object of class T you want to load
DataModifiedException - when toc data was modified
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||