C D F G N O P R S U 

C

ClassUtils - Class in org.resthub.common.util
Utility class to work with classes.
count() - Method in interface org.resthub.common.service.CrudService
Count all resources.
count() - Method in class org.resthub.common.service.CrudServiceImpl
Count all resources.
create(T) - Method in interface org.resthub.common.service.CrudService
Create new resource.
create(T) - Method in class org.resthub.common.service.CrudServiceImpl
Create new resource.
CrudService<T,ID extends Serializable> - Interface in org.resthub.common.service
Crud Service interface.
CrudServiceImpl<T,ID extends Serializable,R extends org.springframework.data.repository.PagingAndSortingRepository<T,ID>> - Class in org.resthub.common.service
Crud service that uses a repository implementation You should extend it and inject your Repository bean by overriding setRepository
CrudServiceImpl() - Constructor for class org.resthub.common.service.CrudServiceImpl
 

D

delete(T) - Method in interface org.resthub.common.service.CrudService
Delete existing resource.
delete(ID) - Method in interface org.resthub.common.service.CrudService
Delete existing resource.
delete(T) - Method in class org.resthub.common.service.CrudServiceImpl
Delete existing resource.
delete(ID) - Method in class org.resthub.common.service.CrudServiceImpl
Delete existing resource.
deleteAll() - Method in interface org.resthub.common.service.CrudService
Delete all existing resource.
deleteAll() - Method in class org.resthub.common.service.CrudServiceImpl
Delete all existing resource.
deleteAllWithCascade() - Method in interface org.resthub.common.service.CrudService
Delete all existing resource, including linked entities with cascade delete
deleteAllWithCascade() - Method in class org.resthub.common.service.CrudServiceImpl
Delete all existing resource, including linked entities with cascade delete

F

findAll() - Method in interface org.resthub.common.service.CrudService
Find all resources.
findAll(Pageable) - Method in interface org.resthub.common.service.CrudService
Find all resources (pageable).
findAll() - Method in class org.resthub.common.service.CrudServiceImpl
Find all resources.
findAll(Pageable) - Method in class org.resthub.common.service.CrudServiceImpl
Find all resources (pageable).
findById(ID) - Method in interface org.resthub.common.service.CrudService
Find resource by id.
findById(ID) - Method in class org.resthub.common.service.CrudServiceImpl
Find resource by id.

G

getGenericType(Class<?>) - Static method in class org.resthub.common.util.ClassUtils
 
getGenericType(Class<?>, int) - Static method in class org.resthub.common.util.ClassUtils
Returns the generic type with the given index from the given Class.
getGenericTypeFromBean(Object) - Static method in class org.resthub.common.util.ClassUtils
 

N

NotFoundException - Exception in org.resthub.common.exception
Exception thrown when not result was found (for example findById with null return value)
NotFoundException() - Constructor for exception org.resthub.common.exception.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception org.resthub.common.exception.NotFoundException
 
NotFoundException(String) - Constructor for exception org.resthub.common.exception.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.resthub.common.exception.NotFoundException
 
NotImplementedException - Exception in org.resthub.common.exception
Exception used to signify that an element (class, webservice, method) does not exists
NotImplementedException() - Constructor for exception org.resthub.common.exception.NotImplementedException
 
NotImplementedException(String, Throwable) - Constructor for exception org.resthub.common.exception.NotImplementedException
 
NotImplementedException(String) - Constructor for exception org.resthub.common.exception.NotImplementedException
 
NotImplementedException(Throwable) - Constructor for exception org.resthub.common.exception.NotImplementedException
 

O

onApplicationEvent(ApplicationEvent) - Method in class org.resthub.common.util.PostInitializerRunner
 
org.resthub.common.exception - package org.resthub.common.exception
 
org.resthub.common.service - package org.resthub.common.service
REST services
org.resthub.common.util - package org.resthub.common.util
Utils classes

P

PostInitialize - Annotation Type in org.resthub.common.util
Similar to @PostConstruct Spring annotation, but executed later in application lifecycle, in order to get transaction management ready.
PostInitializerRunner - Class in org.resthub.common.util
Runner for @PostInitialize annotation registration
PostInitializerRunner() - Constructor for class org.resthub.common.util.PostInitializerRunner
 

R

repository - Variable in class org.resthub.common.service.CrudServiceImpl
 

S

setRepository(R) - Method in class org.resthub.common.service.CrudServiceImpl
 

U

update(T) - Method in interface org.resthub.common.service.CrudService
Update existing resource.
update(T) - Method in class org.resthub.common.service.CrudServiceImpl
Update existing resource.
C D F G N O P R S U 

Copyright © 2009-2012. All Rights Reserved.