public class CommentEntityManagerImpl extends AbstractEngineEntityManager<PlatformEngineConfiguration,CommentEntity,CommentDataManager> implements CommentEntityManager
engineConfigurationdataManager, engineType| Constructor and Description |
|---|
CommentEntityManagerImpl(PlatformEngineConfiguration configuration,
CommentDataManager commentDataManager) |
| Modifier and Type | Method and Description |
|---|---|
long |
countByCriteria(CommentQuery commentQuery) |
CommentQuery |
createCommentQuery() |
void |
deleteByScopeIdAndScopeType(String scopeId,
String scopeType) |
List<Comment> |
findByCriteria(CommentQuery commentQuery) |
List<Comment> |
findByScopeIdAndScopeType(String scopeId,
String scopeType) |
List<Comment> |
findByUserId(String userId) |
getClock, getCommandExecutor, getEngineConfiguration, getEventDispatchercreate, createEntityEvent, delete, delete, delete, findById, fireEntityDeletedEvent, fireEntityInsertedEvent, fireEntityUpdatedEvent, getDataManager, insert, insert, setDataManager, update, updatepublic CommentEntityManagerImpl(PlatformEngineConfiguration configuration, CommentDataManager commentDataManager)
public CommentQuery createCommentQuery()
createCommentQuery in interface CommentEntityManagerpublic List<Comment> findByScopeIdAndScopeType(String scopeId, String scopeType)
findByScopeIdAndScopeType in interface CommentEntityManagerpublic List<Comment> findByUserId(String userId)
findByUserId in interface CommentEntityManagerpublic long countByCriteria(CommentQuery commentQuery)
countByCriteria in interface CommentEntityManagerpublic List<Comment> findByCriteria(CommentQuery commentQuery)
findByCriteria in interface CommentEntityManagerpublic void deleteByScopeIdAndScopeType(String scopeId, String scopeType)
deleteByScopeIdAndScopeType in interface CommentEntityManager