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