Class AllocationPriorityDetailFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.AllocationPriorityDetailFactory
- All Implemented Interfaces:
BaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
@ApplicationScoped
public class AllocationPriorityDetailFactory
extends Object
implements BaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of AllocationPriorityDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(AllocationPriorityPK allocationPriorityPK, String allocationPriorityName, Integer priority, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(AllocationPriority allocationPriority, String allocationPriorityName, Integer priority, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<AllocationPriorityDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<AllocationPriorityDetailPK> 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, AllocationPriorityDetailPK 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, AllocationPriorityDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(AllocationPriorityDetail entity) voidvoidstore(AllocationPriorityDetail entity) voidstore(Collection<AllocationPriorityDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
ALLOCPRDT_ALLOCATIONPRIORITYDETAILID
- See Also:
-
ALLOCPRDT_ALLOCPR_ALLOCATIONPRIORITYID
- See Also:
-
ALLOCPRDT_ALLOCATIONPRIORITYNAME
- See Also:
-
ALLOCPRDT_PRIORITY
- See Also:
-
ALLOCPRDT_ISDEFAULT
- See Also:
-
ALLOCPRDT_SORTORDER
- See Also:
-
ALLOCPRDT_FROMTIME
- See Also:
-
ALLOCPRDT_THRUTIME
- See Also:
-
-
Constructor Details
-
AllocationPriorityDetailFactory
protected AllocationPriorityDetailFactory()Creates a new instance of AllocationPriorityDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<AllocationPriorityDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<AllocationPriorityDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public AllocationPriorityDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<AllocationPriorityDetailValue> getValuesFromPKs(Collection<AllocationPriorityDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public AllocationPriorityDetailValue getValueFromPK(AllocationPriorityDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<AllocationPriorityDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public AllocationPriorityDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<AllocationPriorityDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<AllocationPriorityDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public AllocationPriorityDetail getEntityFromValue(EntityPermission entityPermission, AllocationPriorityDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public AllocationPriorityDetail getEntityFromPK(EntityPermission entityPermission, AllocationPriorityDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<AllocationPriorityDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<AllocationPriorityDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public AllocationPriorityDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<AllocationPriorityDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public AllocationPriorityDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public AllocationPriorityDetail create(AllocationPriority allocationPriority, String allocationPriorityName, Integer priority, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public AllocationPriorityDetail create(AllocationPriorityPK allocationPriorityPK, String allocationPriorityName, Integer priority, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<AllocationPriorityDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<AllocationPriorityDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<AllocationPriorityDetailPK,AllocationPriorityDetail> - Throws:
PersistenceDatabaseException
-