Class CommentBlobFactory
java.lang.Object
com.echothree.model.data.comment.server.factory.CommentBlobFactory
- All Implemented Interfaces:
BaseFactory<CommentBlobPK,
CommentBlob>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(Session session, Collection<CommentBlobValue> _values) void
create
(Collection<CommentBlobValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<CommentBlobPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<CommentBlobPK> 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, CommentBlobPK pk) getEntityFromPK
(EntityPermission entityPermission, CommentBlobPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, CommentBlobPK 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, CommentBlobValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, CommentBlobValue value) static CommentBlobFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, CommentBlobPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<CommentBlobPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, CommentBlobPK pk) void
remove
(Session session, CommentBlob entity) void
remove
(Session session, Collection<CommentBlobPK> pks) void
remove
(Collection<CommentBlobPK> pks) void
store
(Session session, CommentBlob entity) void
store
(Session session, Collection<CommentBlob> entities) void
store
(Collection<CommentBlob> entities) boolean
validPK
(Session session, CommentBlobPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CMNTB_COMMENTBLOBID
- See Also:
-
CMNTB_CMNT_COMMENTID
- See Also:
-
CMNTB_BLOB
- See Also:
-
CMNTB_FROMTIME
- See Also:
-
CMNTB_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<CommentBlobPK,
CommentBlob>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<CommentBlobPK,
CommentBlob>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<CommentBlobPK,
CommentBlob>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<CommentBlobPK,
CommentBlob>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<CommentBlobPK,
CommentBlob>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CommentBlobPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CommentBlobPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CommentBlobValue> getValuesFromPKs(Session session, Collection<CommentBlobPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CommentBlobValue getValueFromPK(Session session, CommentBlobPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CommentBlobValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CommentBlobValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommentBlob> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommentBlobPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommentBlob> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<CommentBlobPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public CommentBlob getEntityFromValue(Session session, EntityPermission entityPermission, CommentBlobValue value) -
getEntityFromPK
public CommentBlob getEntityFromPK(EntityPermission entityPermission, CommentBlobPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public CommentBlob getEntityFromPK(Session session, EntityPermission entityPermission, CommentBlobPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CommentBlobPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CommentBlobPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CommentBlobPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommentBlob> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommentBlob getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommentBlob> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommentBlob> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommentBlob getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommentBlob getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CommentBlob create(Session session, Comment comment, ByteArray blob, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommentBlob create(Comment comment, ByteArray blob, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommentBlob create(Session session, CommentPK commentPK, ByteArray blob, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommentBlob create(CommentPK commentPK, ByteArray blob, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<CommentBlobValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CommentBlobValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<CommentBlob> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<CommentBlobPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<CommentBlobPK,
CommentBlob> - Throws:
PersistenceDatabaseException
-