Class CancellationKindDetailFactory
java.lang.Object
com.echothree.model.data.cancellationpolicy.server.factory.CancellationKindDetailFactory
- All Implemented Interfaces:
BaseFactory<CancellationKindDetailPK,CancellationKindDetail>
@ApplicationScoped
public class CancellationKindDetailFactory
extends Object
implements BaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of CancellationKindDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(CancellationKindPK cancellationKindPK, String cancellationKindName, SequenceTypePK cancellationSequenceTypePK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(CancellationKind cancellationKind, String cancellationKindName, SequenceType cancellationSequenceType, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<CancellationKindDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<CancellationKindDetailPK> 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, CancellationKindDetailPK 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, CancellationKindDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(CancellationKindDetail entity) voidvoidstore(CancellationKindDetail entity) voidstore(Collection<CancellationKindDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CNCLKDT_CANCELLATIONKINDDETAILID
- See Also:
-
CNCLKDT_CNCLK_CANCELLATIONKINDID
- See Also:
-
CNCLKDT_CANCELLATIONKINDNAME
- See Also:
-
CNCLKDT_CANCELLATIONSEQUENCETYPEID
- See Also:
-
CNCLKDT_ISDEFAULT
- See Also:
-
CNCLKDT_SORTORDER
- See Also:
-
CNCLKDT_FROMTIME
- See Also:
-
CNCLKDT_THRUTIME
- See Also:
-
-
Constructor Details
-
CancellationKindDetailFactory
protected CancellationKindDetailFactory()Creates a new instance of CancellationKindDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CancellationKindDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CancellationKindDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public CancellationKindDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CancellationKindDetailValue> getValuesFromPKs(Collection<CancellationKindDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CancellationKindDetailValue getValueFromPK(CancellationKindDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CancellationKindDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CancellationKindDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CancellationKindDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CancellationKindDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CancellationKindDetail getEntityFromValue(EntityPermission entityPermission, CancellationKindDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public CancellationKindDetail getEntityFromPK(EntityPermission entityPermission, CancellationKindDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CancellationKindDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CancellationKindDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CancellationKindDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKindDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKindDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKindDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKindDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKindDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKindDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CancellationKindDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CancellationKindDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CancellationKindDetail create(CancellationKind cancellationKind, String cancellationKindName, SequenceType cancellationSequenceType, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CancellationKindDetail create(CancellationKindPK cancellationKindPK, String cancellationKindName, SequenceTypePK cancellationSequenceTypePK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CancellationKindDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<CancellationKindDetailPK,CancellationKindDetail> - Throws:
PersistenceDatabaseException
-