public class ShipperCountryController extends JDBCObjectController<ShipperCountry>
ShipperCountry
class. Provides methods for
retrieving and persisting shipper country 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, ivTableName
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
ShipperCountryController()
The constructor for the controller.
|
Modifier and Type | Method and Description |
---|---|
boolean |
deleteShipper(java.lang.String code)
Deletes the shipper country records for the given shipper code.
|
java.util.ArrayList<ShipperCountry> |
getShipper(java.lang.String code)
Returns the shipper country records for the given shipper code.
|
boolean |
hasCountry(java.lang.String code)
Answers if a given country code exists in the shipper country table.
|
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, valuesToObject
cloneMapAttributes, 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, toStringArray
private static final long serialVersionUID
public ShipperCountryController()
public boolean deleteShipper(java.lang.String code)
code
- (String) The shipper code for the records to be deleted.true
if the records deleted successfully,
otherwise false
.public java.util.ArrayList<ShipperCountry> getShipper(java.lang.String code)
code
- (String) The shipper code for the desired records.public boolean hasCountry(java.lang.String code)
code
- (String) The country code to check.true
if the country code exists, otherwise
false
.