Uses of Interface
net.sourceforge.domian.specification.Specification

Packages that use Specification
net.sourceforge.domian.factory   
net.sourceforge.domian.predicate   
net.sourceforge.domian.repository   
net.sourceforge.domian.specification   
 

Uses of Specification in net.sourceforge.domian.factory
 

Methods in net.sourceforge.domian.factory with parameters of type Specification
 T StrictReturnsNullFactory.create(Specification specification)
           
 T Factory.create(Specification<T> specification)
          Alias of createObjectSpecifiedBy().
 T StrictReturnsNullFactory.createObjectSpecifiedBy(Specification specification)
           
 T Factory.createObjectSpecifiedBy(Specification<T> specification)
           
 

Uses of Specification in net.sourceforge.domian.predicate
 

Methods in net.sourceforge.domian.predicate with parameters of type Specification
static org.apache.commons.collections.Predicate SpecificationPredicate.getPredicate(Specification specification)
           
 

Uses of Specification in net.sourceforge.domian.repository
 

Fields in net.sourceforge.domian.repository declared as Specification
protected  Specification<V> HibernateRepository.HibernateRepositoryIterator.iteratorSpecification
           
protected  Specification<T> PartitionRepositoryInvocationHandler.partitionSpecification
           
protected  Specification<V> HashSetRepository.HashSetRepositoryIterator.specification
           
protected  Specification<? super T> PartitionRepositoryInvocationHandler.superPartitionSpecification
           
 

Fields in net.sourceforge.domian.repository with type parameters of type Specification
protected  java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.subPartitions
          All sub-partition repositories, indexed by a unique specification.
 

Methods in net.sourceforge.domian.repository that return Specification
protected  Specification<T> AbstractDomianCoreRepository.createUniqueSpecificationFor(T entity)
           
protected abstract  Specification<T> AbstractRepository.createUniqueSpecificationFor(T entity)
          Template method for creating unique specification for given entity
 Specification<T> PartitionRepositoryInvocationHandler.getPartitionSpecification()
           
 Specification<T> PartitionRepository.getPartitionSpecification()
          This method applies to this partition only!
 Specification<? super T> PartitionRepositoryInvocationHandler.getSuperPartitionSpecification()
           
 

Methods in net.sourceforge.domian.repository that return types with arguments of type Specification
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.getAllPartitions()
           
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepository.getAllPartitions()
          Optional: mainly added for testing purposes, may throw UnsupportedOperationException
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepositoryInvocationHandler.getPartitions()
           
 java.util.Map<Specification<? extends T>,PartitionRepository> PartitionRepository.getPartitions()
          Optional: mainly added for testing purposes, may throw UnsupportedOperationException

This method applies to this partition only!

 

Methods in net.sourceforge.domian.repository with parameters of type Specification
protected
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartition(Specification<V> partitionSpecification, PartitionRepository<? extends V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification)
          Adds a new partition to this repository.
<V extends T>
PartitionRepository<V>
PartitionRepositoryReuseInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification, Repository<? super V> partitionRepository)
          Adds a new partition to this repository.
<V extends T>
PartitionRepository<V>
PartitionRepositoryReuseInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
           
<V extends T>
PartitionRepository<V>
PartitionRepositoryInvocationHandler.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
           
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
          Adds a new partition to this repository.
<R extends Repository>
void
PartitionRepositoryInvocationHandler.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
<R extends Repository>
void
PartitionRepository.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository, satisfying the given specification.
 java.lang.Long Repository.count(Specification<? extends T> specification)
          Alias of countAllEntitiesSpecifiedBy(Specification).
 java.lang.Long AbstractRepository.count(Specification<? extends T> specification)
           
 java.lang.Long Repository.countAll(Specification<? extends T> specification)
          Alias of countAllEntitiesSpecifiedBy(Specification).
 java.lang.Long AbstractRepository.countAll(Specification<? extends T> specification)
           
 java.lang.Long Repository.countAllEntitiesSpecifiedBy(Specification<? extends T> specification)
          Counts the number of entities approved by the given specification.
 java.lang.Long AbstractRepository.countAllEntitiesSpecifiedBy(Specification<? extends T> specification)
           
protected
<V extends T>
java.lang.Long
PartitionRepositoryInvocationHandler.countAllEntitiesWithoutSpecificationSharpening(Specification<V> specification)
          Special count method without sharpening original specifications to fit partition specifications.
<V extends T>
java.util.Collection<V>
Repository.find(Specification<V> specification)
          Alias of findAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Collection<V>
AbstractRepository.find(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
Repository.findAll(Specification<V> specification)
          Alias of findAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Collection<V>
AbstractRepository.findAll(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
HibernateRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
XStreamXmlFilePerEntityRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
InMemoryAndXStreamXmlFileRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
UnsupportedRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
PartitionRepositoryInvocationHandler.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
NullRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
NotImplementedRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
InMemoryRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
HashSetRepository.findAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Collection<V>
Repository.findAllEntitiesSpecifiedBy(Specification<V> specification)
          Finds and returns all entities approved by the given specification.
protected
<V extends T>
java.util.Collection<V>
PartitionRepositoryInvocationHandler.findAllEntitiesSpecifiedBy(Specification<V> specification, java.lang.Boolean sharpenOriginalSpecificationsToFitPartitionSpecification)
           
<V extends T>
PartitionRepository
PartitionRepositoryInvocationHandler.findPartitionFor(Specification<V> partitionSpecification)
           
<V extends T>
PartitionRepository
PartitionRepository.findPartitionFor(Specification<V> specification)
           
<V extends T>
V
Repository.findSingle(Specification<V> specification)
          Alias of findSingleEntitySpecifiedBy(Specification).
<V extends T>
V
AbstractRepository.findSingle(Specification<V> specification)
           
<V extends T>
V
HibernateRepository.findSingleEntitySpecifiedBy(Specification<V> specification)
           
<V extends T>
V
PartitionRepositoryInvocationHandler.findSingleEntitySpecifiedBy(Specification<V> specification)
           
<V extends T>
V
Repository.findSingleEntitySpecifiedBy(Specification<V> specification)
          Finds and returns one single entity approved by the given specification.
<V extends T>
V
AbstractRepository.findSingleEntitySpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterate(Specification<V> specification)
          Alias of iterateAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Iterator<V>
AbstractRepository.iterate(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterateAll(Specification<V> specification)
          Alias of iterateAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.util.Iterator<V>
AbstractRepository.iterateAll(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
HibernateRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
XStreamXmlFilePerEntityRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
InMemoryAndXStreamXmlFileRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
UnsupportedRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
PartitionRepositoryInvocationHandler.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
NullRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
NotImplementedRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
InMemoryRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
HashSetRepository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.util.Iterator<V>
Repository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
          Finds and returns all entities approved by the given specification.
<V extends T>
java.lang.Long
Repository.remove(Specification<V> specification)
          Alias of removeAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.remove(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.removeAll(Specification<V> specification)
          Alias of removeAllEntitiesSpecifiedBy(Specification).
<V extends T>
java.lang.Long
AbstractRepository.removeAll(Specification<V> specification)
           
<V extends T>
java.lang.Long
HibernateRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
XStreamXmlFilePerEntityRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
InMemoryAndXStreamXmlFileRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
UnsupportedRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
PartitionRepositoryInvocationHandler.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
NullRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
NotImplementedRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
InMemoryRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
HashSetRepository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
           
<V extends T>
java.lang.Long
Repository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
          Removes all entities approved by the given specification.
 void PartitionRepositoryInvocationHandler.setPartitionSpecification(Specification<T> partitionSpecification)
           
 void PartitionRepository.setPartitionSpecification(Specification<T> specification)
          This method applies to this partition only!
 void PartitionRepositoryInvocationHandler.setSuperPartitionSpecification(Specification<? super T> specification)
           
 void PartitionRepository.setSuperPartitionSpecification(Specification<? super T> specification)
          This method applies to this partition only!
<V extends T>
void
HibernateRepository.update(V entity, Specification<?> deltaSpecification)
           
<V extends T>
void
Repository.update(V entity, Specification<?> deltaSpecification)
          Updates an entity.
<V extends T>
void
AbstractRepository.update(V entity, Specification<?> deltaSpecification)
           
protected  PartitionRepository PartitionRepositoryInvocationHandler.wireUpPartition(Specification superPartitionSpecification, PartitionRepository superPartitionRepository, Specification partitionSpecification, PartitionRepository partitionRepository)
           
protected  PartitionRepository PartitionRepositoryInvocationHandler.wireUpPartition(Specification superPartitionSpecification, PartitionRepository superPartitionRepository, Specification partitionSpecification, PartitionRepository partitionRepository)
           
 

Method parameters in net.sourceforge.domian.repository with type arguments of type Specification
 void PartitionRepositoryInvocationHandler.collectAllPartitions(java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
 void PartitionRepository.collectAllPartitions(java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository.
<R extends Repository>
void
PartitionRepositoryInvocationHandler.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
           
<R extends Repository>
void
PartitionRepository.collectAllPartitionsWithRepositorySatisfying(Specification<R> specification, java.util.Map<Specification<? extends T>,PartitionRepository> partitionMap)
          Populates the given map with a flattened and recursive view of all partitions in this repository, satisfying the given specification.
 

Constructors in net.sourceforge.domian.repository with parameters of type Specification
HashSetRepository.HashSetRepositoryIterator(HashSetRepository<T> repository, Specification<V> specification)
           
HibernateRepository.HibernateRepositoryIterator(Specification<V> specification)
           
InMemoryRepository.InMemoryRepositoryIterator(InMemoryRepository<T> repository, Specification<V> specification)
           
 

Uses of Specification in net.sourceforge.domian.specification
 

Subinterfaces of Specification in net.sourceforge.domian.specification
 interface CompositeSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 interface LeafSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 interface ValueBoundSpecification<T>
          Part of the Evans/Fowler Specifications pattern.
 

Methods in net.sourceforge.domian.specification that return Specification
static
<T> Specification<T>
SpecificationFactory.a(Specification<T> specification)
           
static Specification<java.util.Date> SpecificationFactory.after(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.after(T value)
           
static Specification<java.util.Date> SpecificationFactory.afterOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.afterOrAtTheSameTimeAs(T dateOrLongValue)
           
static Specification<? extends Entity> SpecificationFactory.allEntities()
           
static Specification SpecificationFactory.allObjects()
           
static
<T> Specification<T>
SpecificationFactory.allOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.an(Specification<T> specification)
           
static
<T> Specification<T>
SpecificationFactory.anObjectEqualTo(T value)
           
static
<F> Specification<F>
SpecificationFactory.anyOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.anyOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.are(Specification<T> specification)
           
static Specification<java.util.Date> SpecificationFactory.at(java.util.Date date)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.atLeast(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.atMost(T value)
           
static Specification<java.util.Date> SpecificationFactory.atTheSameTimeAs(java.util.Date date)
           
static Specification<java.util.Date> SpecificationFactory.before(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.before(T value)
           
static Specification<java.util.Date> SpecificationFactory.beforeOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.beforeOrAtTheSameTimeAs(T dateOfLongValue)
           
static Specification<java.lang.String> SpecificationFactory.blankString()
           
static
<T> Specification<T>
SpecificationFactory.both(Specification<T>... specifications)
           
static Specification<?> SpecificationFactory.createAlwaysFalseSpecification()
           
static Specification<?> SpecificationFactory.createAlwaysTrueSpecification()
           
static Specification<java.lang.String> SpecificationFactory.createBlankStringSpecification()
           
static Specification<?> SpecificationFactory.createContradiction()
           
static Specification<java.lang.String> SpecificationFactory.createDateStringSpecification(java.lang.String dateString)
           
static Specification<java.lang.Number> SpecificationFactory.createDefaultNumberSpecification()
           
static
<E extends java.lang.Enum>
Specification<java.lang.String>
SpecificationFactory.createEnumNameStringSpecification(java.lang.Class<E> enumClass)
           
static Specification<java.lang.String> SpecificationFactory.createEqualIgnoreCaseStringSpecification(java.lang.String string)
           
static
<T> Specification<T>
SpecificationFactory.createEqualSpecification(T value)
           
static
<T> Specification<T>
SpecificationFactory.createNotNullSpecification(java.lang.Class<T> type)
           
static Specification<?> SpecificationFactory.createTautology()
           
static
<T extends Entity>
Specification<T>
SpecificationUtils.createUniqueSpecificationFor(T entity)
           
static Specification<java.lang.Number> SpecificationFactory.defaultNumber()
           
static
<T,F> Specification<T>
SpecificationFactory.either(F... values)
           
static
<T> Specification<T>
SpecificationFactory.either(Specification<T>... specifications)
           
static
<T,F> Specification<T>
SpecificationFactory.eitherOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.eitherOf(Specification<T>... specifications)
           
static Specification<?> SpecificationFactory.empty()
           
static Specification<? extends Entity> SpecificationFactory.entities()
           
static Specification<? extends Entity> SpecificationFactory.entity()
           
static Specification<java.lang.String> SpecificationFactory.equalIgnoringCase(java.lang.String string)
           
static Specification<java.lang.String> SpecificationFactory.equalsIgnoringCase(java.lang.String string)
           
static
<T> Specification<T>
SpecificationFactory.equalTo(T value)
           
static
<T> Specification<T>
SpecificationFactory.exactly(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.greaterThan(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.greaterThanOrEqualTo(T value)
           
static Specification<?> SpecificationFactory.hasSize(Specification<java.lang.Integer> collectionSpecification)
           
static Specification<?> SpecificationFactory.hasSizeOf(Specification<java.lang.Integer> collectionSpecification)
           
static Specification<?> SpecificationFactory.haveSize(Specification<java.lang.Integer> collectionSpecification)
           
static Specification<?> SpecificationFactory.haveSizeOf(Specification<java.lang.Integer> collectionSpecification)
           
static
<T,F> Specification<T>
SpecificationFactory.in(F... values)
           
static
<T> Specification<T>
SpecificationFactory.in(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.is(Specification<T> specification)
           
static
<T> Specification<T>
SpecificationFactory.is(T value)
           
static
<T> Specification<T>
SpecificationFactory.isA(Specification<T> specification)
           
static Specification<java.util.Date> SpecificationFactory.isAfter(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isAfter(T value)
           
static Specification<java.util.Date> SpecificationFactory.isAfterOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isAfterOrAtTheSameTimeAs(T dateOrLongValue)
           
static
<T> Specification<T>
SpecificationFactory.isAllOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.isAn(Specification<T> specification)
           
static Specification<java.util.Date> SpecificationFactory.isAtTheSameTimeAs(java.util.Date date)
           
static Specification<java.util.Date> SpecificationFactory.isBefore(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isBefore(T value)
           
static Specification<java.util.Date> SpecificationFactory.isBeforeOrAtTheSameTimeAs(java.lang.String dateString)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isBeforeOrAtTheSameTimeAs(T dateOrLongValue)
           
static Specification<java.lang.String> SpecificationFactory.isBlankString()
           
static
<T> Specification<T>
SpecificationFactory.isBoth(Specification<T>... specifications)
           
static Specification<java.lang.String> SpecificationFactory.isDate(java.lang.String dateString)
           
static Specification<java.lang.Number> SpecificationFactory.isDefaultNumber()
           
static
<T,F> Specification<T>
SpecificationFactory.isEither(F... values)
           
static
<T> Specification<T>
SpecificationFactory.isEither(Specification<T>... specifications)
           
static
<T,F> Specification<T>
SpecificationFactory.isEitherOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.isEitherOf(Specification<T>... specifications)
           
static
<T,F> Specification<T>
SpecificationFactory.isEitherThe(F... values)
           
static
<T> Specification<T>
SpecificationFactory.isEitherThe(Specification<T>... specifications)
           
static Specification<?> SpecificationFactory.isEmpty()
           
static
<E extends java.lang.Enum>
Specification<java.lang.String>
SpecificationFactory.isEnum(java.lang.Class<E> enumClass)
           
static Specification<java.lang.String> SpecificationFactory.isEqualIgnoringCase(java.lang.String string)
           
static
<T> Specification<T>
SpecificationFactory.isEqualTo(T value)
           
static Specification<java.lang.Boolean> SpecificationFactory.isFalse()
           
static
<T> Specification<T>
SpecificationFactory.isFrom(Specification<T> specification)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isGreaterThan(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isGreaterThanOrEqualTo(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isLessThan(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.isLessThanOrEqualTo(T value)
           
static Specification<?> SpecificationFactory.isNotNull()
           
static Specification<?> SpecificationFactory.isNull()
           
static
<T,F> Specification<T>
SpecificationFactory.isOneOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.isOneOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.isSatisfiedBy(Specification<T> specification)
           
static Specification<java.lang.Boolean> SpecificationFactory.isTrue()
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.lessThan(T value)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.lessThanOrEqualTo(T value)
           
static Specification<java.lang.String> SpecificationFactory.like(java.lang.String wildcardExpression)
           
static Specification<java.lang.String> SpecificationFactory.matches(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesRegex(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesRegularExpression(java.lang.String regularExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesWildcardExpression(java.lang.String wildcardExpression)
           
static Specification<java.lang.String> SpecificationFactory.matchesWildcardExpressionIgnoringCase(java.lang.String wildcardExpression)
           
static
<T extends java.lang.Comparable>
Specification<T>
SpecificationFactory.moreThan(T value)
           
static
<T> Specification<T>
SpecificationFactory.neitherOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.not(Specification<T> specification)
           
static
<T> Specification<T>
SpecificationFactory.not(T object)
           
static
<T> Specification<T>
SpecificationFactory.objectEqualTo(T value)
           
static
<T,F> Specification<T>
SpecificationFactory.oneOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.oneOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.shouldBe(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.shouldBeAllOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.shouldBeBoth(Specification<T>... specifications)
           
static
<T,F> Specification<T>
SpecificationFactory.shouldBeEitherOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.shouldBeEitherOf(Specification<T>... specifications)
           
static
<T,F> Specification<T>
SpecificationFactory.shouldBeOneOf(F... values)
           
static
<T> Specification<T>
SpecificationFactory.shouldBeOneOf(Specification<T>... specifications)
           
 

Methods in net.sourceforge.domian.specification with parameters of type Specification
static
<T> Specification<T>
SpecificationFactory.a(Specification<T> specification)
           
static
<T> Specification<T>
SpecificationFactory.allOf(Specification<T>... specifications)
           
static
<T> Specification<T>
SpecificationFactory.an(Specification<T> specification)
           
 CompositeSpecification<T> Specification.and(Specification<? super T> otherSpecification)
          Creates a conjunction of two specifications:
  • This composite specification
  • A parameterized specification based on the java.lang.reflect.AccessibleObject name parameter and the accompanying specification parameter
  • <F> CompositeSpecification<T>
    CompositeSpecification.and(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Creates a conjunction of two specifications:
  • This composite specification
  • A parameterized specification based on the java.lang.reflect.AccessibleObject name parameter and the accompanying specification parameter
  • static
    <T> Specification<T>
    SpecificationFactory.anyOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.are(Specification<T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.both(Specification<T>... specifications)
               
    static java.util.List<java.lang.String> Specification2JpqlConverter.convert2DeleteStatement(Specification specification, java.util.List<java.lang.String> validTableNameList)
               
    static java.lang.String Specification2HqlConverter.convertSpecification2HqlQuery(Specification<? extends Entity> specification)
              An attempt to convert Entity-type Specification to polymorphic-friendly Hibernate Query language (HQL) query expression.
    static
    <T> Specification<T>
    SpecificationFactory.either(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.eitherOf(Specification<T>... specifications)
               
    static Specification<?> SpecificationFactory.hasSize(Specification<java.lang.Integer> collectionSpecification)
               
    static Specification<?> SpecificationFactory.hasSizeOf(Specification<java.lang.Integer> collectionSpecification)
               
    static Specification<?> SpecificationFactory.haveSize(Specification<java.lang.Integer> collectionSpecification)
               
    static Specification<?> SpecificationFactory.haveSizeOf(Specification<java.lang.Integer> collectionSpecification)
               
    static
    <T> Specification<T>
    SpecificationFactory.in(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.is(Specification<T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.isA(Specification<T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.isAllOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.isAn(Specification<T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.isBoth(Specification<T>... specifications)
               
     java.lang.Boolean Specification.isDisjointWith(Specification<?> otherSpecification)
              Two specifications are disjoint if the two sets of satisfiable objects have no objects in common.
    static
    <T> Specification<T>
    SpecificationFactory.isEither(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.isEitherOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.isEitherThe(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.isFrom(Specification<T> specification)
               
     java.lang.Boolean Specification.isGeneralizationOf(Specification<? extends T> otherSpecification)
              Specification subsumption.
    static
    <T> Specification<T>
    SpecificationFactory.isOneOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.isSatisfiedBy(Specification<T> specification)
               
     java.lang.Boolean Specification.isSpecialCaseOf(Specification<? super T> otherSpecification)
              Specification subsumption.
    static
    <T> Specification<T>
    SpecificationFactory.neitherOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.not(Specification<T> specification)
               
    static
    <T> Specification<T>
    SpecificationFactory.oneOf(Specification<T>... specifications)
               
     CompositeSpecification<T> Specification.or(Specification<? super T> otherSpecification)
              Creates a disjunction out of two specifications:
  • This composite specification
  • The given specification parameter
  • <F> CompositeSpecification<T>
    CompositeSpecification.or(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Creates a disjunction of two specifications:
  • This composite specification
  • A parameterized specification based on the java.lang.reflect.AccessibleObject name parameter and the accompanying specification parameter
  • static
    <T> Specification<T>
    SpecificationFactory.shouldBe(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.shouldBeAllOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.shouldBeBoth(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.shouldBeEitherOf(Specification<T>... specifications)
               
    static
    <T> Specification<T>
    SpecificationFactory.shouldBeOneOf(Specification<T>... specifications)
               
    static java.lang.Boolean SpecificationUtils.typeSafeIsSatisfiedBy(Specification specification, java.lang.Object candidate)
              Dynamic type-safe version of Specification.isSatisfiedBy().
    static
    <T extends Entity>
    void
    SpecificationUtils.updateEntityState(T entity, Specification<?> deltaSpecification)
              Updates given entity with given value bound specifications.
    <F> CompositeSpecification<T>
    Specification.where(java.lang.String accessibleObjectName, Specification<F> accessibleObjectSpecification)
              Alias of and method.
     



    Copyright © 2006-2010. All Rights Reserved.