Skip navigation links


com.fatwire.assetapi.data
Class SegmentReadStrategy

java.lang.Object
  extended by com.fatwire.assetapi.data.BasicAssetDataReadStrategy
      extended by com.fatwire.assetapi.data.SegmentReadStrategy

All Implemented Interfaces:
com.fatwire.assetapi.data.AssetDataReadStrategy

public class SegmentReadStrategy
extends BasicAssetDataReadStrategy
implements com.fatwire.assetapi.data.AssetDataReadStrategy

Field Summary
protected  AssetTypeDef _def
           
static java.util.List<java.lang.String> specialAttributes
           

 

Fields inherited from class com.fatwire.assetapi.data.BasicAssetDataReadStrategy
_ics, _logger, basicStandAttributes

 

Constructor Summary
SegmentReadStrategy(ICS ics)
           

 

Method Summary
protected static void _checkElementCatalogPrivileges(ICS ics)
           
protected static void _checkSiteCatalogPrivileges(ICS ics)
           
 MutableAssetData read(com.openmarket.xcelerate.interfaces.IAsset asset, AssetId id)
           
 java.lang.Iterable<MutableAssetData> read(java.util.List<AssetId> ids)
           
 java.lang.Iterable<MutableAssetData> read(Query query)
           
 MutableAssetData readAttributes(AssetId id, java.util.List<java.lang.String> attributeNames)
           
protected  void retrieveSpecialAttributes(MutableAssetData data, com.openmarket.xcelerate.interfaces.IAsset asset, java.util.List<java.lang.String> attributeNames)
          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

 

Methods inherited from class com.fatwire.assetapi.data.BasicAssetDataReadStrategy
_checkQuery, _getAssetTypeDef, _getHrefForWebReference, _loadTagAttribute, allStandardAttributes, getAssetDefinitionType, performQuery

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface com.fatwire.assetapi.data.AssetDataReadStrategy
read, read, read, readAttributes

 

Field Detail

specialAttributes

public static java.util.List<java.lang.String> specialAttributes

_def

protected AssetTypeDef _def

Constructor Detail

SegmentReadStrategy

public SegmentReadStrategy(ICS ics)

Method Detail

retrieveSpecialAttributes

protected void retrieveSpecialAttributes(MutableAssetData data,
                                         com.openmarket.xcelerate.interfaces.IAsset asset,
                                         java.util.List<java.lang.String> attributeNames)
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 AssetData
asset - the IAsset object
attributeNames - the names of the attributes that user requested, null indicates all are requested.

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

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.