org.opengroupware.jogi.ogo
Interface Job

All Known Implementing Classes:
XmlRpcJob

public interface Job

Holds an OpenGroupware.org Job (or task). Note: this class is still in flux and might have minor API changes in the future.

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

Method Summary
 boolean acceptJob()
           
 boolean acceptJob(java.lang.String comment)
           
 boolean annotateJob(java.lang.String comment)
           
 boolean archiveJob()
           
 boolean archiveJob(java.lang.String comment)
           
 java.lang.String getCategory()
           
 Account getCreator()
           
 java.util.Date getEndDate()
           
 Account getExecutor()
           
 java.util.List getHistory()
           
 java.lang.String getId()
           
 java.lang.String getKeywords()
           
 java.lang.String getName()
           
 int getPriority()
           
 java.util.Date getStartDate()
           
 java.lang.String getStatus()
           
 boolean isTeamJob()
           
 boolean markDone()
           
 boolean markDone(java.lang.String comment)
           
 boolean reactivateJob()
           
 boolean reactivateJob(java.lang.String comment)
           
 boolean rejectJob()
           
 boolean rejectJob(java.lang.String comment)
           
 void setCategory(java.lang.String cat)
           
 void setCreator(Account account)
           
 void setEndDate(java.util.Date end_date)
           
 void setExecutor(Account account)
           
 void setIsTeamJob(boolean bool)
           
 void setKeywords(java.lang.String key_words)
           
 void setName(java.lang.String name)
           
 void setPriority(int priority)
           
 void setStartDate(java.util.Date start_date)
           
 void setStatus(java.lang.String status)
           
 

Method Detail

markDone

public boolean markDone()
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

archiveJob

public boolean archiveJob()
                   throws OgoException,
                          ConnectionException
Throws:
OgoException
ConnectionException

acceptJob

public boolean acceptJob()
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

rejectJob

public boolean rejectJob()
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

reactivateJob

public boolean reactivateJob()
                      throws OgoException,
                             ConnectionException
Throws:
OgoException
ConnectionException

reactivateJob

public boolean reactivateJob(java.lang.String comment)
                      throws OgoException,
                             ConnectionException
Throws:
OgoException
ConnectionException

markDone

public boolean markDone(java.lang.String comment)
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

archiveJob

public boolean archiveJob(java.lang.String comment)
                   throws OgoException,
                          ConnectionException
Throws:
OgoException
ConnectionException

acceptJob

public boolean acceptJob(java.lang.String comment)
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

annotateJob

public boolean annotateJob(java.lang.String comment)
                    throws OgoException,
                           ConnectionException
Throws:
OgoException
ConnectionException

rejectJob

public boolean rejectJob(java.lang.String comment)
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

getHistory

public java.util.List getHistory()
                          throws OgoException,
                                 ConnectionException
Throws:
OgoException
ConnectionException

setCreator

public void setCreator(Account account)
                throws OgoException,
                       ConnectionException
Throws:
OgoException
ConnectionException

getCreator

public Account getCreator()
                   throws OgoException,
                          ConnectionException
Throws:
OgoException
ConnectionException

setStartDate

public void setStartDate(java.util.Date start_date)
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

getStartDate

public java.util.Date getStartDate()
                            throws OgoException,
                                   ConnectionException
Throws:
OgoException
ConnectionException

setEndDate

public void setEndDate(java.util.Date end_date)
                throws OgoException,
                       ConnectionException
Throws:
OgoException
ConnectionException

getEndDate

public java.util.Date getEndDate()
                          throws OgoException,
                                 ConnectionException
Throws:
OgoException
ConnectionException

setExecutor

public void setExecutor(Account account)
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

getExecutor

public Account getExecutor()
                    throws OgoException,
                           ConnectionException
Throws:
OgoException
ConnectionException

setName

public void setName(java.lang.String name)
             throws OgoException,
                    ConnectionException
Throws:
OgoException
ConnectionException

getName

public java.lang.String getName()
                         throws OgoException,
                                ConnectionException
Throws:
OgoException
ConnectionException

setPriority

public void setPriority(int priority)
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

getPriority

public int getPriority()
                throws OgoException,
                       ConnectionException
Throws:
OgoException
ConnectionException

setKeywords

public void setKeywords(java.lang.String key_words)
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

getKeywords

public java.lang.String getKeywords()
                             throws OgoException,
                                    ConnectionException
Throws:
OgoException
ConnectionException

setStatus

public void setStatus(java.lang.String status)
               throws OgoException,
                      ConnectionException
Throws:
OgoException
ConnectionException

getStatus

public java.lang.String getStatus()
                           throws OgoException,
                                  ConnectionException
Throws:
OgoException
ConnectionException

isTeamJob

public boolean isTeamJob()
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

setIsTeamJob

public void setIsTeamJob(boolean bool)
                  throws OgoException,
                         ConnectionException
Throws:
OgoException
ConnectionException

setCategory

public void setCategory(java.lang.String cat)
                 throws OgoException,
                        ConnectionException
Throws:
OgoException
ConnectionException

getCategory

public java.lang.String getCategory()
                             throws OgoException,
                                    ConnectionException
Throws:
OgoException
ConnectionException

getId

public java.lang.String getId()
                       throws OgoException,
                              ConnectionException
Throws:
OgoException
ConnectionException


Copyright © 2003 ogojogi Project, All Rights Reserved.