jim.pums.process
Class IdeasProcess

java.lang.Object
  extended by jim.util.BusinessBase
      extended by jim.pums.process.IdeasProcess

public class IdeasProcess
extends jim.util.BusinessBase


Field Summary
 
Fields inherited from class jim.util.BusinessBase
sql
 
Constructor Summary
IdeasProcess(java.sql.Connection conn)
           
 
Method Summary
 void enterContact(ProjContact contact)
           
 void enterIdea(ProjIdea idea)
           
 java.util.List getAllIdeas(java.lang.String approval)
           
 java.util.Map getContactById(int num)
           
 java.util.Map getIdeaById(int num)
           
 java.util.List getIdeasByContact(int contact)
           
 java.util.List getMyContacts()
           
 void insertContact(ProjContact contact)
           
 void insertIdea(ProjIdea idea)
           
 void updateContact(ProjContact contact)
           
 void updateIdea(ProjIdea idea)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdeasProcess

public IdeasProcess(java.sql.Connection conn)
Method Detail

getIdeaById

public java.util.Map getIdeaById(int num)
                          throws java.sql.SQLException
Throws:
java.sql.SQLException

getContactById

public java.util.Map getContactById(int num)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getAllIdeas

public java.util.List getAllIdeas(java.lang.String approval)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

getIdeasByContact

public java.util.List getIdeasByContact(int contact)
                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

enterContact

public void enterContact(ProjContact contact)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

insertContact

public void insertContact(ProjContact contact)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

updateContact

public void updateContact(ProjContact contact)
                   throws java.sql.SQLException
Throws:
java.sql.SQLException

enterIdea

public void enterIdea(ProjIdea idea)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

insertIdea

public void insertIdea(ProjIdea idea)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

updateIdea

public void updateIdea(ProjIdea idea)
                throws java.sql.SQLException
Throws:
java.sql.SQLException

getMyContacts

public java.util.List getMyContacts()
                             throws java.sql.SQLException
Throws:
java.sql.SQLException