public class PermitProductController extends JDBCObjectController<PermitProduct>
PermitProduct class. Provides methods for
retrieving and persisting product permit x-ref 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 |
|---|
PermitProductController()
The constructor for the controller.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
deletePermit(java.lang.String code)
Deletes all product permit records from the database for the given permit
code.
|
boolean |
deleteProduct(java.lang.String product,
java.lang.String uom)
Deletes all product permit records from the database for the given product
and unit of measure codes.
|
PermitProduct |
get(java.lang.String permit,
java.lang.String product,
java.lang.String uom)
Returns the permit record for the given permit, product and unit of measure
codes.
|
java.util.ArrayList<PermitProduct> |
getPermit(java.lang.String code)
Returns the product permit records for the given permit code.
|
java.util.ArrayList<PermitProduct> |
getProduct(java.lang.String product,
java.lang.String uom)
Returns the product permit records for the given product and unit of
measure codes.
|
add, 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, update, valuesToObjectcloneMapAttributes, 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 PermitProductController()
public boolean deletePermit(java.lang.String code)
code - (String) The permit code for the records to be deleted.true if the records deleted successfully,
otherwise false.public boolean deleteProduct(java.lang.String product,
java.lang.String uom)
product - (String) The product code for the records to be deleted.uom - (String) The unit of measure code for the records to be
deleted.true if the records deleted successfully,
otherwise false.public PermitProduct get(java.lang.String permit, java.lang.String product, java.lang.String uom)
permit - (String) The permit code for the desired record.product - (String) The product code for the desired record.uom - (String) The unit of measure code for the desired record.public java.util.ArrayList<PermitProduct> getPermit(java.lang.String code)
code - (String) The permit code for the desired records.public java.util.ArrayList<PermitProduct> getProduct(java.lang.String product, java.lang.String uom)
product - (String) The product code for the desired records.uom - (String) The unit of measure code the desired records.