public class PreviewURIServiceImpl extends Object implements PreviewURIService
This service API is designed to support the Preview URI API
| Constructor and Description |
|---|
PreviewURIServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultProviderName()
Return default Preview URI service provider
|
String |
getPreviewURI(String sbStoreId,
String pathToAsset) |
List<String> |
getPreviewURIs(String sbStoreId,
List<String> pathsToAssets) |
String |
getProviderName(String wpStoreId)
Return Preview URI service provider configured for web project
|
Set<String> |
getProviderNames()
Return list of registered Preview URI service providers
|
void |
setPreviewURIServiceRegistry(PreviewURIServiceRegistry previewURIProviderRegistry) |
void |
setWebProjectService(WebProjectService wpService) |
public void setPreviewURIServiceRegistry(PreviewURIServiceRegistry previewURIProviderRegistry)
public void setWebProjectService(WebProjectService wpService)
public String getPreviewURI(String sbStoreId, String pathToAsset)
getPreviewURI in interface PreviewURIServicesbStoreId - The sandbox store id to generate the preview URI for.pathToAsset - The path to the asset to generate the preview URI for (can be null or empty, to return preview URL to store).public List<String> getPreviewURIs(String sbStoreId, List<String> pathsToAssets)
getPreviewURIs in interface PreviewURIServicesbStoreId - The sandbox store id to generate the preview URI for.pathsToAssets - List of paths to the assets to generate the preview URI for.public Set<String> getProviderNames()
PreviewURIServicegetProviderNames in interface PreviewURIServicepublic String getDefaultProviderName()
PreviewURIServicegetDefaultProviderName in interface PreviewURIServicepublic String getProviderName(String wpStoreId)
PreviewURIServicegetProviderName in interface PreviewURIServiceCopyright © 2005–2014 Alfresco Software. All rights reserved.