public class ScopeService extends BaseService<ScopeModel>
sessionFactory
Constructor and Description |
---|
ScopeService() |
Modifier and Type | Method and Description |
---|---|
ScopeModel |
add(ScopeModel taskModel)
It creates a single new entity in the database and retrieves the created object.
|
findEntityByAttribute, getCollection, getEntityById, save, setSessionFactory, update
public ScopeModel add(ScopeModel taskModel)
BaseService
add
in class BaseService<ScopeModel>
taskModel
- Any entity model with Hibernate annotations.Copyright © 2015. All rights reserved.