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