Class PartyFreeOnBoardFactory
java.lang.Object
com.echothree.model.data.shipment.server.factory.PartyFreeOnBoardFactory
- All Implemented Interfaces:
BaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
@ApplicationScoped
public class PartyFreeOnBoardFactory
extends Object
implements BaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyFreeOnBoardFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyPK partyPK, FreeOnBoardPK freeOnBoardPK, Long fromTime, Long thruTime) create(Party party, FreeOnBoard freeOnBoard, Long fromTime, Long thruTime) voidcreate(Collection<PartyFreeOnBoardValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyFreeOnBoardPK> 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, PartyFreeOnBoardPK 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, PartyFreeOnBoardValue value) static PartyFreeOnBoardFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PartyFreeOnBoard entity) voidvoidstore(PartyFreeOnBoard entity) voidstore(Collection<PartyFreeOnBoard> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PFOB_PARTYFREEONBOARDID
- See Also:
-
PFOB_PAR_PARTYID
- See Also:
-
PFOB_FOB_FREEONBOARDID
- See Also:
-
PFOB_FROMTIME
- See Also:
-
PFOB_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyFreeOnBoardFactory
protected PartyFreeOnBoardFactory()Creates a new instance of PartyFreeOnBoardFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyFreeOnBoardPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyFreeOnBoardPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyFreeOnBoardValue> getValuesFromPKs(Collection<PartyFreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyFreeOnBoardValue getValueFromPK(PartyFreeOnBoardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyFreeOnBoardValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyFreeOnBoardValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyFreeOnBoard> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyFreeOnBoardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyFreeOnBoard getEntityFromValue(EntityPermission entityPermission, PartyFreeOnBoardValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyFreeOnBoard getEntityFromPK(EntityPermission entityPermission, PartyFreeOnBoardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyFreeOnBoardPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyFreeOnBoardPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyFreeOnBoardPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyFreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyFreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyFreeOnBoard> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyFreeOnBoard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyFreeOnBoard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyFreeOnBoard getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyFreeOnBoard> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyFreeOnBoard getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyFreeOnBoard create(Party party, FreeOnBoard freeOnBoard, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyFreeOnBoard create(PartyPK partyPK, FreeOnBoardPK freeOnBoardPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyFreeOnBoardValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyFreeOnBoardPK,PartyFreeOnBoard> - Throws:
PersistenceDatabaseException
-