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