org.silverpeas.viewer.web.mock
Class PreviewServiceMockWrapper

java.lang.Object
  extended by org.silverpeas.viewer.web.mock.PreviewServiceMockWrapper
All Implemented Interfaces:
PreviewService

@Named(value="previewService")
@Default
public class PreviewServiceMockWrapper
extends Object
implements PreviewService

Author:
Yohann Chastagnier

Constructor Summary
PreviewServiceMockWrapper()
           
 
Method Summary
 PreviewService getMock()
           
 Preview getPreview(ViewerContext viewerContext)
           
 boolean isPreviewable(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewServiceMockWrapper

public PreviewServiceMockWrapper()
Method Detail

getMock

public PreviewService getMock()

isPreviewable

public boolean isPreviewable(File file)
Specified by:
isPreviewable in interface PreviewService

getPreview

public Preview getPreview(ViewerContext viewerContext)
Specified by:
getPreview in interface PreviewService


Copyright © 2016 Silverpeas. All Rights Reserved.