net.sf.genuine.services
Interface DocumentService

All Superinterfaces:
Service

public interface DocumentService
extends Service

This standard service handles opening, saving, and closing documents. There is no default implementation in Genuine's core. This service is rather meant for convenience because Genuine's standard actions NewAction, OpenAction, SaveAction, and CloseAction refer to it.

Author:
Tim Wellhausen

Method Summary
 void close()
          Closes a document and performs appropriate operations.
 void createNew()
          Creates a new document and performs appropriate operations.
 void open()
          Opens a document and performs appropriate operations.
 void save()
          Saves a document and performs appropriate operations.
 
Methods inherited from interface net.sf.genuine.organizer.Service
isActive
 

Method Detail

createNew

public void createNew()
Creates a new document and performs appropriate operations.


open

public void open()
Opens a document and performs appropriate operations.


save

public void save()
Saves a document and performs appropriate operations.


close

public void close()
Closes a document and performs appropriate operations.