public class ImportBatchController extends JDBCObjectController<ImportBatch>
ImportBatch class. Provides methods for
retrieving and persisting import batch table records in the database.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
ivDBObjCls, ivFieldCount, ivFieldKeyAlt, ivFieldKeyPri, ivFieldResPfx, ivSyncLast, ivSyncType, ivTableNameivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
ImportBatchController()
The constructor for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
int |
add(ImportBatch obj,
boolean logdup)
Adds a new record to the table associated with the controller.
|
ImportBatch |
get(int num)
Returns the import batch record for the given batch number.
|
java.util.ArrayList<ImportBatch> |
getOpenImport()
Returns a collection of open import batch records.
|
java.util.ArrayList<ImportBatch> |
getOpenPending()
Returns a collection of open pending product batch records.
|
ImportBatch |
valuesToObject(java.util.HashMap<java.lang.String,java.lang.Object> attrs)
Returns a database object from the given set of attributes.
|
add, add, arrayToMap, arrayToMap, countAll, delete, delete, deleteAll, dispose, equals, getAll, getConnection, getConnectionInfo, getController, getFieldNames, getFieldNamesForKey, getFieldNamesForUpdate, getFieldNulls, getFieldNullsForKey, getFieldNullsForUpdate, getFieldsForOrderBy, getFieldsForWhere, getFieldSize, getFieldTypes, getFieldTypesForKey, getFieldTypesForUpdate, getStatementForDelete, getStatementForGet, getStatementForGetAll, getStatementForInsert, getStatementForUpdate, getStatementKey, getStatementString, getTableName, hasFieldNamesForKey, hasFieldNamesForUpdate, isDuplicate, resultSetToArray, resultSetToMap, resultSetToMap, resultSetToObject, setConnectionInfo, setPSDeleteValues, setPSExistsValues, setPSInsertValues, setPSUpdateValues, setPSValue, update, updatecloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
public ImportBatchController()
public int add(ImportBatch obj, boolean logdup)
add in JDBCObjectController.add in class JDBCObjectController<ImportBatch>obj - (JDBCObject) The object for the record to be added.logdup - (boolean) true if duplicate errors are to be
logged as an exception, otherwise false if not. When
duplicates are logged, the return value of 1 is never returned.public ImportBatch valuesToObject(java.util.HashMap<java.lang.String,java.lang.Object> attrs)
valuesToObject in JDBCObjectController.valuesToObject in class JDBCObjectController<ImportBatch>attrs - (HashMap) The attributes to assign to the new object.public ImportBatch get(int num)
num - (int) The batch number for the desired record.public java.util.ArrayList<ImportBatch> getOpenImport()
public java.util.ArrayList<ImportBatch> getOpenPending()