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