public class AssetApiWraCoreFieldDao extends Object implements WraCoreFieldDao
AliasCoreFieldDao
.}VANITY_ATTRIBUTE_NAMES, WRA_ATTRIBUTE_NAMES
Constructor and Description |
---|
AssetApiWraCoreFieldDao(COM.FutureTense.Interfaces.ICS ics) |
Modifier and Type | Method and Description |
---|---|
long |
findP(AssetIdWithSite wraAssetIdWithSite)
Locate the page that contains the specified Web-Referenceable Asset.
|
static AssetApiWraCoreFieldDao |
getInstance(COM.FutureTense.Interfaces.ICS ics) |
VanityAsset |
getVanityWra(com.fatwire.assetapi.data.AssetId id) |
WebReferenceableAsset |
getWra(com.fatwire.assetapi.data.AssetId id)
Return a web referenceable asset bean given an input id.
|
boolean |
isVanityAsset(com.fatwire.assetapi.data.AssetId id)
Method to test if an asset has a vanity url, that is has a path field.
|
boolean |
isWebReferenceable(com.fatwire.assetapi.data.AssetId id)
Method to test whether or not an asset is web-referenceable.
|
boolean |
isWebReferenceable(TemplateAsset candidate)
Method to test whether or not an asset is web-referenceable.
|
boolean |
isWebReferenceable(WebReferenceableAsset candidate)
Method to test whether or not an asset is web-referenceable.
|
String |
resolveSite(String c,
String cid) |
public AssetApiWraCoreFieldDao(COM.FutureTense.Interfaces.ICS ics)
public static final AssetApiWraCoreFieldDao getInstance(COM.FutureTense.Interfaces.ICS ics)
public boolean isWebReferenceable(com.fatwire.assetapi.data.AssetId id)
isWebReferenceable
in interface WraCoreFieldDao
id
- asset ID to checkpublic boolean isWebReferenceable(TemplateAsset candidate)
WraCoreFieldDao
isWebReferenceable
in interface WraCoreFieldDao
candidate
- asset to check for web-referenceable support.public boolean isWebReferenceable(WebReferenceableAsset candidate)
isWebReferenceable
in interface WraCoreFieldDao
candidate
- asset to testpublic WebReferenceableAsset getWra(com.fatwire.assetapi.data.AssetId id)
getWra
in interface WraCoreFieldDao
id
- asset idisWebReferenceable(com.fatwire.assetapi.data.AssetId)
public String resolveSite(String c, String cid)
resolveSite
in interface WraCoreFieldDao
public long findP(AssetIdWithSite wraAssetIdWithSite)
findP
in interface WraCoreFieldDao
wraAssetIdWithSite
- id of the web-referenceable asset. Site is
includedpublic boolean isVanityAsset(com.fatwire.assetapi.data.AssetId id)
WraCoreFieldDao
isVanityAsset
in interface WraCoreFieldDao
id
- asset ID to checkpublic VanityAsset getVanityWra(com.fatwire.assetapi.data.AssetId id)
getVanityWra
in interface WraCoreFieldDao
Copyright © 2010-2016 Oracle Corporation. All Rights Reserved.