org.alfresco.web.bean.wcm.preview
Class URITemplatePreviewURIService

java.lang.Object
  extended by org.alfresco.wcm.preview.AbstractPreviewURIServiceProvider
      extended by org.alfresco.wcm.preview.URITemplatePreviewURIService
          extended by org.alfresco.web.bean.wcm.preview.URITemplatePreviewURIService
All Implemented Interfaces:
org.alfresco.wcm.preview.PreviewURIServiceProvider, PreviewURIService

Deprecated. see org.alfresco.wcm.preview.URITemplatePreviewURIService

public class URITemplatePreviewURIService
extends org.alfresco.wcm.preview.URITemplatePreviewURIService
implements PreviewURIService

A PreviewURIService that takes a URI template and replaces the following parameters per request:

Since:
2.2.1

Field Summary
 
Fields inherited from class org.alfresco.wcm.preview.URITemplatePreviewURIService
uriTemplate
 
Constructor Summary
URITemplatePreviewURIService(java.lang.String uriTemplate)
          Deprecated.  
 
Method Summary
 java.lang.String getPreviewURI(java.lang.String storeId, java.lang.String webapp)
          Deprecated.  
 
Methods inherited from class org.alfresco.wcm.preview.URITemplatePreviewURIService
getPreviewURI, setUriTemplate
 
Methods inherited from class org.alfresco.wcm.preview.AbstractPreviewURIServiceProvider
getPreviewURIs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URITemplatePreviewURIService

public URITemplatePreviewURIService(java.lang.String uriTemplate)
Deprecated. 
Method Detail

getPreviewURI

public java.lang.String getPreviewURI(java.lang.String storeId,
                                      java.lang.String webapp)
Deprecated. 
Specified by:
getPreviewURI in interface PreviewURIService
Parameters:
storeId - The id of the store to generate the preview URI for.
webapp - The path to the asset to generate the preview URI for (can be null or empty, to return preview URL to store)
Returns:
The Preview URI for the given store id and/or asset (may be null).


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.