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) voidcreate(Collection<EmploymentDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<EmploymentDetailPK> 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, EmploymentDetailPK 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, EmploymentDetailValue value) static EmploymentDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(EmploymentDetail entity) voidvoidstore(EmploymentDetail entity) voidstore(Collection<EmploymentDetail> entities) boolean
-
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(Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public EmploymentDetailValue getValueFromPK(EmploymentDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<EmploymentDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public EmploymentDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<EmploymentDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<EmploymentDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public EmploymentDetail getEntityFromValue(EntityPermission entityPermission, EmploymentDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public EmploymentDetail getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public EmploymentDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<EmploymentDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public EmploymentDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
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(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(Collection<EmploymentDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- 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
- Specified by:
removein interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<EmploymentDetailPK,EmploymentDetail> - Throws:
PersistenceDatabaseException
-