@Service(value="wpsPrimitiveService") public class WpsPrimitiveService<E extends WpsPrimitive,D extends WpsPrimitiveDao<E>> extends WpsParameterService<E,D>
WpsPrimitive model.AbstractCrudServicepermissionCollectionServicedao, logger| Modifier | Constructor and Description |
|---|---|
|
WpsPrimitiveService()
Default constructor, which calls the type-constructor
|
protected |
WpsPrimitiveService(Class<E> entityClass)
Constructor that sets the concrete entity class for the service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setDao(D dao)
We have to use
Qualifier to define the correct dao here. |
addAndSaveGroupPermissions, addAndSaveUserPermissions, findAllUserGroupPermissionsOfUserGroup, findAllUserPermissionsOfUser, getPermissionCollectionService, removeAndSaveGroupPermissions, removeAndSaveUserPermissions, setPermissionCollectionServicedelete, findAll, findAllRestricted, findAllWhereFieldEquals, findAllWithCollectionContaining, findById, findBySimpleFilter, loadById, saveOrUpdate, updatePartialWithJsonNodegetDao, getEntityClasspublic WpsPrimitiveService()
@Autowired @Qualifier(value="wpsPrimitiveDao") public void setDao(D dao)
Qualifier to define the correct dao here.
Otherwise, spring can not decide which dao has to be autowired here
as there are multiple candidates.setDao in class WpsParameterService<E extends WpsPrimitive,D extends WpsPrimitiveDao<E>>dao - the dao to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.