|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.document.PersistenceService
public class PersistenceService
Persistence service for office documents.
Constructor Summary | |
---|---|
PersistenceService(IDocument document,
com.sun.star.frame.XStorable xStorable)
Constructs new PersistenceService. |
Method Summary | |
---|---|
void |
export(java.io.OutputStream outputStream,
IFilter filter)
Exports document into the output stream on the basis of the submitted filter. |
void |
export(java.lang.String url,
IFilter filter)
Exports document to the URL on the basis of the submitted filter. |
java.net.URL |
getLocation()
Returns location URL of the document. |
boolean |
hasLocation()
Returns information whether the document has a location URL. |
boolean |
isReadOnly()
Returns informations whether the doccument is in read only state or not. |
void |
store()
Stores document on to the location URL. |
void |
store(java.io.OutputStream outputStream)
Stored document in the submitted output stream. |
void |
store(java.lang.String url)
Stores document to the submitted URL. |
void |
storeAs(java.io.OutputStream outputStream)
Stores document in the submitted output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceService(IDocument document, com.sun.star.frame.XStorable xStorable) throws java.lang.IllegalArgumentException
document
- document to be usedxStorable
- OpenOffice.org XStorable interface to be used
java.lang.IllegalArgumentException
- if the submitted document or the OpenOffice.org XStorable interface
is not validMethod Detail |
---|
public boolean hasLocation()
hasLocation
in interface IPersistenceService
public java.net.URL getLocation()
getLocation
in interface IPersistenceService
public boolean isReadOnly()
isReadOnly
in interface IPersistenceService
public void store() throws DocumentException
store
in interface IPersistenceService
DocumentException
- if the document can not be stored or no location URL is availablepublic void store(java.lang.String url) throws DocumentException
store
in interface IPersistenceService
url
- URL to be used as location
DocumentException
- if the document can not be storedpublic void store(java.io.OutputStream outputStream) throws DocumentException
store
in interface IPersistenceService
outputStream
- output stream to be used
DocumentException
- if the document can not be storedpublic void storeAs(java.io.OutputStream outputStream) throws NOAException
storeAs
in interface IPersistenceService
outputStream
- output stream to be used
NOAException
- if the document can not be storedpublic void export(java.lang.String url, IFilter filter) throws DocumentException
export
in interface IPersistenceService
url
- URL to be used as locationfilter
- filter to be used
DocumentException
- if the document can not be exportedpublic void export(java.io.OutputStream outputStream, IFilter filter) throws NOAException
export
in interface IPersistenceService
outputStream
- output stream to be usedfilter
- filter to be used
NOAException
- if the document can not be exported
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |