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