Class OfferUseDetailFactory
java.lang.Object
com.echothree.model.data.offer.server.factory.OfferUseDetailFactory
- All Implemented Interfaces:
BaseFactory<OfferUseDetailPK,
OfferUseDetail>
public class OfferUseDetailFactory
extends Object
implements BaseFactory<OfferUseDetailPK,OfferUseDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(OfferUsePK offerUsePK, OfferPK offerPK, UsePK usePK, SequencePK salesOrderSequencePK, Long fromTime, Long thruTime) create
(OfferUse offerUse, Offer offer, Use use, Sequence salesOrderSequence, Long fromTime, Long thruTime) create
(Session session, OfferUsePK offerUsePK, OfferPK offerPK, UsePK usePK, SequencePK salesOrderSequencePK, Long fromTime, Long thruTime) create
(Session session, OfferUse offerUse, Offer offer, Use use, Sequence salesOrderSequence, Long fromTime, Long thruTime) void
create
(Session session, Collection<OfferUseDetailValue> _values) void
create
(Collection<OfferUseDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<OfferUseDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<OfferUseDetailPK> 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, OfferUseDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, OfferUseDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, OfferUseDetailPK 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, OfferUseDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, OfferUseDetailValue value) static OfferUseDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, OfferUseDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<OfferUseDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, OfferUseDetailPK pk) void
remove
(Session session, OfferUseDetail entity) void
remove
(Session session, Collection<OfferUseDetailPK> pks) void
remove
(Collection<OfferUseDetailPK> pks) void
store
(Session session, OfferUseDetail entity) void
store
(Session session, Collection<OfferUseDetail> entities) void
store
(Collection<OfferUseDetail> entities) boolean
validPK
(Session session, OfferUseDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
OFRUSEDT_OFFERUSEDETAILID
- See Also:
-
OFRUSEDT_OFRUSE_OFFERUSEID
- See Also:
-
OFRUSEDT_OFR_OFFERID
- See Also:
-
OFRUSEDT_USE_USEID
- See Also:
-
OFRUSEDT_SALESORDERSEQUENCEID
- See Also:
-
OFRUSEDT_FROMTIME
- See Also:
-
OFRUSEDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<OfferUseDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<OfferUseDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<OfferUseDetailValue> getValuesFromPKs(Session session, Collection<OfferUseDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public OfferUseDetailValue getValueFromPK(Session session, OfferUseDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<OfferUseDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public OfferUseDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<OfferUseDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<OfferUseDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<OfferUseDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<OfferUseDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public OfferUseDetail getEntityFromValue(EntityPermission entityPermission, OfferUseDetailValue value) -
getEntityFromValue
public OfferUseDetail getEntityFromValue(Session session, EntityPermission entityPermission, OfferUseDetailValue value) -
getEntityFromPK
public OfferUseDetail getEntityFromPK(EntityPermission entityPermission, OfferUseDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public OfferUseDetail getEntityFromPK(Session session, EntityPermission entityPermission, OfferUseDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<OfferUseDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<OfferUseDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public OfferUseDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<OfferUseDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public OfferUseDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<OfferUseDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<OfferUseDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public OfferUseDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public OfferUseDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public OfferUseDetail create(Session session, OfferUse offerUse, Offer offer, Use use, Sequence salesOrderSequence, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public OfferUseDetail create(OfferUse offerUse, Offer offer, Use use, Sequence salesOrderSequence, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public OfferUseDetail create(Session session, OfferUsePK offerUsePK, OfferPK offerPK, UsePK usePK, SequencePK salesOrderSequencePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public OfferUseDetail create(OfferUsePK offerUsePK, OfferPK offerPK, UsePK usePK, SequencePK salesOrderSequencePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<OfferUseDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<OfferUseDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<OfferUseDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<OfferUseDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<OfferUseDetailPK,
OfferUseDetail> - Throws:
PersistenceDatabaseException
-