Class TaxClassificationFactory
java.lang.Object
com.echothree.model.data.tax.server.factory.TaxClassificationFactory
- All Implemented Interfaces:
BaseFactory<TaxClassificationPK,TaxClassification>
@ApplicationScoped
public class TaxClassificationFactory
extends Object
implements BaseFactory<TaxClassificationPK,TaxClassification>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TaxClassificationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(TaxClassificationDetailPK activeDetailPK, TaxClassificationDetailPK lastDetailPK) create(TaxClassificationDetail activeDetail, TaxClassificationDetail lastDetail) voidcreate(Collection<TaxClassificationValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<TaxClassificationPK> 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, TaxClassificationPK 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, TaxClassificationValue value) static TaxClassificationFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(TaxClassification entity) voidvoidstore(TaxClassification entity) voidstore(Collection<TaxClassification> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
TXCLSFN_TAXCLASSIFICATIONID
- See Also:
-
TXCLSFN_ACTIVEDETAILID
- See Also:
-
TXCLSFN_LASTDETAILID
- See Also:
-
-
Constructor Details
-
TaxClassificationFactory
protected TaxClassificationFactory()Creates a new instance of TaxClassificationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TaxClassificationPK,TaxClassification>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TaxClassificationPK,TaxClassification>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TaxClassificationPK,TaxClassification>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TaxClassificationPK,TaxClassification>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TaxClassificationPK,TaxClassification>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TaxClassificationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TaxClassificationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TaxClassificationValue> getValuesFromPKs(Collection<TaxClassificationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TaxClassificationValue getValueFromPK(TaxClassificationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TaxClassificationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TaxClassificationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TaxClassification> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TaxClassificationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TaxClassification getEntityFromValue(EntityPermission entityPermission, TaxClassificationValue value) -
getEntityFromCache
-
getEntityFromPK
public TaxClassification getEntityFromPK(EntityPermission entityPermission, TaxClassificationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TaxClassificationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TaxClassificationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TaxClassificationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassification> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassification> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassification> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassification getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassification getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassification getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TaxClassification> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TaxClassification getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public TaxClassification create(TaxClassificationDetail activeDetail, TaxClassificationDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TaxClassification create(TaxClassificationDetailPK activeDetailPK, TaxClassificationDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TaxClassificationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TaxClassificationPK,TaxClassification> - Throws:
PersistenceDatabaseException
-