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, updatepublic ScopeModel add(ScopeModel taskModel)
BaseServiceadd in class BaseService<ScopeModel>taskModel - Any entity model with Hibernate annotations.Copyright © 2015. All rights reserved.