Class PaymentCreditCardFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.PaymentCreditCardFactory
- All Implemented Interfaces:
BaseFactory<PaymentCreditCardPK,PaymentCreditCard>
@ApplicationScoped
public class PaymentCreditCardFactory
extends Object
implements BaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PaymentCreditCardFactory -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Collection<PaymentCreditCardValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PaymentCreditCardPK> 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, PaymentCreditCardPK 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, PaymentCreditCardValue value) static PaymentCreditCardFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PaymentCreditCard entity) voidvoidstore(PaymentCreditCard entity) voidstore(Collection<PaymentCreditCard> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PYMTCC_PAYMENTCREDITCARDID
- See Also:
-
PYMTCC_PYMT_PAYMENTID
- See Also:
-
PYMTCC_FROMTIME
- See Also:
-
PYMTCC_THRUTIME
- See Also:
-
-
Constructor Details
-
PaymentCreditCardFactory
protected PaymentCreditCardFactory()Creates a new instance of PaymentCreditCardFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PaymentCreditCardPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PaymentCreditCardPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PaymentCreditCardValue> getValuesFromPKs(Collection<PaymentCreditCardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PaymentCreditCardValue getValueFromPK(PaymentCreditCardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PaymentCreditCardValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PaymentCreditCardValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PaymentCreditCard> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PaymentCreditCardPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PaymentCreditCard getEntityFromValue(EntityPermission entityPermission, PaymentCreditCardValue value) -
getEntityFromCache
-
getEntityFromPK
public PaymentCreditCard getEntityFromPK(EntityPermission entityPermission, PaymentCreditCardPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PaymentCreditCardPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PaymentCreditCardPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PaymentCreditCardPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentCreditCard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentCreditCard> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentCreditCard> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentCreditCard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentCreditCard getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentCreditCard getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PaymentCreditCard> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PaymentCreditCard getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PaymentCreditCard create(Payment payment, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PaymentCreditCard create(PaymentPK paymentPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PaymentCreditCardValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PaymentCreditCardPK,PaymentCreditCard> - Throws:
PersistenceDatabaseException
-