org.silverpeas.viewer.web.mock
Class DocumentViewServiceMockWrapper

java.lang.Object
  extended by org.silverpeas.viewer.web.mock.DocumentViewServiceMockWrapper
All Implemented Interfaces:
ViewService

@Named(value="documentViewService")
@Default
public class DocumentViewServiceMockWrapper
extends Object
implements ViewService

Author:
Yohann Chastagnier

Constructor Summary
DocumentViewServiceMockWrapper()
           
 
Method Summary
 DocumentView getDocumentView(ViewerContext viewerContext)
           
 ViewService getMock()
           
 boolean isViewable(File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentViewServiceMockWrapper

public DocumentViewServiceMockWrapper()
Method Detail

getMock

public ViewService getMock()

isViewable

public boolean isViewable(File file)
Specified by:
isViewable in interface ViewService

getDocumentView

public DocumentView getDocumentView(ViewerContext viewerContext)
Specified by:
getDocumentView in interface ViewService


Copyright © 2016 Silverpeas. All Rights Reserved.