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) create(Session session, FreeOnBoardDetailPK activeDetailPK, FreeOnBoardDetailPK lastDetailPK) create(Session session, FreeOnBoardDetail activeDetail, FreeOnBoardDetail lastDetail) voidcreate(Session session, Collection<FreeOnBoardValue> _values) voidcreate(Collection<FreeOnBoardValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, FreeOnBoardPK pk) getEntityFromPK(EntityPermission entityPermission, FreeOnBoardPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, FreeOnBoardPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, FreeOnBoardValue value) getEntityFromValue(Session session, EntityPermission entityPermission, FreeOnBoardValue value) static FreeOnBoardFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, FreeOnBoardPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<FreeOnBoardPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, FreeOnBoardPK pk) voidremove(Session session, FreeOnBoard entity) voidremove(Session session, Collection<FreeOnBoardPK> pks) voidremove(Collection<FreeOnBoardPK> pks) voidstore(Session session, FreeOnBoard entity) voidstore(Session session, Collection<FreeOnBoard> entities) voidstore(Collection<FreeOnBoard> entities) booleanvalidPK(Session session, 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(Session session, Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public FreeOnBoardValue getValueFromPK(Session session, FreeOnBoardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<FreeOnBoardValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public FreeOnBoardValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FreeOnBoard> getEntitiesFromPKs(EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FreeOnBoard> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public FreeOnBoard getEntityFromValue(Session session, EntityPermission entityPermission, FreeOnBoardValue value) -
getEntityFromPK
public FreeOnBoard getEntityFromPK(EntityPermission entityPermission, FreeOnBoardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public FreeOnBoard getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FreeOnBoard> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FreeOnBoard getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FreeOnBoard> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FreeOnBoard> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FreeOnBoard getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FreeOnBoard getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public FreeOnBoard create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public FreeOnBoard create(Session session, FreeOnBoardDetail activeDetail, FreeOnBoardDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FreeOnBoard create(FreeOnBoardDetail activeDetail, FreeOnBoardDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FreeOnBoard create(Session session, FreeOnBoardDetailPK activeDetailPK, FreeOnBoardDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FreeOnBoard create(FreeOnBoardDetailPK activeDetailPK, FreeOnBoardDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<FreeOnBoardValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<FreeOnBoardValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<FreeOnBoardPK,FreeOnBoard> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<FreeOnBoard> entities) throws PersistenceDatabaseException - 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
public void remove(Session session, Collection<FreeOnBoardPK> pks) throws PersistenceDatabaseException - 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
-