Class CurrencyDescriptionFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.CurrencyDescriptionFactory
- All Implemented Interfaces:
BaseFactory<CurrencyDescriptionPK,CurrencyDescription>
@ApplicationScoped
public class CurrencyDescriptionFactory
extends Object
implements BaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of CurrencyDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(CurrencyPK currencyPK, LanguagePK languagePK, String description) voidcreate(Collection<CurrencyDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<CurrencyDescriptionPK> 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, CurrencyDescriptionPK 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, CurrencyDescriptionValue value) static CurrencyDescriptionFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(CurrencyDescription entity) voidvoidstore(CurrencyDescription entity) voidstore(Collection<CurrencyDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CURD_CURRENCYDESCRIPTIONID
- See Also:
-
CURD_CUR_CURRENCYID
- See Also:
-
CURD_LANG_LANGUAGEID
- See Also:
-
CURD_DESCRIPTION
- See Also:
-
-
Constructor Details
-
CurrencyDescriptionFactory
protected CurrencyDescriptionFactory()Creates a new instance of CurrencyDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CurrencyDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CurrencyDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CurrencyDescriptionValue> getValuesFromPKs(Collection<CurrencyDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CurrencyDescriptionValue getValueFromPK(CurrencyDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CurrencyDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CurrencyDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CurrencyDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CurrencyDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CurrencyDescription getEntityFromValue(EntityPermission entityPermission, CurrencyDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public CurrencyDescription getEntityFromPK(EntityPermission entityPermission, CurrencyDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CurrencyDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CurrencyDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CurrencyDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CurrencyDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CurrencyDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CurrencyDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CurrencyDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CurrencyDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CurrencyDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CurrencyDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CurrencyDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CurrencyDescription create(Currency currency, Language language, String description) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CurrencyDescription create(CurrencyPK currencyPK, LanguagePK languagePK, String description) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CurrencyDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<CurrencyDescriptionPK,CurrencyDescription> - Throws:
PersistenceDatabaseException
-