Index

A C D E F G H I O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCESS_DENIED - Static variable in exception class org.sklsft.commons.api.exception.rights.AccessDeniedException
 
AccessDeniedException - Exception Class in org.sklsft.commons.api.exception.rights
Exception thrown by rights manager if a user is rejected when accessing a resource
AccessDeniedException() - Constructor for exception class org.sklsft.commons.api.exception.rights.AccessDeniedException
 
AccessDeniedException(String) - Constructor for exception class org.sklsft.commons.api.exception.rights.AccessDeniedException
 
AccessDeniedException(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.rights.AccessDeniedException
 
ApplicationException - Exception Class in org.sklsft.commons.api.exception
This RuntimeException is used to be handled by several aspects
It overrides the message to enable the serialization/deserialization using setters as required in json serialization for instance
ApplicationException() - Constructor for exception class org.sklsft.commons.api.exception.ApplicationException
 
ApplicationException(String) - Constructor for exception class org.sklsft.commons.api.exception.ApplicationException
 
ApplicationException(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.ApplicationException
 
ASC - Enum constant in enum class org.sklsft.commons.api.model.OrderType
 

C

canDelete - Variable in class org.sklsft.commons.api.model.FullView
 
canUpdate - Variable in class org.sklsft.commons.api.model.FullView
 
compareTo(SelectItem) - Method in class org.sklsft.commons.api.model.SelectItem
 

D

Deep - Annotation Interface in org.sklsft.commons.api.annotations.compare
Used to indicates a comparison or a copy must go into a property and introspect its properties.
DESC - Enum constant in enum class org.sklsft.commons.api.model.OrderType
 

E

equals(Object) - Method in class org.sklsft.commons.api.model.Pair
 
equals(Object) - Method in class org.sklsft.commons.api.model.SelectItem
 
ERROR_UNKNOWN - Static variable in exception class org.sklsft.commons.api.exception.TechnicalError
 
ErrorReport - Class in org.sklsft.commons.api.exception
A class used to serialize an ApplicationException in json
ErrorReport() - Constructor for class org.sklsft.commons.api.exception.ErrorReport
 

F

form - Variable in class org.sklsft.commons.api.model.FullView
 
FullView<T,U> - Class in org.sklsft.commons.api.model
This class can be extended to represent the full view of an object
It can be used as the result of a get method
It basically consists of an id and a form which must be serializable
FullView() - Constructor for class org.sklsft.commons.api.model.FullView
 

G

getCanUpdate() - Method in class org.sklsft.commons.api.model.FullView
 
getCount() - Method in class org.sklsft.commons.api.model.ScrollView
 
getCurrentPage() - Method in class org.sklsft.commons.api.model.ScrollView
 
getElements() - Method in class org.sklsft.commons.api.model.ScrollView
 
getElementsPerPage() - Method in class org.sklsft.commons.api.model.ScrollForm
 
getExceptionClassName() - Method in class org.sklsft.commons.api.exception.ErrorReport
 
getFilter() - Method in class org.sklsft.commons.api.model.ScrollForm
 
getForm() - Method in class org.sklsft.commons.api.model.FullView
 
getHttpErrorCode() - Method in exception class org.sklsft.commons.api.exception.ApplicationException
 
getHttpErrorCode() - Method in exception class org.sklsft.commons.api.exception.repository.ObjectNotFoundException
 
getHttpErrorCode() - Method in exception class org.sklsft.commons.api.exception.rights.AccessDeniedException
 
getHttpErrorCode() - Method in exception class org.sklsft.commons.api.exception.validation.InvalidArgumentException
 
getId() - Method in class org.sklsft.commons.api.model.FullView
 
getKey() - Method in class org.sklsft.commons.api.model.Pair
 
getKey() - Method in class org.sklsft.commons.api.model.SelectItem
 
getLabel() - Method in class org.sklsft.commons.api.model.SelectItem
 
getLeft() - Method in class org.sklsft.commons.api.model.Pair
 
getMessage() - Method in exception class org.sklsft.commons.api.exception.ApplicationException
 
getMessage() - Method in class org.sklsft.commons.api.exception.ErrorReport
 
getNumberOfPages() - Method in class org.sklsft.commons.api.model.ScrollView
 
getPage() - Method in class org.sklsft.commons.api.model.ScrollForm
 
getRight() - Method in class org.sklsft.commons.api.model.Pair
 
getSize() - Method in class org.sklsft.commons.api.model.ScrollView
 
getSorting() - Method in class org.sklsft.commons.api.model.ScrollForm
 
getValue() - Method in class org.sklsft.commons.api.model.Pair
 

H

hashCode() - Method in class org.sklsft.commons.api.model.Pair
Returns a suitable hash code.
hashCode() - Method in class org.sklsft.commons.api.model.SelectItem
 

I

id - Variable in class org.sklsft.commons.api.model.FullView
 
Ignored - Annotation Interface in org.sklsft.commons.api.annotations.compare
Used to indicates to ignore a field when comparing or copying.
INVALID_ARGUMENTS - Static variable in exception class org.sklsft.commons.api.exception.validation.InvalidArgumentException
 
InvalidArgumentException - Exception Class in org.sklsft.commons.api.exception.validation
Exception thrown when arguments are not valid.
InvalidArgumentException(String) - Constructor for exception class org.sklsft.commons.api.exception.validation.InvalidArgumentException
 
InvalidArgumentException(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.validation.InvalidArgumentException
 
InvalidStateException - Exception Class in org.sklsft.commons.api.exception.state
Exception thrown by state manager if an operation on an object is impossible due to its state
InvalidStateException(String) - Constructor for exception class org.sklsft.commons.api.exception.state.InvalidStateException
 
InvalidStateException(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.state.InvalidStateException
 
isCanDelete() - Method in class org.sklsft.commons.api.model.FullView
 

O

ObjectNotFoundException - Exception Class in org.sklsft.commons.api.exception.repository
Exception thrown when a dao does not find a requested object
Similar to hibernate ObjectNotFoundException
ObjectNotFoundException() - Constructor for exception class org.sklsft.commons.api.exception.repository.ObjectNotFoundException
 
ObjectNotFoundException(String) - Constructor for exception class org.sklsft.commons.api.exception.repository.ObjectNotFoundException
 
ObjectNotFoundException(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.repository.ObjectNotFoundException
 
of(L, R) - Method in class org.sklsft.commons.api.model.Pair
 
OrderType - Enum Class in org.sklsft.commons.api.model
 
org.sklsft.commons.api.annotations.compare - package org.sklsft.commons.api.annotations.compare
 
org.sklsft.commons.api.exception - package org.sklsft.commons.api.exception
 
org.sklsft.commons.api.exception.repository - package org.sklsft.commons.api.exception.repository
 
org.sklsft.commons.api.exception.rights - package org.sklsft.commons.api.exception.rights
 
org.sklsft.commons.api.exception.state - package org.sklsft.commons.api.exception.state
 
org.sklsft.commons.api.exception.validation - package org.sklsft.commons.api.exception.validation
 
org.sklsft.commons.api.model - package org.sklsft.commons.api.model
 

P

Pair<L,R> - Class in org.sklsft.commons.api.model
A pair consisting of two elements.
Pair() - Constructor for class org.sklsft.commons.api.model.Pair
 
Pair(L, R) - Constructor for class org.sklsft.commons.api.model.Pair
 

S

ScrollForm<F,S> - Class in org.sklsft.commons.api.model
 
ScrollForm() - Constructor for class org.sklsft.commons.api.model.ScrollForm
 
ScrollView<T> - Class in org.sklsft.commons.api.model
 
ScrollView() - Constructor for class org.sklsft.commons.api.model.ScrollView
 
SelectItem - Class in org.sklsft.commons.api.model
Tuple to be used for instance in JSF dropdown options
SelectItem() - Constructor for class org.sklsft.commons.api.model.SelectItem
 
SelectItem(String, String) - Constructor for class org.sklsft.commons.api.model.SelectItem
 
setCanDelete(boolean) - Method in class org.sklsft.commons.api.model.FullView
 
setCanUpdate(boolean) - Method in class org.sklsft.commons.api.model.FullView
 
setCount(Long) - Method in class org.sklsft.commons.api.model.ScrollView
 
setCurrentPage(Long) - Method in class org.sklsft.commons.api.model.ScrollView
 
setElements(List<T>) - Method in class org.sklsft.commons.api.model.ScrollView
 
setElementsPerPage(Long) - Method in class org.sklsft.commons.api.model.ScrollForm
 
setExceptionClassName(String) - Method in class org.sklsft.commons.api.exception.ErrorReport
 
setFilter(F) - Method in class org.sklsft.commons.api.model.ScrollForm
 
setForm(U) - Method in class org.sklsft.commons.api.model.FullView
 
setId(T) - Method in class org.sklsft.commons.api.model.FullView
 
setKey(String) - Method in class org.sklsft.commons.api.model.SelectItem
 
setLabel(String) - Method in class org.sklsft.commons.api.model.SelectItem
 
setLeft(L) - Method in class org.sklsft.commons.api.model.Pair
 
setMessage(String) - Method in exception class org.sklsft.commons.api.exception.ApplicationException
 
setMessage(String) - Method in class org.sklsft.commons.api.exception.ErrorReport
 
setNumberOfPages(Long) - Method in class org.sklsft.commons.api.model.ScrollView
 
setPage(Long) - Method in class org.sklsft.commons.api.model.ScrollForm
 
setRight(R) - Method in class org.sklsft.commons.api.model.Pair
 
setSize(Long) - Method in class org.sklsft.commons.api.model.ScrollView
 
setSorting(S) - Method in class org.sklsft.commons.api.model.ScrollForm
 
setValue(R) - Method in class org.sklsft.commons.api.model.Pair
 

T

TechnicalError - Exception Class in org.sklsft.commons.api.exception
Exception thrown when no cause can be invoked else a technical cause or a bug
TechnicalError() - Constructor for exception class org.sklsft.commons.api.exception.TechnicalError
 
TechnicalError(String) - Constructor for exception class org.sklsft.commons.api.exception.TechnicalError
 
TechnicalError(String, Throwable) - Constructor for exception class org.sklsft.commons.api.exception.TechnicalError
 
toString() - Method in class org.sklsft.commons.api.model.Pair
Returns a String representation of this pair using the format ($left,$right).
toString() - Method in class org.sklsft.commons.api.model.SelectItem
 
toString(String) - Method in class org.sklsft.commons.api.model.Pair
Formats the receiver using the given format.

V

valueOf(String) - Static method in enum class org.sklsft.commons.api.model.OrderType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.sklsft.commons.api.model.OrderType
Returns an array containing the constants of this enum class, in the order they are declared.
A C D E F G H I O P S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form