Class PostalAddressLineFactory
java.lang.Object
com.echothree.model.data.contact.server.factory.PostalAddressLineFactory
- All Implemented Interfaces:
BaseFactory<PostalAddressLinePK,PostalAddressLine>
@ApplicationScoped
public class PostalAddressLineFactory
extends Object
implements BaseFactory<PostalAddressLinePK,PostalAddressLine>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PostalAddressLineFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(PostalAddressLineDetailPK activeDetailPK, PostalAddressLineDetailPK lastDetailPK) create(PostalAddressLineDetail activeDetail, PostalAddressLineDetail lastDetail) voidcreate(Collection<PostalAddressLineValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PostalAddressLinePK> 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, PostalAddressLinePK 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, PostalAddressLineValue value) static PostalAddressLineFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PostalAddressLine entity) voidvoidstore(PostalAddressLine entity) voidstore(Collection<PostalAddressLine> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PSTAL_POSTALADDRESSLINEID
- See Also:
-
PSTAL_ACTIVEDETAILID
- See Also:
-
PSTAL_LASTDETAILID
- See Also:
-
-
Constructor Details
-
PostalAddressLineFactory
protected PostalAddressLineFactory()Creates a new instance of PostalAddressLineFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PostalAddressLinePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PostalAddressLinePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PostalAddressLineValue> getValuesFromPKs(Collection<PostalAddressLinePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PostalAddressLineValue getValueFromPK(PostalAddressLinePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PostalAddressLineValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PostalAddressLineValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PostalAddressLine> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PostalAddressLinePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PostalAddressLine getEntityFromValue(EntityPermission entityPermission, PostalAddressLineValue value) -
getEntityFromCache
-
getEntityFromPK
public PostalAddressLine getEntityFromPK(EntityPermission entityPermission, PostalAddressLinePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PostalAddressLinePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PostalAddressLinePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PostalAddressLinePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PostalAddressLine> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PostalAddressLine> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PostalAddressLine> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PostalAddressLine getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PostalAddressLine getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PostalAddressLine getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PostalAddressLine> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PostalAddressLine getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public PostalAddressLine create(PostalAddressLineDetail activeDetail, PostalAddressLineDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PostalAddressLine create(PostalAddressLineDetailPK activeDetailPK, PostalAddressLineDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PostalAddressLineValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PostalAddressLinePK,PostalAddressLine> - Throws:
PersistenceDatabaseException
-