public class AssetApiWraCoreFieldDao extends Object implements WraCoreFieldDao
AliasCoreFieldDao.}VANITY_ATTRIBUTE_NAMES, WRA_ATTRIBUTE_NAMES| Constructor and Description |
|---|
AssetApiWraCoreFieldDao(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
findP(AssetIdWithSite wraAssetIdWithSite)
Deprecated.
Locate the page that contains the specified Web-Referenceable Asset.
|
static AssetApiWraCoreFieldDao |
getInstance(COM.FutureTense.Interfaces.ICS ics)
Deprecated.
|
VanityAsset |
getVanityWra(com.fatwire.assetapi.data.AssetId id)
Deprecated.
|
WebReferenceableAsset |
getWra(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Return a web referenceable asset bean given an input id.
|
boolean |
isVanityAsset(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Method to test if an asset has a vanity url, that is has a path field.
|
boolean |
isWebReferenceable(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Method to test whether or not an asset is web-referenceable.
|
boolean |
isWebReferenceable(TemplateAsset candidate)
Deprecated.
Method to test whether or not an asset is web-referenceable.
|
boolean |
isWebReferenceable(WebReferenceableAsset candidate)
Deprecated.
Method to test whether or not an asset is web-referenceable.
|
String |
resolveSite(String c,
String cid)
Deprecated.
|
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 WraCoreFieldDaoid - asset ID to checkpublic boolean isWebReferenceable(TemplateAsset candidate)
WraCoreFieldDaoisWebReferenceable in interface WraCoreFieldDaocandidate - asset to check for web-referenceable support.public boolean isWebReferenceable(WebReferenceableAsset candidate)
isWebReferenceable in interface WraCoreFieldDaocandidate - asset to testpublic WebReferenceableAsset getWra(com.fatwire.assetapi.data.AssetId id)
getWra in interface WraCoreFieldDaoid - asset idisWebReferenceable(com.fatwire.assetapi.data.AssetId)public String resolveSite(String c, String cid)
resolveSite in interface WraCoreFieldDaoc - current assetcid - content idpublic long findP(AssetIdWithSite wraAssetIdWithSite)
A WRA is supposed to just be placed on one page (in the unnamed association block), and this method locates it. If it is not found, 0L is returned.
If multiple matches are found, a warning is logged and the first one is returned.
findP in interface WraCoreFieldDaowraAssetIdWithSite - id of the web-referenceable asset. Site is
includedpublic boolean isVanityAsset(com.fatwire.assetapi.data.AssetId id)
WraCoreFieldDaoisVanityAsset in interface WraCoreFieldDaoid - asset ID to checkpublic VanityAsset getVanityWra(com.fatwire.assetapi.data.AssetId id)
getVanityWra in interface WraCoreFieldDaoid - asset idCopyright © 2010–2017. All rights reserved.