com.fatwire.assetapi.data
Class FormAttributeEditorReadStrategy

java.lang.Object
  extended by com.fatwire.assetapi.data.BasicAssetDataReadStrategy
      extended by com.fatwire.assetapi.data.FormAttributeEditorReadStrategy
All Implemented Interfaces:
com.fatwire.assetapi.data.AssetDataReadStrategy

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


Field Summary
protected  AssetTypeDef _def
           
static java.util.List<java.lang.String> allAttributeEditorStandardAttributes
           
static java.util.List<java.lang.String> editorPrimaryAttributes
           
protected  java.util.List<java.lang.String> specialAttributes
           
 
Fields inherited from class com.fatwire.assetapi.data.BasicAssetDataReadStrategy
_ics, _logger, basicStandAttributes
 
Constructor Summary
FormAttributeEditorReadStrategy(ICS ics)
           
FormAttributeEditorReadStrategy(ICS ics, java.lang.String assettype, java.util.List<java.lang.String> specialAttributes)
           
 
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)
          Retrieve the special attribute for the configuration
 
Methods inherited from class com.fatwire.assetapi.data.BasicAssetDataReadStrategy
_checkQuery, _getAssetTypeDef, 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

editorPrimaryAttributes

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

allAttributeEditorStandardAttributes

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

specialAttributes

protected java.util.List<java.lang.String> specialAttributes

_def

protected AssetTypeDef _def
Constructor Detail

FormAttributeEditorReadStrategy

public FormAttributeEditorReadStrategy(ICS ics,
                                       java.lang.String assettype,
                                       java.util.List<java.lang.String> specialAttributes)

FormAttributeEditorReadStrategy

public FormAttributeEditorReadStrategy(ICS ics)
Method Detail

retrieveSpecialAttributes

protected void retrieveSpecialAttributes(MutableAssetData data,
                                         com.openmarket.xcelerate.interfaces.IAsset asset,
                                         java.util.List<java.lang.String> attributeNames)
                                  throws AssetAccessException
Retrieve the special attribute for the configuration

Parameters:
data - the half constructed AssetData
asset - the IAsset object
attributeNames - 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.