Class PartyResponsibilityFactory
java.lang.Object
com.echothree.model.data.employee.server.factory.PartyResponsibilityFactory
- All Implemented Interfaces:
BaseFactory<PartyResponsibilityPK,PartyResponsibility>
@ApplicationScoped
public class PartyResponsibilityFactory
extends Object
implements BaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyResponsibilityFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyPK partyPK, ResponsibilityTypePK responsibilityTypePK, Long fromTime, Long thruTime) create(Party party, ResponsibilityType responsibilityType, Long fromTime, Long thruTime) voidcreate(Collection<PartyResponsibilityValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyResponsibilityPK> 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, PartyResponsibilityPK 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, PartyResponsibilityValue value) static PartyResponsibilityFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PartyResponsibility entity) voidvoidstore(PartyResponsibility entity) voidstore(Collection<PartyResponsibility> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PARRSP_PARTYRESPONSIBILITYID
- See Also:
-
PARRSP_PAR_PARTYID
- See Also:
-
PARRSP_RSPTYP_RESPONSIBILITYTYPEID
- See Also:
-
PARRSP_FROMTIME
- See Also:
-
PARRSP_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyResponsibilityFactory
protected PartyResponsibilityFactory()Creates a new instance of PartyResponsibilityFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyResponsibilityPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyResponsibilityPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyResponsibilityValue> getValuesFromPKs(Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyResponsibilityValue getValueFromPK(PartyResponsibilityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyResponsibilityValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyResponsibilityValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyResponsibility> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyResponsibility getEntityFromValue(EntityPermission entityPermission, PartyResponsibilityValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyResponsibility getEntityFromPK(EntityPermission entityPermission, PartyResponsibilityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyResponsibilityPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyResponsibilityPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyResponsibilityPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyResponsibility> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyResponsibility> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyResponsibility> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyResponsibility> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyResponsibility getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyResponsibility create(Party party, ResponsibilityType responsibilityType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyResponsibility create(PartyPK partyPK, ResponsibilityTypePK responsibilityTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyResponsibilityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-