com.fatwire.gst.foundation.url
Interface WraPathTranslationService

All Known Implementing Classes:
UrlRegistry, UrlRegistry2

public interface WraPathTranslationService

Path translation service for going from assetid to WRA path and back

todo: low priority: for any given partial url, get next children down, and "are they parents too" TODO: low priority: remove asset listener methods from interface, create separate interface for these methods

Since:
Jul 21, 2010
Author:
Tony Field, Dolf Dijkstra

Method Summary
 void addAsset(com.fatwire.assetapi.data.AssetId id)
           
 void deleteAsset(com.fatwire.assetapi.data.AssetId id)
           
 AssetIdWithSite resolveAsset(String virtual_webroot, String url_path)
          Look up the asset corresponding to the input virtual-webroot and url-path
 void updateAsset(com.fatwire.assetapi.data.AssetId id)
           
 

Method Detail

resolveAsset

AssetIdWithSite resolveAsset(String virtual_webroot,
                             String url_path)
Look up the asset corresponding to the input virtual-webroot and url-path

Parameters:
virtual_webroot -
url_path -
Returns:
asset id and site

addAsset

void addAsset(com.fatwire.assetapi.data.AssetId id)

updateAsset

void updateAsset(com.fatwire.assetapi.data.AssetId id)

deleteAsset

void deleteAsset(com.fatwire.assetapi.data.AssetId id)


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