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