olr.statement
Class StatementFactory

java.lang.Object
  extended byolr.statement.StatementFactory

public class StatementFactory
extends java.lang.Object


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

Field Detail

user

public RdfUser user

dbConn

public java.sql.Connection dbConn
Method Detail

loadStatements

public static int loadStatements(DBStatementPool statementPool,
                                 int modelID,
                                 RdfUser user)

addStatement

public static int addStatement(Statement statement,
                               int modelID,
                               RdfUser user,
                               java.sql.Connection connection)
                        throws java.lang.Exception
Throws:
java.lang.Exception

addStatement

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

addStatement

public static int addStatement(java.lang.String subject,
                               Attribute attribute,
                               int modelID,
                               RdfUser user)
                        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,
                                      RdfUser user)

removeStatement

public static boolean removeStatement(DBStatement statement,
                                      int modelID,
                                      RdfUser user)

removeStatement

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

removeStatement

public static boolean removeStatement(int statementID,
                                      int modelID,
                                      RdfUser user)

removeStatement

public static boolean removeStatement(int statementID,
                                      int modelID,
                                      RdfUser user,
                                      boolean ofThisUser)


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