org.silverpeas.viewer.web.mock
Class DocumentViewServiceMockWrapper
java.lang.Object
org.silverpeas.viewer.web.mock.DocumentViewServiceMockWrapper
- All Implemented Interfaces:
- ViewService
@Named(value="documentViewService")
@Default
public class DocumentViewServiceMockWrapper
- extends Object
- implements ViewService
- Author:
- Yohann Chastagnier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentViewServiceMockWrapper
public DocumentViewServiceMockWrapper()
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.