Class FreeOnBoardFactory
java.lang.Object
com.echothree.model.data.shipment.server.factory.FreeOnBoardFactory
- All Implemented Interfaces:
BaseFactory<FreeOnBoardPK,FreeOnBoard>
@ApplicationScoped
public class FreeOnBoardFactory
extends Object
implements BaseFactory<FreeOnBoardPK,FreeOnBoard>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of FreeOnBoardFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(FreeOnBoardDetailPK activeDetailPK, FreeOnBoardDetailPK lastDetailPK) create(FreeOnBoardDetail activeDetail, FreeOnBoardDetail lastDetail) voidcreate(Collection<FreeOnBoardValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromPK(EntityPermission entityPermission, FreeOnBoardPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, FreeOnBoardValue value) static FreeOnBoardFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidremove(FreeOnBoardPK pk) voidremove(FreeOnBoard entity) voidremove(Collection<FreeOnBoardPK> pks) voidstore(FreeOnBoard entity) voidstore(Collection<FreeOnBoard> entities) booleanvalidPK(FreeOnBoardPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
FOB_FREEONBOARDID
- See Also:
-
FOB_ACTIVEDETAILID
- See Also:
-
FOB_LASTDETAILID
- See Also:
-
-
Constructor Details
-
FreeOnBoardFactory
protected FreeOnBoardFactory()Creates a new instance of FreeOnBoardFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<FreeOnBoardPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<FreeOnBoardPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<FreeOnBoardValue> getValuesFromPKs(Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<FreeOnBoardValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FreeOnBoard> getEntitiesFromPKs(EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromCache
-
getEntityFromPK
public FreeOnBoard getEntityFromPK(EntityPermission entityPermission, FreeOnBoardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<FreeOnBoardPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<FreeOnBoardPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public FreeOnBoardPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FreeOnBoard> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FreeOnBoard getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public FreeOnBoard create(FreeOnBoardDetail activeDetail, FreeOnBoardDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FreeOnBoard create(FreeOnBoardDetailPK activeDetailPK, FreeOnBoardDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<FreeOnBoardValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-