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