@Transactional @Service(value="domainService") public class DomainServiceImpl extends DefaultServiceImpl<Integer,Domain> implements DomainService
| Constructor and Description |
|---|
DomainServiceImpl() |
DomainServiceImpl(DomainDao dao) |
| Modifier and Type | Method and Description |
|---|---|
<D extends Domain> |
findAllByType(Class<D> type)
Query all entities for a specific type (subclass)
|
<C extends DomainChild<C,P>,P extends DomainParent<C,P>> |
findChildren(P parent)
Query the children for a given parent
|
protected com.ocs.dynamo.dao.BaseDao<Integer,Domain> |
getDao() |
findIdenticalEntity, getUniquePropertyIds, isUniqueCaseSensitivecount, count, createNewEntity, delete, delete, fetch, fetch, fetch, fetch, fetchById, fetchByIds, fetchByIds, fetchByUniqueProperty, find, find, findAll, findAll, findById, findByUniqueProperty, findDistinct, findDistinctInCollectionTable, findIds, getEntityClass, getMessageService, identicalEntityExists, message, message, save, save, update, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, count, createNewEntity, delete, delete, fetch, fetch, fetch, fetch, fetchById, fetchByIds, fetchByIds, fetchByUniqueProperty, find, find, findAll, findAll, findById, findByUniqueProperty, findDistinct, findDistinctInCollectionTable, findIds, getEntityClass, save, save, update, validatepublic DomainServiceImpl()
public DomainServiceImpl(DomainDao dao)
protected com.ocs.dynamo.dao.BaseDao<Integer,Domain> getDao()
getDao in class DefaultServiceImpl<Integer,Domain>public <C extends DomainChild<C,P>,P extends DomainParent<C,P>> List<C> findChildren(P parent)
DomainServicefindChildren in interface DomainServicepublic <D extends Domain> List<D> findAllByType(Class<D> type)
DomainServicefindAllByType in interface DomainServicetype - The subclassCopyright © 2019 Open Circle Solutions. All rights reserved.