Class EmploymentDetailFactory
java.lang.Object
com.echothree.model.data.employee.server.factory.EmploymentDetailFactory
- All Implemented Interfaces:
BaseFactory<EmploymentDetailPK,EmploymentDetail>
@ApplicationScoped
public class EmploymentDetailFactory
extends Object
implements BaseFactory<EmploymentDetailPK,EmploymentDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of EmploymentDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(EmploymentPK employmentPK, String employmentName, PartyPK partyPK, PartyPK companyPartyPK, Long startTime, Long endTime, TerminationTypePK terminationTypePK, TerminationReasonPK terminationReasonPK, Long fromTime, Long thruTime) create(Employment employment, String employmentName, Party party, Party companyParty, Long startTime, Long endTime, TerminationType terminationType, TerminationReason terminationReason, Long fromTime, Long thruTime) create(Session session, EmploymentPK employmentPK, String employmentName, PartyPK partyPK, PartyPK companyPartyPK, Long startTime, Long endTime, TerminationTypePK terminationTypePK, TerminationReasonPK terminationReasonPK, Long fromTime, Long thruTime) create(Session session, Employment employment, String employmentName, Party party, Party companyParty, Long startTime, Long endTime, TerminationType terminationType, TerminationReason terminationReason, Long fromTime, Long thruTime) voidcreate(Session session, Collection<EmploymentDetailValue> _values) voidcreate(Collection<EmploymentDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<EmploymentDetailPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<EmploymentDetailPK> 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, EmploymentDetailPK pk) getEntityFromPK(EntityPermission entityPermission, EmploymentDetailPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, EmploymentDetailPK 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, EmploymentDetailValue value) getEntityFromValue(Session session, EntityPermission entityPermission, EmploymentDetailValue value) static EmploymentDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, EmploymentDetailPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<EmploymentDetailPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, EmploymentDetailPK pk) voidremove(Session session, EmploymentDetail entity) voidremove(Session session, Collection<EmploymentDetailPK> pks) voidvoidstore(Session session, EmploymentDetail entity) voidstore(Session session, Collection<EmploymentDetail> entities) voidstore(Collection<EmploymentDetail> entities) booleanvalidPK(Session session, EmploymentDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
EMPMNTDT_EMPLOYMENTDETAILID
- See Also:
-
EMPMNTDT_EMPMNT_EMPLOYMENTID
- See Also:
-
EMPMNTDT_EMPLOYMENTNAME
- See Also:
-
EMPMNTDT_PAR_PARTYID
- See Also:
-
EMPMNTDT_COMPANYPARTYID
- See Also:
-
EMPMNTDT_STARTTIME
- See Also:
-
EMPMNTDT_ENDTIME
- See Also:
-
EMPMNTDT_TRMNTYP_TERMINATIONTYPEID
- See Also:
-
EMPMNTDT_TRMNRSN_TERMINATIONREASONID
- See Also:
-
EMPMNTDT_FROMTIME
- See Also:
-
EMPMNTDT_THRUTIME
- See Also:
-
-
Constructor Details
-
EmploymentDetailFactory
protected EmploymentDetailFactory()Creates a new instance of EmploymentDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<EmploymentDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<EmploymentDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<EmploymentDetailValue> getValuesFromPKs(Session session, Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public EmploymentDetailValue getValueFromPK(Session session, EmploymentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<EmploymentDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public EmploymentDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<EmploymentDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<EmploymentDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public EmploymentDetail getEntityFromValue(EntityPermission entityPermission, EmploymentDetailValue value) -
getEntityFromValue
public EmploymentDetail getEntityFromValue(Session session, EntityPermission entityPermission, EmploymentDetailValue value) -
getEntityFromPK
public EmploymentDetail getEntityFromPK(EntityPermission entityPermission, EmploymentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public EmploymentDetail getEntityFromPK(Session session, EntityPermission entityPermission, EmploymentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<EmploymentDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<EmploymentDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public EmploymentDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<EmploymentDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<EmploymentDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<EmploymentDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public EmploymentDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public EmploymentDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public EmploymentDetail create(Session session, Employment employment, String employmentName, Party party, Party companyParty, Long startTime, Long endTime, TerminationType terminationType, TerminationReason terminationReason, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public EmploymentDetail create(Employment employment, String employmentName, Party party, Party companyParty, Long startTime, Long endTime, TerminationType terminationType, TerminationReason terminationReason, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public EmploymentDetail create(Session session, EmploymentPK employmentPK, String employmentName, PartyPK partyPK, PartyPK companyPartyPK, Long startTime, Long endTime, TerminationTypePK terminationTypePK, TerminationReasonPK terminationReasonPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public EmploymentDetail create(EmploymentPK employmentPK, String employmentName, PartyPK partyPK, PartyPK companyPartyPK, Long startTime, Long endTime, TerminationTypePK terminationTypePK, TerminationReasonPK terminationReasonPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<EmploymentDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<EmploymentDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<EmploymentDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-