Class ContentWebAddressDescriptionFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentWebAddressDescriptionFactory
- All Implemented Interfaces:
BaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
@ApplicationScoped
public class ContentWebAddressDescriptionFactory
extends Object
implements BaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentWebAddressDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContentWebAddressPK contentWebAddressPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(ContentWebAddress contentWebAddress, Language language, String description, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentWebAddressDescriptionPK> 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, ContentWebAddressDescriptionPK 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, ContentWebAddressDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContentWebAddressDescription entity) voidvoidstore(ContentWebAddressDescription entity) voidstore(Collection<ContentWebAddressDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTWAD_CONTENTWEBADDRESSDESCRIPTIONID
- See Also:
-
CNTWAD_CNTWA_CONTENTWEBADDRESSID
- See Also:
-
CNTWAD_LANG_LANGUAGEID
- See Also:
-
CNTWAD_DESCRIPTION
- See Also:
-
CNTWAD_FROMTIME
- See Also:
-
CNTWAD_THRUTIME
- See Also:
-
-
Constructor Details
-
ContentWebAddressDescriptionFactory
protected ContentWebAddressDescriptionFactory()Creates a new instance of ContentWebAddressDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentWebAddressDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentWebAddressDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public ContentWebAddressDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentWebAddressDescriptionValue> getValuesFromPKs(Collection<ContentWebAddressDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentWebAddressDescriptionValue getValueFromPK(ContentWebAddressDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentWebAddressDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentWebAddressDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentWebAddressDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentWebAddressDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentWebAddressDescription getEntityFromValue(EntityPermission entityPermission, ContentWebAddressDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public ContentWebAddressDescription getEntityFromPK(EntityPermission entityPermission, ContentWebAddressDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentWebAddressDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentWebAddressDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentWebAddressDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentWebAddressDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentWebAddressDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentWebAddressDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentWebAddressDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentWebAddressDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentWebAddressDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentWebAddressDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentWebAddressDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentWebAddressDescription create(ContentWebAddress contentWebAddress, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentWebAddressDescription create(ContentWebAddressPK contentWebAddressPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentWebAddressDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<ContentWebAddressDescription> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<ContentWebAddressDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentWebAddressDescriptionPK,ContentWebAddressDescription> - Throws:
PersistenceDatabaseException
-