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