Class BillingAccountRoleFactory
java.lang.Object
com.echothree.model.data.payment.server.factory.BillingAccountRoleFactory
- All Implemented Interfaces:
BaseFactory<BillingAccountRolePK,BillingAccountRole>
@ApplicationScoped
public class BillingAccountRoleFactory
extends Object
implements BaseFactory<BillingAccountRolePK,BillingAccountRole>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of BillingAccountRoleFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(BillingAccountPK billingAccountPK, PartyPK partyPK, PartyContactMechanismPK partyContactMechanismPK, BillingAccountRoleTypePK billingAccountRoleTypePK, Long fromTime, Long thruTime) create(BillingAccount billingAccount, Party party, PartyContactMechanism partyContactMechanism, BillingAccountRoleType billingAccountRoleType, Long fromTime, Long thruTime) voidcreate(Collection<BillingAccountRoleValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountRolePK> 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, BillingAccountRolePK 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, BillingAccountRoleValue value) static BillingAccountRoleFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(BillingAccountRole entity) voidvoidstore(BillingAccountRole entity) voidstore(Collection<BillingAccountRole> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
BLLACTR_BILLINGACCOUNTROLEID
- See Also:
-
BLLACTR_BLLACT_BILLINGACCOUNTID
- See Also:
-
BLLACTR_PAR_PARTYID
- See Also:
-
BLLACTR_PCM_PARTYCONTACTMECHANISMID
- See Also:
-
BLLACTR_BLLACTRTYP_BILLINGACCOUNTROLETYPEID
- See Also:
-
BLLACTR_FROMTIME
- See Also:
-
BLLACTR_THRUTIME
- See Also:
-
-
Constructor Details
-
BillingAccountRoleFactory
protected BillingAccountRoleFactory()Creates a new instance of BillingAccountRoleFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<BillingAccountRolePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<BillingAccountRolePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<BillingAccountRoleValue> getValuesFromPKs(Collection<BillingAccountRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public BillingAccountRoleValue getValueFromPK(BillingAccountRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<BillingAccountRoleValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public BillingAccountRoleValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BillingAccountRole> getEntitiesFromPKs(EntityPermission entityPermission, Collection<BillingAccountRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public BillingAccountRole getEntityFromValue(EntityPermission entityPermission, BillingAccountRoleValue value) -
getEntityFromCache
-
getEntityFromPK
public BillingAccountRole getEntityFromPK(EntityPermission entityPermission, BillingAccountRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<BillingAccountRolePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<BillingAccountRolePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public BillingAccountRolePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BillingAccountRole> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BillingAccountRole getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BillingAccountRole> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BillingAccountRole getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public BillingAccountRole create(BillingAccount billingAccount, Party party, PartyContactMechanism partyContactMechanism, BillingAccountRoleType billingAccountRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BillingAccountRole create(BillingAccountPK billingAccountPK, PartyPK partyPK, PartyContactMechanismPK partyContactMechanismPK, BillingAccountRoleTypePK billingAccountRoleTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<BillingAccountRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<BillingAccountRolePK,BillingAccountRole> - Throws:
PersistenceDatabaseException
-