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