olr.statementpool
Class StatementFactory

java.lang.Object
  extended byolr.statementpool.StatementFactory

public class StatementFactory
extends java.lang.Object


Constructor Summary
StatementFactory()
           
 
Method Summary
static int addStatement(java.lang.String subject, Attribute attribute, int modelID)
           
static int addStatement(java.lang.String subject, Attribute attribute, int modelID, RdfUser user, boolean isPublic, java.sql.Connection connection)
           
static int loadStatements(DbStatementPool statementPool)
           
static boolean removeStatement(DBStatement statement, int modelID)
           
static boolean removeStatement(DBStatement statement, int modelID, boolean ofThisUser)
           
static boolean updateStatement(DBStatement statement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementFactory

public StatementFactory()
Method Detail

loadStatements

public static int loadStatements(DbStatementPool statementPool)

addStatement

public static int addStatement(java.lang.String subject,
                               Attribute attribute,
                               int modelID)
                        throws java.lang.Exception
Throws:
java.lang.Exception

addStatement

public static int addStatement(java.lang.String subject,
                               Attribute attribute,
                               int modelID,
                               RdfUser user,
                               boolean isPublic,
                               java.sql.Connection connection)
                        throws java.lang.Exception
Throws:
java.lang.Exception

updateStatement

public static boolean updateStatement(DBStatement statement)

removeStatement

public static boolean removeStatement(DBStatement statement,
                                      int modelID)

removeStatement

public static boolean removeStatement(DBStatement statement,
                                      int modelID,
                                      boolean ofThisUser)


Copyright © 2001-2004 University of Hannover. All Rights Reserved.