com.fatwire.gst.foundation.wra
Interface AliasCoreFieldDao

All Known Implementing Classes:
AssetApiAliasCoreFieldDao

public interface AliasCoreFieldDao

Dao for dealing with core fields in an alias. Aliases may override fields in their target WRA if it points to another asset. Aliases may also refer to external URLs.

Since:
Jul 21, 2010
Author:
Tony Field

Method Summary
 Alias getAlias(com.fatwire.assetapi.data.AssetId id)
          Return an alias asset bean given an input id.
 boolean isAlias(com.fatwire.assetapi.data.AssetId id)
          Method to test whether or not an asset is an Alias.
 

Method Detail

isAlias

boolean isAlias(com.fatwire.assetapi.data.AssetId id)
Method to test whether or not an asset is an Alias. todo: low priority: optimize as this will be called at runtime

Parameters:
id - asset ID to check
Returns:
true if the asset is a valid Alias asset, false if it is not

getAlias

Alias getAlias(com.fatwire.assetapi.data.AssetId id)
Return an alias asset bean given an input id. Required fields must be set or an exception is thrown.

Parameters:
id - asset id
Returns:
Alias
See Also:
isAlias(com.fatwire.assetapi.data.AssetId)


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.