A B C D E F G H I M N O P R T U

A

AbstractRequirements - Class in com.googlecode.jbp.common.requirements
Abstract implementation of IRequirements which provides the checks but not the action that has to be taken if a condition is not met.
AbstractRequirements() - Constructor for class com.googlecode.jbp.common.requirements.AbstractRequirements
 

B

BooleanFunctions - Class in com.googlecode.jbp.common.logic
Provides various boolean-valued methods.

C

com.googlecode.jbp.common.constants - package com.googlecode.jbp.common.constants
Contains various constants.
com.googlecode.jbp.common.logic - package com.googlecode.jbp.common.logic
Provides various logic operations.
com.googlecode.jbp.common.repository - package com.googlecode.jbp.common.repository
Contains interfaces which are useful to implement data repository functionality.
com.googlecode.jbp.common.requirements - package com.googlecode.jbp.common.requirements
Provides methods which check that specific requirements are met.
com.googlecode.jbp.common.util - package com.googlecode.jbp.common.util
Provides utility classes.
compare(T, T, Comparator<? super T>) - Static method in class com.googlecode.jbp.common.util.Objects
Returns 0 if the arguments are identical and c.compare(a, b) otherwise.
CompilerWarnings - Class in com.googlecode.jbp.common.constants
Contains compiler warning constants.
conjunction(boolean...) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Returns true if all specified predicates are true.
create(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
create(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IRepository
Persists the given entity.

D

deepEquals(Object, Object) - Static method in class com.googlecode.jbp.common.util.Objects
Returns true if the arguments are deeply equal to each other and false otherwise.
delete(Collection<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
delete(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
delete(ID, Class<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
delete(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IRepository
Deletes the specified entity.
delete(ID) - Method in interface com.googlecode.jbp.common.repository.IRepository
Deletes the entity with the specified identifier.
delete(Collection<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IRepository
Deletes the specified entities.
deleteAll(Class<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
deleteAll() - Method in interface com.googlecode.jbp.common.repository.IRepository
Deletes all persisted entities.
disjunction(boolean...) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Returns true if at least on specified predicate is true.

E

equals(Object) - Method in class com.googlecode.jbp.common.repository.Page
 
equals(Object, Object) - Static method in class com.googlecode.jbp.common.util.Objects
Returns true if the arguments are equal to each other and false otherwise.
equivalent(boolean...) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Checks for predicate equivalence.
exclusiveDisjunction(boolean, boolean) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Checks that exactly one predicate is true.
exists(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
exists(ID, Class<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
exists(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IRepository
Checks for the existence of the specified entity.
exists(ID) - Method in interface com.googlecode.jbp.common.repository.IRepository
Checks if an entity with the specified identifier exists.

F

firstResult(int) - Method in class com.googlecode.jbp.common.repository.Page
 
flush() - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 

G

getFirstResult() - Method in class com.googlecode.jbp.common.repository.Page
 
getId() - Method in interface com.googlecode.jbp.common.repository.IIdentifiable
Returns the identifier of the entity.
getMaxResults() - Method in class com.googlecode.jbp.common.repository.Page
 
getResultQuantity() - Method in class com.googlecode.jbp.common.repository.ResultHolder
 
getResults() - Method in class com.googlecode.jbp.common.repository.ResultHolder
 

H

hash(Object...) - Static method in class com.googlecode.jbp.common.util.Objects
Generates a hash code for a sequence of input values.
hashCode() - Method in class com.googlecode.jbp.common.repository.Page
 
hashCode(Object) - Static method in class com.googlecode.jbp.common.util.Objects
Returns the hash code of a non-null argument and 0 for a null argument.

I

IGenericRepository - Interface in com.googlecode.jbp.common.repository
 
IIdentifiable<ID extends Serializable> - Interface in com.googlecode.jbp.common.repository
A common interface for domain model objects/entities that are persisted to some data base.
INSTANCE - Static variable in class com.googlecode.jbp.common.requirements.ParamRequirements
Singleton instance.
INSTANCE - Static variable in class com.googlecode.jbp.common.requirements.PostCondition
 
INSTANCE - Static variable in class com.googlecode.jbp.common.requirements.PreCondition
 
INSTANCE - Static variable in class com.googlecode.jbp.common.requirements.Requirements
Singleton instance.
IRepository<ID extends Serializable,DomainModel extends IIdentifiable<ID>> - Interface in com.googlecode.jbp.common.repository
Interface with common data access methods.
IRequirements - Interface in com.googlecode.jbp.common.requirements
Defines common methods to check for required application state.

M

majority(boolean...) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Checks that strictly more than half of the specified predicates are true.
maxResults(int) - Method in class com.googlecode.jbp.common.repository.Page
 

N

nand(boolean, boolean) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Checks that both specified predicates are not simultaneously true.
newPage() - Static method in class com.googlecode.jbp.common.repository.Page
Returns a new Page instance.
nor(boolean, boolean) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Returns true if both specified predicates are simultaneously false.
not(boolean) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Returns the opposite of the specified predicate.
not(boolean...) - Static method in class com.googlecode.jbp.common.logic.BooleanFunctions
Returns an array with the opposites of the specified predicates.

O

Objects - Class in com.googlecode.jbp.common.util
Backports some methods of the java.util.Objects class provided in the JDK 7.
onConditionNotMet(String) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
Called if a condition is not met.
onConditionNotMet(String) - Method in class com.googlecode.jbp.common.requirements.ParamRequirements
 
onConditionNotMet(String) - Method in class com.googlecode.jbp.common.requirements.PostCondition
 
onConditionNotMet(String) - Method in class com.googlecode.jbp.common.requirements.PreCondition
 
onConditionNotMet(String) - Method in class com.googlecode.jbp.common.requirements.Requirements
 

P

Page - Class in com.googlecode.jbp.common.repository
This class represents paging information for use in object repositories.
ParamRequirements - Class in com.googlecode.jbp.common.requirements
Provides useful methods to check for method parameter validity.
PostCondition - Class in com.googlecode.jbp.common.requirements
Provides useful methods to check if postconditions are met.
PostConditionException - Exception in com.googlecode.jbp.common.requirements
Exception thrown if a post-condition is not met.
PostConditionException() - Constructor for exception com.googlecode.jbp.common.requirements.PostConditionException
Constructor.
PostConditionException(String) - Constructor for exception com.googlecode.jbp.common.requirements.PostConditionException
Constructor with a message associated to the exception.
PostConditionException(String, Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.PostConditionException
Constructor with a message and a cause associated to the exception
PostConditionException(Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.PostConditionException
Constructor with a cause associated to the exception
PreCondition - Class in com.googlecode.jbp.common.requirements
Provides useful methods to check if preconditions are met.
PreConditionException - Exception in com.googlecode.jbp.common.requirements
Exception thrown if a pre-condition is not met.
PreConditionException() - Constructor for exception com.googlecode.jbp.common.requirements.PreConditionException
Constructor.
PreConditionException(String) - Constructor for exception com.googlecode.jbp.common.requirements.PreConditionException
Constructor with a message associated to the exception.
PreConditionException(String, Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.PreConditionException
Constructor with a message and a cause associated to the exception
PreConditionException(Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.PreConditionException
Constructor with a cause associated to the exception

R

RAWTYPES - Static variable in class com.googlecode.jbp.common.constants.CompilerWarnings
Unparameterized reference to parameterized object.
requireAllInstanceOf(T, Class<?>, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireAllInstanceOf(T, Class<?>, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that all elements of the specified collection are instances of the specified class.
requireConjunction(boolean...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireConjunction(boolean...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Requires that all predicates are true.
requireDirectory(File, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireDirectory(String, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireDirectory(File, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified File instance refers to a directory.
requireDirectory(String, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified String instance is a path that refers to a directory.
requireDisjunction(boolean...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireDisjunction(boolean...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that there is a disjunction between the specified predicates.
requireExclusiveDisjunction(boolean, boolean) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireExclusiveDisjunction(boolean, boolean) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that there is a disjunction between the two specified predicates.
requireExistingFile(File, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireExistingFile(String, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireExistingFile(File, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified File instance refers to an existing file.
requireExistingFile(String, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified String instance is a path that refers to an existing file.
requireFalse(boolean, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireFalse(boolean, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified expression returns false.
requireFutureInstant(Calendar, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireFutureInstant(Date, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireFutureInstant(Calendar, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
 
requireFutureInstant(Date, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
 
requireInstanceOf(T, Class<?>, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireInstanceOf(T, Class<?>, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified object is an instance of the specified class.
Requirements - Class in com.googlecode.jbp.common.requirements
Exception thrown when a requirement is not met.
RequirementsException - Exception in com.googlecode.jbp.common.requirements
 
RequirementsException() - Constructor for exception com.googlecode.jbp.common.requirements.RequirementsException
Constructor.
RequirementsException(String) - Constructor for exception com.googlecode.jbp.common.requirements.RequirementsException
Constructor with a message associated to the exception
RequirementsException(String, Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.RequirementsException
Constructor with a message and a cause associated to the exception
RequirementsException(Throwable) - Constructor for exception com.googlecode.jbp.common.requirements.RequirementsException
Constructor with a cause associated to the exception
requireNotAllSimultaneouslyNull(Object...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotAllSimultaneouslyNull(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotAllSimultaneouslyNull(Object...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that at least one reference is not null.
requireNotAllSimultaneouslyNull(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that at least one of the specified objects is not null.
requireNotBlank(String, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotBlank(String, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that a string object is not blank (null or empty or only spaces).
requireNotEmpty(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotEmpty(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that a collection is not empty.
requireNotExistingFile(File, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotExistingFile(String, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotExistingFile(File, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified File instance refers to a non existing file.
requireNotExistingFile(String, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified String instance is a path that refers to a non existing file.
requireNotNegative(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotNegative(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified number is not negative (<0).
requireNotNegativeNorZero(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotNegativeNorZero(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified number is not negative (<0) nor zero (0).
requireNotNull(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotNull(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that an object is not null.
requireNotPositive(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotPositive(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified number is not positive (>0).
requireNotPositiveNorZero(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotPositiveNorZero(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified number is not positive (>0) nor zero (0).
requireNotZero(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNotZero(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified number is not zero (0).
requireNull(T, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireNull(T, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified object is null.
requirePastInstant(Calendar, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requirePastInstant(Date, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requirePastInstant(Calendar, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
 
requirePastInstant(Date, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
 
requireTrue(boolean, String...) - Method in class com.googlecode.jbp.common.requirements.AbstractRequirements
 
requireTrue(boolean, String...) - Method in interface com.googlecode.jbp.common.requirements.IRequirements
Checks that the specified expression returns true.
ResultHolder<ID extends Serializable,T extends IIdentifiable<ID>> - Class in com.googlecode.jbp.common.repository
Class used to return the actual result list and the total number of results of a repository search.
ResultHolder(List<T>, int) - Constructor for class com.googlecode.jbp.common.repository.ResultHolder
 
retrieveAll(Class<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
retrieveAll(Class<DomainModel>, Page) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
retrieveAll() - Method in interface com.googlecode.jbp.common.repository.IRepository
Retrieves all persisted entities.
retrieveAll(Page) - Method in interface com.googlecode.jbp.common.repository.IRepository
Retrieves persisted entities from the specified page.
retrieveById(Class<DomainModel>, ID) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
retrieveById(ID) - Method in interface com.googlecode.jbp.common.repository.IRepository
Retrieves an entity using its identifier.

T

toString() - Method in class com.googlecode.jbp.common.repository.Page
 
toString(Object) - Static method in class com.googlecode.jbp.common.util.Objects
Returns the result of calling toString for a non-null argument and "null" for a null argument.
toString(Object, String) - Static method in class com.googlecode.jbp.common.util.Objects
Returns the result of calling toString on the first argument if the first argument is not null and returns the second argument otherwise.

U

UNCHECKED - Static variable in class com.googlecode.jbp.common.constants.CompilerWarnings
Unchecked conversion, for generics.
update(Collection<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
update(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IGenericRepository
 
update(DomainModel) - Method in interface com.googlecode.jbp.common.repository.IRepository
Updates the given entity.
update(Collection<DomainModel>) - Method in interface com.googlecode.jbp.common.repository.IRepository
Updates all given entities.

A B C D E F G H I M N O P R T U

Copyright © 2011. All Rights Reserved.