Class BillingAccountFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.BillingAccountFactory
- All Implemented Interfaces:
BaseFactory<BillingAccountPK,
BillingAccount>
public class BillingAccountFactory
extends Object
implements BaseFactory<BillingAccountPK,BillingAccount>
-
Field Summary
Fields -
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) void
create
(Session session, Collection<BillingAccountValue> _values) void
create
(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 BillingAccountFactory
getPKFromQuery
(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) void
remove
(Session session, BillingAccountPK pk) void
remove
(Session session, BillingAccount entity) void
remove
(Session session, Collection<BillingAccountPK> pks) void
remove
(Collection<BillingAccountPK> pks) void
store
(Session session, BillingAccount entity) void
store
(Session session, Collection<BillingAccount> entities) void
store
(Collection<BillingAccount> entities) boolean
validPK
(Session session, BillingAccountPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
BLLACT_BILLINGACCOUNTID
- See Also:
-
BLLACT_ACTIVEDETAILID
- See Also:
-
BLLACT_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<BillingAccountPK,
BillingAccount>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<BillingAccountPK,
BillingAccount>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<BillingAccountPK,
BillingAccount>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<BillingAccountPK,
BillingAccount>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in 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:
store
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<BillingAccount> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<BillingAccountPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<BillingAccountPK,
BillingAccount> - Throws:
PersistenceDatabaseException
-