Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.document
Interface IPersistenceService

All Known Implementing Classes:
PersistenceService

public interface IPersistenceService

Persistence service for office documents.


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)
          Stores 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.
 

Method Detail

hasLocation

boolean hasLocation()
Returns information whether the document has a location URL.

Returns:
information whether the document has a location URL

getLocation

java.net.URL getLocation()
Returns location URL of the document. Returns null if no location URL is available.

Returns:
location URL of the document

isReadOnly

boolean isReadOnly()
Returns informations whether the doccument is in read only state or not.

Returns:
informations whether the doccument is in read only state or not

store

void store()
           throws DocumentException
Stores document on to the location URL.

Throws:
DocumentException - if the document can not be stored or no location URL is available

store

void store(java.lang.String url)
           throws DocumentException
Stores document to the submitted URL.

Parameters:
url - URL to be used as location
Throws:
DocumentException - if the document can not be stored

store

void store(java.io.OutputStream outputStream)
           throws DocumentException
Stores document in the submitted output stream.

Parameters:
outputStream - output stream to be used
Throws:
DocumentException - if the document can not be stored

storeAs

void storeAs(java.io.OutputStream outputStream)
             throws NOAException
Stores document in the submitted output stream. And fires save-as events on office document.

Parameters:
outputStream - output stream to be used
Throws:
NOAException - if the document can not be stored

export

void export(java.lang.String url,
            IFilter filter)
            throws DocumentException
Exports document to the URL on the basis of the submitted filter.

Parameters:
url - URL to be used as location
filter - filter to be used
Throws:
DocumentException - if the document can not be exported

export

void export(java.io.OutputStream outputStream,
            IFilter filter)
            throws NOAException
Exports document into the output stream on the basis of the submitted filter.

Parameters:
outputStream - output stream to be used
filter - filter to be used
Throws:
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