|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetDataReadStrategy
TODO: Add class/interface details
Method Summary | |
---|---|
MutableAssetData |
read(IAsset asset,
AssetId id)
|
java.lang.Iterable<MutableAssetData> |
read(java.util.List<AssetId> ids)
Reads asset data for all given AssetId s. |
java.lang.Iterable<MutableAssetData> |
read(Query query)
Reads all asset data that satisfies a given Query |
MutableAssetData |
readAttributes(AssetId id,
java.util.List<java.lang.String> attributeNames)
Reads given set attribute data and returns an AssetData instance containing them. |
Method Detail |
---|
java.lang.Iterable<MutableAssetData> read(Query query) throws AssetAccessException
query
- Query to be satisfied.
AssetAccessException
- is thrown when Query is invalid by the way of incorrect attributes or invalid operation given
the choice of query algorithm. AssetAccessException also wraps any AssetExcptions thrown by the internal implementation.java.lang.Iterable<MutableAssetData> read(java.util.List<AssetId> ids) throws AssetAccessException
AssetId
s.
ids
- List of AssetIds
AssetAccessException
- is thrown when any of the AssetIds passed in does not exist.
AssetAccessException also wraps any AssetExcptions thrown by the internal implementation.MutableAssetData read(IAsset asset, AssetId id) throws AssetAccessException
AssetAccessException
MutableAssetData readAttributes(AssetId id, java.util.List<java.lang.String> attributeNames) throws AssetAccessException
id
- AssetId to read attributes forattributeNames
- names of the attributes
AssetAccessException
- if thrown if the AssetId does not exist or attrbute names passed are incorrect
for the asset. AssetAccessException also wraps any AssetExcptions thrown by the internal implementation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |