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) create(Session session, BillingAccountPK billingAccountPK, String billingAccountName, CurrencyPK currencyPK, String reference, String description, Long fromTime, Long thruTime) create(Session session, BillingAccount billingAccount, String billingAccountName, Currency currency, String reference, String description, Long fromTime, Long thruTime) voidcreate(Session session, Collection<BillingAccountDetailValue> _values) voidcreate(Collection<BillingAccountDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountDetailPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<BillingAccountDetailPK> 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, BillingAccountDetailPK pk) getEntityFromPK(EntityPermission entityPermission, BillingAccountDetailPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, BillingAccountDetailPK 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, BillingAccountDetailValue value) getEntityFromValue(Session session, EntityPermission entityPermission, BillingAccountDetailValue value) static BillingAccountDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, BillingAccountDetailPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<BillingAccountDetailPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, BillingAccountDetailPK pk) voidremove(Session session, BillingAccountDetail entity) voidremove(Session session, Collection<BillingAccountDetailPK> pks) voidvoidstore(Session session, BillingAccountDetail entity) voidstore(Session session, Collection<BillingAccountDetail> entities) voidstore(Collection<BillingAccountDetail> entities) booleanvalidPK(Session session, BillingAccountDetailPK pk)
-
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(Session session, Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public BillingAccountDetailValue getValueFromPK(Session session, BillingAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<BillingAccountDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public BillingAccountDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BillingAccountDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BillingAccountDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public BillingAccountDetail getEntityFromValue(EntityPermission entityPermission, BillingAccountDetailValue value) -
getEntityFromValue
public BillingAccountDetail getEntityFromValue(Session session, EntityPermission entityPermission, BillingAccountDetailValue value) -
getEntityFromPK
public BillingAccountDetail getEntityFromPK(EntityPermission entityPermission, BillingAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public BillingAccountDetail getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BillingAccountDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BillingAccountDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BillingAccountDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BillingAccountDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public BillingAccountDetail create(Session session, BillingAccount billingAccount, String billingAccountName, Currency currency, String reference, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
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(Session session, BillingAccountPK billingAccountPK, String billingAccountName, CurrencyPK currencyPK, 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(Session session, Collection<BillingAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<BillingAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<BillingAccountDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, BillingAccountDetail entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<BillingAccountDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, BillingAccountDetailPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<BillingAccountDetailPK,BillingAccountDetail> - Throws:
PersistenceDatabaseException
-