Class PaymentMethodFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.PaymentMethodFactory
- All Implemented Interfaces:
BaseFactory<PaymentMethodPK,
PaymentMethod>
public class PaymentMethodFactory
extends Object
implements BaseFactory<PaymentMethodPK,PaymentMethod>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(PaymentMethodDetailPK activeDetailPK, PaymentMethodDetailPK lastDetailPK) create
(PaymentMethodDetail activeDetail, PaymentMethodDetail lastDetail) create
(Session session, PaymentMethodDetailPK activeDetailPK, PaymentMethodDetailPK lastDetailPK) create
(Session session, PaymentMethodDetail activeDetail, PaymentMethodDetail lastDetail) void
create
(Session session, Collection<PaymentMethodValue> _values) void
create
(Collection<PaymentMethodValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<PaymentMethodPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<PaymentMethodPK> 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, PaymentMethodPK pk) getEntityFromPK
(EntityPermission entityPermission, PaymentMethodPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, PaymentMethodPK 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, PaymentMethodValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, PaymentMethodValue value) static PaymentMethodFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, PaymentMethodPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<PaymentMethodPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, PaymentMethodPK pk) void
remove
(Session session, PaymentMethod entity) void
remove
(Session session, Collection<PaymentMethodPK> pks) void
remove
(Collection<PaymentMethodPK> pks) void
store
(Session session, PaymentMethod entity) void
store
(Session session, Collection<PaymentMethod> entities) void
store
(Collection<PaymentMethod> entities) boolean
validPK
(Session session, PaymentMethodPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
PM_PAYMENTMETHODID
- See Also:
-
PM_ACTIVEDETAILID
- See Also:
-
PM_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PaymentMethodPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PaymentMethodPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PaymentMethodValue> getValuesFromPKs(Session session, Collection<PaymentMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PaymentMethodValue getValueFromPK(Session session, PaymentMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PaymentMethodValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PaymentMethodValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PaymentMethod> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PaymentMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PaymentMethod> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PaymentMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PaymentMethod getEntityFromValue(EntityPermission entityPermission, PaymentMethodValue value) -
getEntityFromValue
public PaymentMethod getEntityFromValue(Session session, EntityPermission entityPermission, PaymentMethodValue value) -
getEntityFromPK
public PaymentMethod getEntityFromPK(EntityPermission entityPermission, PaymentMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public PaymentMethod getEntityFromPK(Session session, EntityPermission entityPermission, PaymentMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PaymentMethodPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PaymentMethodPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PaymentMethodPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PaymentMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PaymentMethod getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PaymentMethod> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PaymentMethod> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PaymentMethod getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PaymentMethod getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PaymentMethod create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public PaymentMethod create(Session session, PaymentMethodDetail activeDetail, PaymentMethodDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PaymentMethod create(PaymentMethodDetail activeDetail, PaymentMethodDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PaymentMethod create(Session session, PaymentMethodDetailPK activeDetailPK, PaymentMethodDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PaymentMethod create(PaymentMethodDetailPK activeDetailPK, PaymentMethodDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<PaymentMethodValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PaymentMethodValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PaymentMethod> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<PaymentMethodPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<PaymentMethodPK,
PaymentMethod> - Throws:
PersistenceDatabaseException
-