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