Class AssociateFactory
java.lang.Object
com.echothree.model.data.associate.server.factory.AssociateFactory
- All Implemented Interfaces:
BaseFactory<AssociatePK,
Associate>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(AssociateDetailPK activeDetailPK, AssociateDetailPK lastDetailPK) create
(AssociateDetail activeDetail, AssociateDetail lastDetail) create
(Session session, AssociateDetailPK activeDetailPK, AssociateDetailPK lastDetailPK) create
(Session session, AssociateDetail activeDetail, AssociateDetail lastDetail) void
create
(Session session, Collection<AssociateValue> _values) void
create
(Collection<AssociateValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<AssociatePK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<AssociatePK> 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, AssociatePK pk) getEntityFromPK
(EntityPermission entityPermission, AssociatePK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, AssociatePK 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, AssociateValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, AssociateValue value) static AssociateFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, AssociatePK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<AssociatePK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, AssociatePK pk) void
void
remove
(Session session, Collection<AssociatePK> pks) void
remove
(Collection<AssociatePK> pks) void
void
store
(Session session, Collection<Associate> entities) void
store
(Collection<Associate> entities) boolean
validPK
(Session session, AssociatePK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
ASC_ASSOCIATEID
- See Also:
-
ASC_ACTIVEDETAILID
- See Also:
-
ASC_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<AssociatePK,
Associate>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<AssociatePK,
Associate>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<AssociatePK,
Associate>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<AssociatePK,
Associate>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<AssociatePK,
Associate>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
- Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<AssociatePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<AssociateValue> getValuesFromPKs(Session session, Collection<AssociatePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public AssociateValue getValueFromPK(Session session, AssociatePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<AssociateValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public AssociateValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Associate> getEntitiesFromPKs(EntityPermission entityPermission, Collection<AssociatePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Associate> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<AssociatePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public Associate getEntityFromValue(Session session, EntityPermission entityPermission, AssociateValue value) -
getEntityFromPK
public Associate getEntityFromPK(EntityPermission entityPermission, AssociatePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public Associate getEntityFromPK(Session session, EntityPermission entityPermission, AssociatePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<AssociatePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<AssociatePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public AssociatePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Associate> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Associate getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Associate> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Associate> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Associate getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Associate getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public Associate create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public Associate create(Session session, AssociateDetail activeDetail, AssociateDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Associate create(AssociateDetail activeDetail, AssociateDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Associate create(Session session, AssociateDetailPK activeDetailPK, AssociateDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Associate create(AssociateDetailPK activeDetailPK, AssociateDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<AssociateValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<AssociateValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<Associate> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<AssociatePK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<AssociatePK,
Associate> - Throws:
PersistenceDatabaseException
-