|
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 valid| Method Detail |
|---|
public boolean hasLocation()
hasLocation in interface IPersistenceServicepublic java.net.URL getLocation()
getLocation in interface IPersistenceServicepublic boolean isReadOnly()
isReadOnly in interface IPersistenceService
public void store()
throws DocumentException
store in interface IPersistenceServiceDocumentException - if the document can not be stored or no location URL is available
public void store(java.lang.String url)
throws DocumentException
store in interface IPersistenceServiceurl - URL to be used as location
DocumentException - if the document can not be stored
public void store(java.io.OutputStream outputStream)
throws DocumentException
store in interface IPersistenceServiceoutputStream - output stream to be used
DocumentException - if the document can not be stored
public void storeAs(java.io.OutputStream outputStream)
throws NOAException
storeAs in interface IPersistenceServiceoutputStream - output stream to be used
NOAException - if the document can not be stored
public void export(java.lang.String url,
IFilter filter)
throws DocumentException
export in interface IPersistenceServiceurl - URL to be used as locationfilter - filter to be used
DocumentException - if the document can not be exported
public void export(java.io.OutputStream outputStream,
IFilter filter)
throws NOAException
export in interface IPersistenceServiceoutputStream - 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 | ||||||||