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