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