olr.statementpool
Class StatementFactory
java.lang.Object
  
olr.statementpool.StatementFactory
- public class StatementFactory
- extends java.lang.Object
  
 
| 
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 | 
 
StatementFactory
public StatementFactory()
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.