public abstract class BOFactory
extends java.lang.Object
| Constructor and Description |
|---|
BOFactory(SQLCoreDataStoreI _store,
java.lang.String _tablename,
long _idBOTBOSubclass) |
| Modifier and Type | Method and Description |
|---|---|
long |
assureUpToDateBO(BOTemplate _bt)
Checks if a BO matching the given BOTemplate already exists in the
DB and either updates it with possibly new values or inserts it as a new
object.
|
java.lang.String[] |
extendStringArray(java.lang.String[] _btrsHave,
java.lang.String[] _btrsToAdd)
Internal helper method.
|
long |
getIdBOTBOSubclass() |
java.lang.String |
getTablename() |
java.sql.PreparedStatement |
prepareInsertStatement()
Creates a PreparedStatement for the insert clause for creating new objects
in the DB.
|
java.sql.PreparedStatement |
prepareUpdateStatement()
Creates a PreparedStatement for the update clause for updating existing
objects in the DB.
|
void |
setIdBOTBOSubclass(long $5) |
void |
setTablename(java.lang.String $4) |
public BOFactory(SQLCoreDataStoreI _store, java.lang.String _tablename, long _idBOTBOSubclass) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareInsertStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareUpdateStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic long assureUpToDateBO(BOTemplate _bt) throws CoredataGenerationException, java.sql.SQLException
CoredataGenerationExceptionjava.sql.SQLExceptionpublic java.lang.String[] extendStringArray(java.lang.String[] _btrsHave,
java.lang.String[] _btrsToAdd)
public java.lang.String getTablename()
public void setTablename(java.lang.String $4)
public long getIdBOTBOSubclass()
public void setIdBOTBOSubclass(long $5)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.