com.fatwire.assetapi.data
Class HistoryGroupReadStrategy
java.lang.Object
com.fatwire.assetapi.data.BasicAssetDataReadStrategy
com.fatwire.assetapi.data.HistoryGroupReadStrategy
- All Implemented Interfaces:
- com.fatwire.assetapi.data.AssetDataReadStrategy
public class HistoryGroupReadStrategy
- extends BasicAssetDataReadStrategy
Reads history group data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
specialAttributes
protected java.util.List<java.lang.String> specialAttributes
_def
protected AssetTypeDef _def
HistoryGroupReadStrategy
public HistoryGroupReadStrategy(ICS ics)
retrieveSpecialAttributes
protected void retrieveSpecialAttributes(MutableAssetData data,
com.openmarket.xcelerate.interfaces.IAsset asset,
java.util.List<java.lang.String> attributeNames)
throws AssetAccessException
- Each special assets that is not flex assets would most go through the Basic Asset Strategy and then
calls its own retrieving special attribute to handles the specially available attributes for themselves
- Parameters:
data
- the half constructed AssetDataasset
- the IAsset objectattributeNames
- the names of the attributes that user requested, null indicates all are requested.
- Throws:
AssetAccessException
read
public java.lang.Iterable<MutableAssetData> read(Query query)
throws AssetAccessException
- Specified by:
read
in interface com.fatwire.assetapi.data.AssetDataReadStrategy
- Overrides:
read
in class BasicAssetDataReadStrategy
- Throws:
AssetAccessException
read
public MutableAssetData read(com.openmarket.xcelerate.interfaces.IAsset asset,
AssetId id)
throws AssetAccessException
- Specified by:
read
in interface com.fatwire.assetapi.data.AssetDataReadStrategy
- Overrides:
read
in class BasicAssetDataReadStrategy
- Throws:
AssetAccessException
read
public java.lang.Iterable<MutableAssetData> read(java.util.List<AssetId> ids)
throws AssetAccessException,
AssetNotExistException
- Specified by:
read
in interface com.fatwire.assetapi.data.AssetDataReadStrategy
- Overrides:
read
in class BasicAssetDataReadStrategy
- Throws:
AssetAccessException
AssetNotExistException
readAttributes
public MutableAssetData readAttributes(AssetId id,
java.util.List<java.lang.String> attributeNames)
throws AssetAccessException
- Specified by:
readAttributes
in interface com.fatwire.assetapi.data.AssetDataReadStrategy
- Overrides:
readAttributes
in class BasicAssetDataReadStrategy
- Throws:
AssetAccessException
_checkSiteCatalogPrivileges
protected static void _checkSiteCatalogPrivileges(ICS ics)
throws AssetAccessException
- Throws:
AssetAccessException
_checkElementCatalogPrivileges
protected static void _checkElementCatalogPrivileges(ICS ics)
throws AssetAccessException
- Throws:
AssetAccessException
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.