edu.indiana.dde.mylead.agent.query
Class MyLeadQuery

java.lang.Object
  extended byedu.indiana.dde.mylead.agent.query.MyLeadQuery

public class MyLeadQuery
extends Object


Method Summary
 void addCollection(String dn, String invName, String parentName, String parentType, String collectName, String collectDesc, MyLeadConnectionPool connpool)
           
 void addExperiment(String dn, String invName, String expName, String expDesc, MyLeadConnectionPool connpool)
           
 void addFile(String dn, String invName, String collectionName, String fileName, String fileDesc, String[] accessProtocol, String[] geoQuantity, String creator, String dataFormat, String desc, String publisher, Double EWSize, Double EWStart, String coverageName, Double NSSize, Double NSStart, Double UDSize, Double UDStart, String zPositive, String subject, Calendar coverageBegin, Calendar coverageEnd, String title, String[] reference, String dataSourceType, Boolean collection, MyLeadConnectionPool connpool)
           
 void addNotification(String dn, String invName, String expName, String status, String message, String source, Date timestamp, MyLeadConnectionPool connpool)
           
 void addProject(String dn, String projName, String projDesc, MyLeadConnectionPool connpool)
           
 void addWorkflowInstance(String dn, String invName, String expName, String wfName, String wfDesc, String wfInstance, MyLeadConnectionPool connpool)
           
 void addWorkflowTemplate(String dn, String invName, String wfName, String wfDesc, String wfTemplate, MyLeadConnectionPool connpool)
           
 edu.indiana.extreme.lead.types.MyLeadExperimentArrayDocument getExperiments(String dn, String invName, int days, MyLeadConnectionPool connpool)
           
 String getNotifications(String dn, String invName, String expName, int lastNum, MyLeadConnectionPool connpool)
           
 edu.indiana.extreme.lead.types.MyLeadInvestigationArrayDocument getProjects(String dn, MyLeadConnectionPool connpool)
           
 String[] getWorkflowInstances(String dn, String invName, String expName, MyLeadConnectionPool connpool)
           
 String[] getWorkflowTemplateNames(String dn, String invName, MyLeadConnectionPool connpool)
           
 String[] getWorkflowTemplates(String dn, String invName, String wftName, String wftDesc, MyLeadConnectionPool connpool)
           
 String getWorkSpace(String dn, MyLeadConnectionPool connpool)
           
static void main(String[] args)
           
static MyLeadQuery newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static MyLeadQuery newInstance()

addProject

public void addProject(String dn,
                       String projName,
                       String projDesc,
                       MyLeadConnectionPool connpool)
                throws Exception
Throws:
Exception

addExperiment

public void addExperiment(String dn,
                          String invName,
                          String expName,
                          String expDesc,
                          MyLeadConnectionPool connpool)
                   throws Exception
Throws:
Exception

addCollection

public void addCollection(String dn,
                          String invName,
                          String parentName,
                          String parentType,
                          String collectName,
                          String collectDesc,
                          MyLeadConnectionPool connpool)
                   throws Exception
Throws:
Exception

addWorkflowInstance

public void addWorkflowInstance(String dn,
                                String invName,
                                String expName,
                                String wfName,
                                String wfDesc,
                                String wfInstance,
                                MyLeadConnectionPool connpool)
                         throws Exception
Throws:
Exception

addNotification

public void addNotification(String dn,
                            String invName,
                            String expName,
                            String status,
                            String message,
                            String source,
                            Date timestamp,
                            MyLeadConnectionPool connpool)
                     throws Exception
Throws:
Exception

addWorkflowTemplate

public void addWorkflowTemplate(String dn,
                                String invName,
                                String wfName,
                                String wfDesc,
                                String wfTemplate,
                                MyLeadConnectionPool connpool)
                         throws Exception
Throws:
Exception

getProjects

public edu.indiana.extreme.lead.types.MyLeadInvestigationArrayDocument getProjects(String dn,
                                                                                   MyLeadConnectionPool connpool)
                                                                            throws Exception
Throws:
Exception

getExperiments

public edu.indiana.extreme.lead.types.MyLeadExperimentArrayDocument getExperiments(String dn,
                                                                                   String invName,
                                                                                   int days,
                                                                                   MyLeadConnectionPool connpool)
                                                                            throws Exception
Throws:
Exception

getNotifications

public String getNotifications(String dn,
                               String invName,
                               String expName,
                               int lastNum,
                               MyLeadConnectionPool connpool)
                        throws Exception
Throws:
Exception

getWorkflowTemplateNames

public String[] getWorkflowTemplateNames(String dn,
                                         String invName,
                                         MyLeadConnectionPool connpool)
                                  throws Exception
Throws:
Exception

getWorkflowTemplates

public String[] getWorkflowTemplates(String dn,
                                     String invName,
                                     String wftName,
                                     String wftDesc,
                                     MyLeadConnectionPool connpool)
                              throws Exception
Throws:
Exception

getWorkflowInstances

public String[] getWorkflowInstances(String dn,
                                     String invName,
                                     String expName,
                                     MyLeadConnectionPool connpool)
                              throws Exception
Throws:
Exception

getWorkSpace

public String getWorkSpace(String dn,
                           MyLeadConnectionPool connpool)
                    throws Exception
Throws:
Exception

addFile

public void addFile(String dn,
                    String invName,
                    String collectionName,
                    String fileName,
                    String fileDesc,
                    String[] accessProtocol,
                    String[] geoQuantity,
                    String creator,
                    String dataFormat,
                    String desc,
                    String publisher,
                    Double EWSize,
                    Double EWStart,
                    String coverageName,
                    Double NSSize,
                    Double NSStart,
                    Double UDSize,
                    Double UDStart,
                    String zPositive,
                    String subject,
                    Calendar coverageBegin,
                    Calendar coverageEnd,
                    String title,
                    String[] reference,
                    String dataSourceType,
                    Boolean collection,
                    MyLeadConnectionPool connpool)
             throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception