xflow.server.controller
Class DirectedGraphP

java.lang.Object
  extended byxflow.server.controller.DirectedGraphP

public class DirectedGraphP
extends java.lang.Object

User: kosta Date: Jul 8, 2004 Time: 8:22:29 PM


Constructor Summary
DirectedGraphP()
           
 
Method Summary
 java.lang.Integer getGraphId(java.lang.String graphName, int version)
           
 int getLatestVersionNumber(java.lang.String name)
           
 boolean graphExistsInDB(java.lang.String graphName, int version)
           
 DirectedGraph loadByGraphById(int gid, DirectedGraph destination)
           
 DirectedGraph loadDirectedGraph(java.lang.String name, int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectedGraphP

public DirectedGraphP()
Method Detail

loadByGraphById

public DirectedGraph loadByGraphById(int gid,
                                     DirectedGraph destination)
                              throws XflowException
Throws:
XflowException

getGraphId

public java.lang.Integer getGraphId(java.lang.String graphName,
                                    int version)
                             throws java.sql.SQLException
Throws:
java.sql.SQLException

getLatestVersionNumber

public int getLatestVersionNumber(java.lang.String name)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

loadDirectedGraph

public DirectedGraph loadDirectedGraph(java.lang.String name,
                                       int version)
                                throws java.sql.SQLException,
                                       XflowException
Throws:
java.sql.SQLException
XflowException

graphExistsInDB

public boolean graphExistsInDB(java.lang.String graphName,
                               int version)
                        throws java.sql.SQLException
Throws:
java.sql.SQLException