com.fatwire.gst.foundation.wra
Class WraCoreFieldApiBypassDao
java.lang.Object
com.fatwire.gst.foundation.wra.AssetApiWraCoreFieldDao
com.fatwire.gst.foundation.wra.WraCoreFieldApiBypassDao
- All Implemented Interfaces:
- WraCoreFieldDao
public class WraCoreFieldApiBypassDao
- extends AssetApiWraCoreFieldDao
Backdoor implementation of WraCoreFieldDao that does not utilize any Asset
APIs. This class should be used sparingly and may result in some
dependencies, that would ordinarily be recorded, being skipped.
User: Tony Field Date: 2011-05-06
- Author:
- Dolf Dijkstra
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBackdoorInstance
public static WraCoreFieldApiBypassDao getBackdoorInstance(COM.FutureTense.Interfaces.ICS ics)
isWebReferenceable
public boolean isWebReferenceable(com.fatwire.assetapi.data.AssetId id)
- Method to test whether or not an asset is web-referenceable. todo: low
priority: optimize as this will be called at runtime (assest api incache
will mitigate the performance issue)
- Specified by:
isWebReferenceable
in interface WraCoreFieldDao
- Overrides:
isWebReferenceable
in class AssetApiWraCoreFieldDao
- Parameters:
id
- asset ID to check
- Returns:
- true if the asset is a valid web-referenceable asset, false if it
is not
getWra
public WebReferenceableAsset getWra(com.fatwire.assetapi.data.AssetId id)
- Return a web referenceable asset bean given an input id. Required fields
must be set or an exception is thrown.
- Specified by:
getWra
in interface WraCoreFieldDao
- Overrides:
getWra
in class AssetApiWraCoreFieldDao
- Parameters:
id
- asset id
- Returns:
- WebReferenceableAsset, never null
- See Also:
isWebReferenceable(AssetId)
isVanityAsset
public boolean isVanityAsset(com.fatwire.assetapi.data.AssetId id)
- Description copied from interface:
WraCoreFieldDao
- Method to test if an asset has a vanity url, that is has a path field.
- Specified by:
isVanityAsset
in interface WraCoreFieldDao
- Overrides:
isVanityAsset
in class AssetApiWraCoreFieldDao
- Parameters:
id
- asset ID to check
- Returns:
- true if the asset has a vanity url, false if it is not
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.