Class SubscriptionKindDescriptionFactory
java.lang.Object
com.echothree.model.data.subscription.server.factory.SubscriptionKindDescriptionFactory
- All Implemented Interfaces:
BaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
@ApplicationScoped
public class SubscriptionKindDescriptionFactory
extends Object
implements BaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of SubscriptionKindDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(SubscriptionKindPK subscriptionKindPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(SubscriptionKind subscriptionKind, Language language, String description, Long fromTime, Long thruTime) voidcreate(Collection<SubscriptionKindDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<SubscriptionKindDescriptionPK> 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, SubscriptionKindDescriptionPK 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, SubscriptionKindDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(SubscriptionKindDescription entity) voidvoidstore(SubscriptionKindDescription entity) voidstore(Collection<SubscriptionKindDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
SUBSCRKD_SUBSCRIPTIONKINDDESCRIPTIONID
- See Also:
-
SUBSCRKD_SUBSCRK_SUBSCRIPTIONKINDID
- See Also:
-
SUBSCRKD_LANG_LANGUAGEID
- See Also:
-
SUBSCRKD_DESCRIPTION
- See Also:
-
SUBSCRKD_FROMTIME
- See Also:
-
SUBSCRKD_THRUTIME
- See Also:
-
-
Constructor Details
-
SubscriptionKindDescriptionFactory
protected SubscriptionKindDescriptionFactory()Creates a new instance of SubscriptionKindDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<SubscriptionKindDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<SubscriptionKindDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public SubscriptionKindDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<SubscriptionKindDescriptionValue> getValuesFromPKs(Collection<SubscriptionKindDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public SubscriptionKindDescriptionValue getValueFromPK(SubscriptionKindDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<SubscriptionKindDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public SubscriptionKindDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SubscriptionKindDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<SubscriptionKindDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public SubscriptionKindDescription getEntityFromValue(EntityPermission entityPermission, SubscriptionKindDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public SubscriptionKindDescription getEntityFromPK(EntityPermission entityPermission, SubscriptionKindDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<SubscriptionKindDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<SubscriptionKindDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public SubscriptionKindDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionKindDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionKindDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionKindDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionKindDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionKindDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionKindDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SubscriptionKindDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SubscriptionKindDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public SubscriptionKindDescription create(SubscriptionKind subscriptionKind, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SubscriptionKindDescription create(SubscriptionKindPK subscriptionKindPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<SubscriptionKindDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<SubscriptionKindDescription> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<SubscriptionKindDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<SubscriptionKindDescriptionPK,SubscriptionKindDescription> - Throws:
PersistenceDatabaseException
-