Class SubscriptionDetailFactory
java.lang.Object
com.echothree.model.data.subscription.server.factory.SubscriptionDetailFactory
- All Implemented Interfaces:
BaseFactory<SubscriptionDetailPK,SubscriptionDetail>
@ApplicationScoped
public class SubscriptionDetailFactory
extends Object
implements BaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of SubscriptionDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(SubscriptionPK subscriptionPK, String subscriptionName, SubscriptionTypePK subscriptionTypePK, PartyPK partyPK, Long startTime, Long endTime, Long fromTime, Long thruTime) create(Subscription subscription, String subscriptionName, SubscriptionType subscriptionType, Party party, Long startTime, Long endTime, Long fromTime, Long thruTime) create(Session session, SubscriptionPK subscriptionPK, String subscriptionName, SubscriptionTypePK subscriptionTypePK, PartyPK partyPK, Long startTime, Long endTime, Long fromTime, Long thruTime) create(Session session, Subscription subscription, String subscriptionName, SubscriptionType subscriptionType, Party party, Long startTime, Long endTime, Long fromTime, Long thruTime) voidcreate(Session session, Collection<SubscriptionDetailValue> _values) voidcreate(Collection<SubscriptionDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<SubscriptionDetailPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<SubscriptionDetailPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, SubscriptionDetailPK pk) getEntityFromPK(EntityPermission entityPermission, SubscriptionDetailPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, SubscriptionDetailPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, SubscriptionDetailValue value) getEntityFromValue(Session session, EntityPermission entityPermission, SubscriptionDetailValue value) static SubscriptionDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, SubscriptionDetailPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<SubscriptionDetailPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, SubscriptionDetailPK pk) voidremove(Session session, SubscriptionDetail entity) voidremove(Session session, Collection<SubscriptionDetailPK> pks) voidvoidstore(Session session, SubscriptionDetail entity) voidstore(Session session, Collection<SubscriptionDetail> entities) voidstore(Collection<SubscriptionDetail> entities) booleanvalidPK(Session session, SubscriptionDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
SUBSCRDT_SUBSCRIPTIONDETAILID
- See Also:
-
SUBSCRDT_SUBSCR_SUBSCRIPTIONID
- See Also:
-
SUBSCRDT_SUBSCRIPTIONNAME
- See Also:
-
SUBSCRDT_SUBSCRTYP_SUBSCRIPTIONTYPEID
- See Also:
-
SUBSCRDT_PAR_PARTYID
- See Also:
-
SUBSCRDT_STARTTIME
- See Also:
-
SUBSCRDT_ENDTIME
- See Also:
-
SUBSCRDT_FROMTIME
- See Also:
-
SUBSCRDT_THRUTIME
- See Also:
-
-
Constructor Details
-
SubscriptionDetailFactory
protected SubscriptionDetailFactory()Creates a new instance of SubscriptionDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<SubscriptionDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<SubscriptionDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<SubscriptionDetailValue> getValuesFromPKs(Session session, Collection<SubscriptionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public SubscriptionDetailValue getValueFromPK(Session session, SubscriptionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<SubscriptionDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public SubscriptionDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SubscriptionDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<SubscriptionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SubscriptionDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<SubscriptionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public SubscriptionDetail getEntityFromValue(EntityPermission entityPermission, SubscriptionDetailValue value) -
getEntityFromValue
public SubscriptionDetail getEntityFromValue(Session session, EntityPermission entityPermission, SubscriptionDetailValue value) -
getEntityFromPK
public SubscriptionDetail getEntityFromPK(EntityPermission entityPermission, SubscriptionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public SubscriptionDetail getEntityFromPK(Session session, EntityPermission entityPermission, SubscriptionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<SubscriptionDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<SubscriptionDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public SubscriptionDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SubscriptionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SubscriptionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SubscriptionDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SubscriptionDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SubscriptionDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SubscriptionDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public SubscriptionDetail create(Session session, Subscription subscription, String subscriptionName, SubscriptionType subscriptionType, Party party, Long startTime, Long endTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SubscriptionDetail create(Subscription subscription, String subscriptionName, SubscriptionType subscriptionType, Party party, Long startTime, Long endTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SubscriptionDetail create(Session session, SubscriptionPK subscriptionPK, String subscriptionName, SubscriptionTypePK subscriptionTypePK, PartyPK partyPK, Long startTime, Long endTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SubscriptionDetail create(SubscriptionPK subscriptionPK, String subscriptionName, SubscriptionTypePK subscriptionTypePK, PartyPK partyPK, Long startTime, Long endTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<SubscriptionDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<SubscriptionDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<SubscriptionDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<SubscriptionDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, SubscriptionDetailPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<SubscriptionDetailPK,SubscriptionDetail> - Throws:
PersistenceDatabaseException
-