com.extentech.ExtenXLS.web
Class WebDoc

java.lang.Object
  extended by com.extentech.ExtenXLS.DocumentHandle
      extended by com.extentech.ExtenDOC.DocHandle
          extended by com.extentech.ExtenXLS.web.MemeDocument
              extended by com.extentech.ExtenXLS.web.MemeDoc
                  extended by com.extentech.ExtenXLS.web.WebDoc
All Implemented Interfaces:
Document, Handle, com.extentech.toolkit.LogOutputter

public class WebDoc
extends MemeDoc
implements Document

The WebWorkBook class provides additional functionality to the WorkBookHandle class to allow it to participate in a Service-Oriented-Architecture. The additional functionality of the WebWorkBook relates to version and access control using a hosted architecture to provide for the security and versioning repository.

Author:
John McMahon -- Copyright ©2010 Extentech Inc.
See Also:
WorkBook, WorkBookHandle, http://www.sheetster.com

Field Summary
 
Fields inherited from class com.extentech.ExtenXLS.web.MemeDocument
ACCESS_STATUS_PRIVATE, ACCESS_STATUS_PUBLIC, ACCESS_STATUS_SHARED
 
Fields inherited from interface com.extentech.ExtenXLS.Document
ALLOWDUPES, DEBUG_HIGH, DEBUG_LOW, DEBUG_MEDIUM, SHAREDUPES, STRING_ENCODING_AUTO, STRING_ENCODING_COMPRESSED, STRING_ENCODING_UNICODE
 
Constructor Summary
WebDoc()
          May 19, 2010
WebDoc(Connection conn, File tempfile)
          May 19, 2010
WebDoc(Connection conn, int intValue, boolean storeBookAsFile, boolean storeAsXML)
          May 20, 2010
WebDoc(String tmpFilePath)
          Load from a temp file
 
Method Summary
 ChartHandle getChart(String chartname)
          May 16, 2010
 ChartHandle[] getCharts()
          May 16, 2010
 FormatHandle[] getFormats()
          May 16, 2010
 void setDupeStringMode(int mode)
          May 16, 2010
 void setProtected(boolean b)
          May 16, 2010
 void setStringEncodingMode(int mode)
          May 16, 2010
 
Methods inherited from class com.extentech.ExtenXLS.web.MemeDoc
getAllText, getTextRangeHandle, write, write, write, writeBytes
 
Methods inherited from class com.extentech.ExtenXLS.web.MemeDocument
addUser, appendOutputDir, bindData, createPage, deleteBook, deleteDoc, getAllDiffs, getBook, getConcurrentUsers, getConnection, getCryptPass, getDataFactory, getDatamapping, getDefaultFileString, getDescription, getFileName, getLatestDiff, getMemeId, getMemeType, getMessageManager, getNumPages, getOutputDir, getOwnerId, getPages, getRESTEmit, getRESTlog, getServerURL, getSession, getSharingAccess, getTempfile, getXMLStream, isPublic, isSaved, loadDataDefinition, loadDataDefinition, log, log, log, main, revert, save, setConnection, setCryptPass, setDataFactory, setDatamapping, setDescription, setMemeId, setMemeType, setMessageManager, setOutputDir, setOwnerId, setRESTlog, setSaved, setServerURL, setSession, setSharingAccess, setStoreAsXML, setStoreBookAsFile, setTempfile, storeAsXML, storeBookAsFile, storeDiff, storeNewDocument
 
Methods inherited from class com.extentech.ExtenDOC.DocHandle
addProperty, close, finalize, getBytes, getFactory, getFormatHandles, getName, getPage, getParagraphs, getProperties, getProperty, getTextRangeHandles, getVersion, getWorkingDirectory, getXHTML, reset, searchAndReplace, setDebugLevel, setFileName, setName, setProperties, setXHTML, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.extentech.ExtenXLS.Document
addProperty, getBytes, getName, getProperty, getWorkingDirectory, reset, setDebugLevel, setName, toString, writeBytes
 

Constructor Detail

WebDoc

public WebDoc(Connection conn,
              File tempfile)
May 19, 2010

Parameters:
conn -
tempfile -

WebDoc

public WebDoc()
May 19, 2010


WebDoc

public WebDoc(Connection conn,
              int intValue,
              boolean storeBookAsFile,
              boolean storeAsXML)
May 20, 2010

Parameters:
conn -
intValue -
storeBookAsFile -
storeAsXML -

WebDoc

public WebDoc(String tmpFilePath)
Load from a temp file

Parameters:
tmpFilePath -
Method Detail

getChart

public ChartHandle getChart(String chartname)
                     throws com.extentech.formats.XLS.ChartNotFoundException
May 16, 2010

Specified by:
getChart in interface Document
Overrides:
getChart in class com.extentech.ExtenDOC.DocHandle
Parameters:
chartname -
Returns:
Throws:
com.extentech.formats.XLS.ChartNotFoundException

getCharts

public ChartHandle[] getCharts()
May 16, 2010

Specified by:
getCharts in interface Document
Overrides:
getCharts in class com.extentech.ExtenDOC.DocHandle
Returns:

getFormats

public FormatHandle[] getFormats()
May 16, 2010

Specified by:
getFormats in interface Document
Overrides:
getFormats in class com.extentech.ExtenDOC.DocHandle
Returns:

setDupeStringMode

public void setDupeStringMode(int mode)
May 16, 2010

Specified by:
setDupeStringMode in interface Document
Overrides:
setDupeStringMode in class com.extentech.ExtenDOC.DocHandle
Parameters:
mode -

setProtected

public void setProtected(boolean b)
May 16, 2010

Specified by:
setProtected in interface Document
Overrides:
setProtected in class com.extentech.ExtenDOC.DocHandle
Parameters:
b -
See Also:
Document.setProtected(boolean)

setStringEncodingMode

public void setStringEncodingMode(int mode)
May 16, 2010

Specified by:
setStringEncodingMode in interface Document
Overrides:
setStringEncodingMode in class com.extentech.ExtenDOC.DocHandle
Parameters:
mode -
See Also:
Document.setStringEncodingMode(int)


Copyright © 2010 Extentech Inc. All Rights Reserved.