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