public interface WraCoreFieldDao
AliasCoreFieldDao
.}Modifier and Type | Field and Description |
---|---|
static String[] |
VANITY_ATTRIBUTE_NAMES
Deprecated.
|
static String[] |
WRA_ATTRIBUTE_NAMES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
findP(AssetIdWithSite wraAssetIdWithSite)
Deprecated.
Locate the page that contains the specified Web-Referenceable Asset.
|
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.
|
static final String[] WRA_ATTRIBUTE_NAMES
static final String[] VANITY_ATTRIBUTE_NAMES
boolean isWebReferenceable(com.fatwire.assetapi.data.AssetId id)
id
- asset ID to checkboolean isWebReferenceable(TemplateAsset candidate)
candidate
- asset to check for web-referenceable support.boolean isWebReferenceable(WebReferenceableAsset candidate)
candidate
- asset to check for web-referenceable support.boolean isVanityAsset(com.fatwire.assetapi.data.AssetId id)
id
- asset ID to checkWebReferenceableAsset getWra(com.fatwire.assetapi.data.AssetId id)
id
- asset idisWebReferenceable(com.fatwire.assetapi.data.AssetId)
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.
wraAssetIdWithSite
- id of the web-referenceable asset. Site is
includedString resolveSite(String c, String cid)
c
- current assetcid
- content idVanityAsset getVanityWra(com.fatwire.assetapi.data.AssetId id)
id
- asset idCopyright © 2010–2017. All rights reserved.