Class BillingAccountDetailFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.BillingAccountDetailFactory
- All Implemented Interfaces:
BaseFactory<BillingAccountDetailPK,BillingAccountDetail>
@ApplicationScoped
public class BillingAccountDetailFactory
extends Object
implements BaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of BillingAccountDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(BillingAccountPK billingAccountPK, String billingAccountName, CurrencyPK currencyPK, String reference, String description, Long fromTime, Long thruTime) create(BillingAccount billingAccount, String billingAccountName, Currency currency, String reference, String description, Long fromTime, Long thruTime) voidcreate(Collection<BillingAccountDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountDetailPK> 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, BillingAccountDetailPK 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, BillingAccountDetailValue value) static BillingAccountDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(BillingAccountDetail entity) voidvoidstore(BillingAccountDetail entity) voidstore(Collection<BillingAccountDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
BLLACTDT_BILLINGACCOUNTDETAILID
- See Also:
-
BLLACTDT_BLLACT_BILLINGACCOUNTID
- See Also:
-
BLLACTDT_BILLINGACCOUNTNAME
- See Also:
-
BLLACTDT_CUR_CURRENCYID
- See Also:
-
BLLACTDT_REFERENCE
- See Also:
-
BLLACTDT_DESCRIPTION
- See Also:
-
BLLACTDT_FROMTIME
- See Also:
-
BLLACTDT_THRUTIME
- See Also:
-
-
Constructor Details
-
BillingAccountDetailFactory
protected BillingAccountDetailFactory()Creates a new instance of BillingAccountDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<BillingAccountDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<BillingAccountDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<BillingAccountDetailValue> getValuesFromPKs(Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public BillingAccountDetailValue getValueFromPK(BillingAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<BillingAccountDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public BillingAccountDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BillingAccountDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public BillingAccountDetail getEntityFromValue(EntityPermission entityPermission, BillingAccountDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public BillingAccountDetail getEntityFromPK(EntityPermission entityPermission, BillingAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<BillingAccountDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<BillingAccountDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public BillingAccountDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BillingAccountDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BillingAccountDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public BillingAccountDetail create(BillingAccount billingAccount, String billingAccountName, Currency currency, String reference, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BillingAccountDetail create(BillingAccountPK billingAccountPK, String billingAccountName, CurrencyPK currencyPK, String reference, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<BillingAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-