org.opengroupware.jogi.ogo
Interface ProjectManager

All Superinterfaces:
java.util.Observer
All Known Implementing Classes:
XmlRpcProjectManager

public interface ProjectManager
extends java.util.Observer

Allows management of the projects of an OpenGroupware.org installation.

Author:
Andreas Rath (teddius) , Werner Schuster (murphee)

Method Summary
 void delete(Project project)
           
 java.util.Iterator fetch(FetchSpecification fetch_spec)
          Fetches a list of Projects.
 java.util.Iterator fetch(java.lang.String qualifier)
          Fetches a list of Projects.
 Project insert(java.lang.String name, java.util.Date startDate, java.util.Date endDate)
           
 
Methods inherited from interface java.util.Observer
update
 

Method Detail

insert

public Project insert(java.lang.String name,
                      java.util.Date startDate,
                      java.util.Date endDate)
               throws OgoException,
                      ConnectionException
Throws:
OgoException
ConnectionException

fetch

public java.util.Iterator fetch(java.lang.String qualifier)
                         throws OgoException,
                                ConnectionException
Fetches a list of Projects.

Parameters:
qualifier - the query expression to find the Projects.
Returns:
an Iterator of Project objects;
Throws:
OgoException
ConnectionException

fetch

public java.util.Iterator fetch(FetchSpecification fetch_spec)
                         throws OgoException,
                                ConnectionException
Fetches a list of Projects.

Parameters:
fetch_spec - A FetchSpecification describing the projects to fetch.
Returns:
an Iterator of Project objects;
Throws:
OgoException
ConnectionException
See Also:
FetchSpecification

delete

public void delete(Project project)
            throws OgoException,
                   ConnectionException
Throws:
OgoException
ConnectionException


Copyright © 2003 ogojogi Project, All Rights Reserved.