Class LetterDetailFactory
java.lang.Object
com.echothree.model.data.letter.server.factory.LetterDetailFactory
- All Implemented Interfaces:
BaseFactory<LetterDetailPK,
LetterDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(LetterPK letterPK, ChainTypePK chainTypePK, String letterName, LetterSourcePK letterSourcePK, ContactListPK contactListPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Letter letter, ChainType chainType, String letterName, LetterSource letterSource, ContactList contactList, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, LetterPK letterPK, ChainTypePK chainTypePK, String letterName, LetterSourcePK letterSourcePK, ContactListPK contactListPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create
(Session session, Letter letter, ChainType chainType, String letterName, LetterSource letterSource, ContactList contactList, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) void
create
(Session session, Collection<LetterDetailValue> _values) void
create
(Collection<LetterDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<LetterDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<LetterDetailPK> pks) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache
(Session session, LetterDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, LetterDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, LetterDetailPK pk) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue
(EntityPermission entityPermission, LetterDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, LetterDetailValue value) static LetterDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, LetterDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<LetterDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, LetterDetailPK pk) void
remove
(Session session, LetterDetail entity) void
remove
(Session session, Collection<LetterDetailPK> pks) void
remove
(Collection<LetterDetailPK> pks) void
store
(Session session, LetterDetail entity) void
store
(Session session, Collection<LetterDetail> entities) void
store
(Collection<LetterDetail> entities) boolean
validPK
(Session session, LetterDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
LTTRDT_LETTERDETAILID
- See Also:
-
LTTRDT_LTTR_LETTERID
- See Also:
-
LTTRDT_CHNTYP_CHAINTYPEID
- See Also:
-
LTTRDT_LETTERNAME
- See Also:
-
LTTRDT_LTTRSRC_LETTERSOURCEID
- See Also:
-
LTTRDT_CLST_CONTACTLISTID
- See Also:
-
LTTRDT_ISDEFAULT
- See Also:
-
LTTRDT_SORTORDER
- See Also:
-
LTTRDT_FROMTIME
- See Also:
-
LTTRDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<LetterDetailPK,
LetterDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<LetterDetailPK,
LetterDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<LetterDetailPK,
LetterDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<LetterDetailPK,
LetterDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<LetterDetailPK,
LetterDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<LetterDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<LetterDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<LetterDetailValue> getValuesFromPKs(Session session, Collection<LetterDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LetterDetailValue getValueFromPK(Session session, LetterDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LetterDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LetterDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LetterDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LetterDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LetterDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<LetterDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public LetterDetail getEntityFromValue(Session session, EntityPermission entityPermission, LetterDetailValue value) -
getEntityFromPK
public LetterDetail getEntityFromPK(EntityPermission entityPermission, LetterDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public LetterDetail getEntityFromPK(Session session, EntityPermission entityPermission, LetterDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<LetterDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<LetterDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public LetterDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LetterDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LetterDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LetterDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LetterDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LetterDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LetterDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public LetterDetail create(Session session, Letter letter, ChainType chainType, String letterName, LetterSource letterSource, ContactList contactList, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LetterDetail create(Letter letter, ChainType chainType, String letterName, LetterSource letterSource, ContactList contactList, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LetterDetail create(Session session, LetterPK letterPK, ChainTypePK chainTypePK, String letterName, LetterSourcePK letterSourcePK, ContactListPK contactListPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LetterDetail create(LetterPK letterPK, ChainTypePK chainTypePK, String letterName, LetterSourcePK letterSourcePK, ContactListPK contactListPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<LetterDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LetterDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<LetterDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<LetterDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<LetterDetailPK,
LetterDetail> - Throws:
PersistenceDatabaseException
-