Class InventoryTransactionRoleFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryTransactionRoleFactory
- All Implemented Interfaces:
BaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
@ApplicationScoped
public class InventoryTransactionRoleFactory
extends Object
implements BaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryTransactionRoleFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryTransactionPK inventoryTransactionPK, InventoryTransactionRoleTypePK inventoryTransactionRoleTypePK, PartyPK partyPK, Long fromTime, Long thruTime) create(InventoryTransaction inventoryTransaction, InventoryTransactionRoleType inventoryTransactionRoleType, Party party, Long fromTime, Long thruTime) voidcreate(Collection<InventoryTransactionRoleValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionRolePK> 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, InventoryTransactionRolePK 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, InventoryTransactionRoleValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryTransactionRole entity) voidvoidstore(InventoryTransactionRole entity) voidstore(Collection<InventoryTransactionRole> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVTRXR_INVENTORYTRANSACTIONROLEID
- See Also:
-
INVTRXR_INVTRX_INVENTORYTRANSACTIONID
- See Also:
-
INVTRXR_INVTRXRTYP_INVENTORYTRANSACTIONROLETYPEID
- See Also:
-
INVTRXR_PAR_PARTYID
- See Also:
-
INVTRXR_FROMTIME
- See Also:
-
INVTRXR_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryTransactionRoleFactory
protected InventoryTransactionRoleFactory()Creates a new instance of InventoryTransactionRoleFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryTransactionRolePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryTransactionRolePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryTransactionRolePK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryTransactionRoleValue> getValuesFromPKs(Collection<InventoryTransactionRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryTransactionRoleValue getValueFromPK(InventoryTransactionRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryTransactionRoleValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryTransactionRoleValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryTransactionRole> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryTransactionRole getEntityFromValue(EntityPermission entityPermission, InventoryTransactionRoleValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryTransactionRole getEntityFromPK(EntityPermission entityPermission, InventoryTransactionRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryTransactionRolePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryTransactionRolePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryTransactionRolePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionRole> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionRole getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryTransactionRole> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryTransactionRole getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryTransactionRole create(InventoryTransaction inventoryTransaction, InventoryTransactionRoleType inventoryTransactionRoleType, Party party, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryTransactionRole create(InventoryTransactionPK inventoryTransactionPK, InventoryTransactionRoleTypePK inventoryTransactionRoleTypePK, PartyPK partyPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryTransactionRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryTransactionRole> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryTransactionRolePK,InventoryTransactionRole> - Throws:
PersistenceDatabaseException
-