public class FavoritesDescriptorController extends JDBCObjectController<FavoritesDescriptor>
FavoritesDescriptor
class. Provides methods for
retrieving and persisting favorite cart descriptor 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 |
---|
FavoritesDescriptorController()
The constructor for the controller.
|
Modifier and Type | Method and Description |
---|---|
boolean |
deleteAll()
Deletes all records in the table associated with the controller.
|
FavoritesDescriptor |
get(java.lang.String id)
Returns the favorites descriptor record for the given id.
|
java.util.ArrayList<FavoritesDescriptor> |
getUser(java.lang.String userId)
Returns a collection of favorites descriptor records for the given user id.
|
add, add, add, arrayToMap, arrayToMap, countAll, delete, delete, 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 FavoritesDescriptorController()
public boolean deleteAll()
deleteAll
in JDBCObjectController
deleteAll
in class JDBCObjectController<FavoritesDescriptor>
true
if the deletes are successful,
otherwise false
.public FavoritesDescriptor get(java.lang.String id)
id
- (String) The favorites descriptor id for the desired record.public java.util.ArrayList<FavoritesDescriptor> getUser(java.lang.String userId)
userId
- (String) The user id for the desired records.