Class PaymentProcessorFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.PaymentProcessorFactory
- All Implemented Interfaces:
BaseFactory<PaymentProcessorPK,PaymentProcessor>
@ApplicationScoped
public class PaymentProcessorFactory
extends Object
implements BaseFactory<PaymentProcessorPK,PaymentProcessor>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PaymentProcessorFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(PaymentProcessorDetailPK activeDetailPK, PaymentProcessorDetailPK lastDetailPK) create(PaymentProcessorDetail activeDetail, PaymentProcessorDetail lastDetail) voidcreate(Collection<PaymentProcessorValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PaymentProcessorPK> 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, PaymentProcessorPK 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, PaymentProcessorValue value) static PaymentProcessorFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PaymentProcessor entity) voidvoidstore(PaymentProcessor entity) voidstore(Collection<PaymentProcessor> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PPRC_PAYMENTPROCESSORID
- See Also:
-
PPRC_ACTIVEDETAILID
- See Also:
-
PPRC_LASTDETAILID
- See Also:
-
-
Constructor Details
-
PaymentProcessorFactory
protected PaymentProcessorFactory()Creates a new instance of PaymentProcessorFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PaymentProcessorPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PaymentProcessorPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PaymentProcessorValue> getValuesFromPKs(Collection<PaymentProcessorPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PaymentProcessorValue getValueFromPK(PaymentProcessorPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PaymentProcessorValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PaymentProcessorValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PaymentProcessor> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PaymentProcessorPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PaymentProcessor getEntityFromValue(EntityPermission entityPermission, PaymentProcessorValue value) -
getEntityFromCache
-
getEntityFromPK
public PaymentProcessor getEntityFromPK(EntityPermission entityPermission, PaymentProcessorPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PaymentProcessorPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PaymentProcessorPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PaymentProcessorPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentProcessor> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentProcessor> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentProcessor> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentProcessor getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentProcessor getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentProcessor getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PaymentProcessor> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PaymentProcessor getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public PaymentProcessor create(PaymentProcessorDetail activeDetail, PaymentProcessorDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PaymentProcessor create(PaymentProcessorDetailPK activeDetailPK, PaymentProcessorDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PaymentProcessorValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PaymentProcessorPK,PaymentProcessor> - Throws:
PersistenceDatabaseException
-