Class TaxClassificationTranslationFactory
java.lang.Object
com.echothree.model.data.tax.server.factory.TaxClassificationTranslationFactory
- All Implemented Interfaces:
BaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
@ApplicationScoped
public class TaxClassificationTranslationFactory
extends Object
implements BaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TaxClassificationTranslationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TaxClassificationPK taxClassificationPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, Long fromTime, Long thruTime) create(TaxClassification taxClassification, Language language, String description, MimeType overviewMimeType, String overview, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<TaxClassificationTranslationPK> 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, TaxClassificationTranslationPK 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, TaxClassificationTranslationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(TaxClassificationTranslation entity) voidvoidstore(TaxClassificationTranslation entity) voidstore(Collection<TaxClassificationTranslation> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
TXCLSFNTR_TAXCLASSIFICATIONTRANSLATIONID
- See Also:
-
TXCLSFNTR_TXCLSFN_TAXCLASSIFICATIONID
- See Also:
-
TXCLSFNTR_LANG_LANGUAGEID
- See Also:
-
TXCLSFNTR_DESCRIPTION
- See Also:
-
TXCLSFNTR_OVERVIEWMIMETYPEID
- See Also:
-
TXCLSFNTR_OVERVIEW
- See Also:
-
TXCLSFNTR_FROMTIME
- See Also:
-
TXCLSFNTR_THRUTIME
- See Also:
-
-
Constructor Details
-
TaxClassificationTranslationFactory
protected TaxClassificationTranslationFactory()Creates a new instance of TaxClassificationTranslationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TaxClassificationTranslationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TaxClassificationTranslationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public TaxClassificationTranslationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TaxClassificationTranslationValue> getValuesFromPKs(Collection<TaxClassificationTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TaxClassificationTranslationValue getValueFromPK(TaxClassificationTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TaxClassificationTranslationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TaxClassificationTranslationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TaxClassificationTranslation> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TaxClassificationTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TaxClassificationTranslation getEntityFromValue(EntityPermission entityPermission, TaxClassificationTranslationValue value) -
getEntityFromCache
-
getEntityFromPK
public TaxClassificationTranslation getEntityFromPK(EntityPermission entityPermission, TaxClassificationTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TaxClassificationTranslationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TaxClassificationTranslationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TaxClassificationTranslationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassificationTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassificationTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TaxClassificationTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassificationTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassificationTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TaxClassificationTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TaxClassificationTranslation> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TaxClassificationTranslation getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TaxClassificationTranslation create(TaxClassification taxClassification, Language language, String description, MimeType overviewMimeType, String overview, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TaxClassificationTranslation create(TaxClassificationPK taxClassificationPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TaxClassificationTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<TaxClassificationTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<TaxClassificationTranslationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TaxClassificationTranslationPK,TaxClassificationTranslation> - Throws:
PersistenceDatabaseException
-