@Lazy @Service public class DataSetService extends Object
| Constructor and Description |
|---|
DataSetService() |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
create(DataSet dataSet) |
boolean |
deleteById(Integer id) |
Entity |
getEntity() |
DataSet |
read(Integer id) |
Iterable<DataSet> |
readAll() |
EntityPager<DataSet> |
readAll(int start,
int num,
List<QueryRule> queryRules) |
void |
update(DataSet dataSet) |
@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_DATASET\')") public DataSet create(DataSet dataSet) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_DATASET\')") public DataSet read(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_DATASET\')") public void update(DataSet dataSet) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_WRITE_DATASET\')") public boolean deleteById(Integer id) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_DATASET\')") public Iterable<DataSet> readAll() throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_DATASET\')") public EntityPager<DataSet> readAll(int start, int num, List<QueryRule> queryRules) throws DatabaseException
DatabaseException@PreAuthorize(value="hasAnyRole(\'ROLE_SU, ROLE_ENTITY_READ_DATASET\')") public Entity getEntity() throws DatabaseException
DatabaseExceptionCopyright © 2013. All Rights Reserved.