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) create(Session session, PartyPK partyPK, ResponsibilityTypePK responsibilityTypePK, Long fromTime, Long thruTime) create(Session session, Party party, ResponsibilityType responsibilityType, Long fromTime, Long thruTime) voidcreate(Session session, Collection<PartyResponsibilityValue> _values) voidcreate(Collection<PartyResponsibilityValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyResponsibilityPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PartyResponsibilityPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, PartyResponsibilityPK pk) getEntityFromPK(EntityPermission entityPermission, PartyResponsibilityPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, PartyResponsibilityPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, PartyResponsibilityValue value) getEntityFromValue(Session session, EntityPermission entityPermission, PartyResponsibilityValue value) static PartyResponsibilityFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, PartyResponsibilityPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<PartyResponsibilityPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, PartyResponsibilityPK pk) voidremove(Session session, PartyResponsibility entity) voidremove(Session session, Collection<PartyResponsibilityPK> pks) voidvoidstore(Session session, PartyResponsibility entity) voidstore(Session session, Collection<PartyResponsibility> entities) voidstore(Collection<PartyResponsibility> entities) booleanvalidPK(Session session, PartyResponsibilityPK pk)
-
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(Session session, Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyResponsibilityValue getValueFromPK(Session session, PartyResponsibilityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyResponsibilityValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyResponsibilityValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyResponsibility> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyResponsibility> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyResponsibility getEntityFromValue(EntityPermission entityPermission, PartyResponsibilityValue value) -
getEntityFromValue
public PartyResponsibility getEntityFromValue(Session session, EntityPermission entityPermission, PartyResponsibilityValue value) -
getEntityFromPK
public PartyResponsibility getEntityFromPK(EntityPermission entityPermission, PartyResponsibilityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public PartyResponsibility getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyResponsibility> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyResponsibility> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyResponsibility getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyResponsibility> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyResponsibility> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyResponsibility getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyResponsibility getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyResponsibility create(Session session, Party party, ResponsibilityType responsibilityType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyResponsibility create(Party party, ResponsibilityType responsibilityType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyResponsibility create(Session session, PartyPK partyPK, ResponsibilityTypePK responsibilityTypePK, 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(Session session, Collection<PartyResponsibilityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyResponsibilityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PartyResponsibility> entities) throws PersistenceDatabaseException - 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
public void remove(Session session, Collection<PartyResponsibilityPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, PartyResponsibilityPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<PartyResponsibilityPK,PartyResponsibility> - Throws:
PersistenceDatabaseException
-