B C D E F G H N O P R S T U 

B

build() - Method in class org.resthub.common.model.RestError.Builder
 

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 PagingAndSortingRepository Spring Data repository implementation You should extend it and inject your Repository bean by overriding CrudServiceImpl.setRepository(org.springframework.data.repository.PagingAndSortingRepository)
CrudServiceImpl() - Constructor for class org.resthub.common.service.CrudServiceImpl
 

D

DataView - Interface in org.resthub.common.view
 
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

E

equals(Object) - Method in class org.resthub.common.model.RestError
 

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.
findByIds(Set<ID>) - Method in interface org.resthub.common.service.CrudService
Find resources by their ids.
findByIds(Set<ID>) - Method in class org.resthub.common.service.CrudServiceImpl
Find resources by their ids.

G

getCode() - Method in class org.resthub.common.model.RestError
 
getData() - Method in interface org.resthub.common.view.DataView
 
getDeveloperMessage() - Method in class org.resthub.common.model.RestError
 
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
 
getMessage() - Method in class org.resthub.common.model.RestError
 
getMoreInfoUrl() - Method in class org.resthub.common.model.RestError
 
getStatus() - Method in class org.resthub.common.model.RestError
 
getThrowable() - Method in class org.resthub.common.model.RestError
 
getView() - Method in interface org.resthub.common.view.DataView
 

H

hashCode() - Method in class org.resthub.common.model.RestError
 
hasView() - Method in interface org.resthub.common.view.DataView
 

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 a declared method is not currently implemented
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.model - package org.resthub.common.model
 
org.resthub.common.service - package org.resthub.common.service
REST services
org.resthub.common.util - package org.resthub.common.util
Utils classes
org.resthub.common.view - package org.resthub.common.view
Custom Json views annotations and interfaces

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
 
ResponseView - Annotation Type in org.resthub.common.view
 
RestError - Class in org.resthub.common.model
Value object use to serialize REST error messages
RestError(String, int, String, String, String, Throwable) - Constructor for class org.resthub.common.model.RestError
 
RestError.Builder - Class in org.resthub.common.model
 
RestError.Builder() - Constructor for class org.resthub.common.model.RestError.Builder
 

S

setCode(int) - Method in class org.resthub.common.model.RestError.Builder
 
setDeveloperMessage(String) - Method in class org.resthub.common.model.RestError.Builder
 
setMessage(String) - Method in class org.resthub.common.model.RestError.Builder
 
setMoreInfoUrl(String) - Method in class org.resthub.common.model.RestError.Builder
 
setRepository(R) - Method in class org.resthub.common.service.CrudServiceImpl
 
setStatus(String) - Method in class org.resthub.common.model.RestError.Builder
 
setThrowable(Throwable) - Method in class org.resthub.common.model.RestError.Builder
 

T

toString() - Method in class org.resthub.common.model.RestError
 

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.
B C D E F G H N O P R S T U 

Copyright © 2009-2014. All Rights Reserved.