Class AllocationPriorityDescriptionFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.AllocationPriorityDescriptionFactory
- All Implemented Interfaces:
BaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
@ApplicationScoped
public class AllocationPriorityDescriptionFactory
extends Object
implements BaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of AllocationPriorityDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(AllocationPriorityPK allocationPriorityPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(AllocationPriority allocationPriority, Language language, String description, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<AllocationPriorityDescriptionPK> 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, AllocationPriorityDescriptionPK 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, AllocationPriorityDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(AllocationPriorityDescription entity) voidvoidstore(AllocationPriorityDescription entity) voidstore(Collection<AllocationPriorityDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
ALLOCPRD_ALLOCATIONPRIORITYDESCRIPTIONID
- See Also:
-
ALLOCPRD_ALLOCPR_ALLOCATIONPRIORITYID
- See Also:
-
ALLOCPRD_LANG_LANGUAGEID
- See Also:
-
ALLOCPRD_DESCRIPTION
- See Also:
-
ALLOCPRD_FROMTIME
- See Also:
-
ALLOCPRD_THRUTIME
- See Also:
-
-
Constructor Details
-
AllocationPriorityDescriptionFactory
protected AllocationPriorityDescriptionFactory()Creates a new instance of AllocationPriorityDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<AllocationPriorityDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<AllocationPriorityDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public AllocationPriorityDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<AllocationPriorityDescriptionValue> getValuesFromPKs(Collection<AllocationPriorityDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public AllocationPriorityDescriptionValue getValueFromPK(AllocationPriorityDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<AllocationPriorityDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public AllocationPriorityDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<AllocationPriorityDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<AllocationPriorityDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public AllocationPriorityDescription getEntityFromValue(EntityPermission entityPermission, AllocationPriorityDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public AllocationPriorityDescription getEntityFromPK(EntityPermission entityPermission, AllocationPriorityDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<AllocationPriorityDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<AllocationPriorityDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public AllocationPriorityDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AllocationPriorityDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AllocationPriorityDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<AllocationPriorityDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public AllocationPriorityDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public AllocationPriorityDescription create(AllocationPriority allocationPriority, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public AllocationPriorityDescription create(AllocationPriorityPK allocationPriorityPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<AllocationPriorityDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<AllocationPriorityDescription> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<AllocationPriorityDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<AllocationPriorityDescriptionPK,AllocationPriorityDescription> - Throws:
PersistenceDatabaseException
-