org.silverpeas.viewer.web
Class DocumentViewBuilder.DocumentViewMock

java.lang.Object
  extended by org.silverpeas.viewer.web.DocumentViewBuilder.DocumentViewMock
All Implemented Interfaces:
Serializable, DocumentView, Preview
Enclosing class:
DocumentViewBuilder

protected class DocumentViewBuilder.DocumentViewMock
extends Object
implements DocumentView

See Also:
Serialized Form

Constructor Summary
DocumentViewBuilder.DocumentViewMock(String uriId, String fileName)
           
 
Method Summary
 boolean areSearchDataComputed()
           
 String getDisplayLicenseKey()
           
 String getHeight()
           
 int getNbPages()
           
 String getOriginalFileName()
           
 File getPhysicalFile()
           
 String getURLAsString()
           
 String getWidth()
           
 boolean isDocumentSplit()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentViewBuilder.DocumentViewMock

public DocumentViewBuilder.DocumentViewMock(String uriId,
                                            String fileName)
Method Detail

getDisplayLicenseKey

public String getDisplayLicenseKey()
Specified by:
getDisplayLicenseKey in interface Preview

getURLAsString

public String getURLAsString()
                      throws ViewerException
Specified by:
getURLAsString in interface Preview
Throws:
ViewerException

getPhysicalFile

public File getPhysicalFile()
Specified by:
getPhysicalFile in interface Preview

getOriginalFileName

public String getOriginalFileName()
Specified by:
getOriginalFileName in interface Preview

getWidth

public String getWidth()
Specified by:
getWidth in interface Preview

getHeight

public String getHeight()
Specified by:
getHeight in interface Preview

getNbPages

public int getNbPages()
Specified by:
getNbPages in interface DocumentView

isDocumentSplit

public boolean isDocumentSplit()
Specified by:
isDocumentSplit in interface DocumentView

areSearchDataComputed

public boolean areSearchDataComputed()
Specified by:
areSearchDataComputed in interface DocumentView


Copyright © 2016 Silverpeas. All Rights Reserved.