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

Packages that use Specification
net.sourceforge.domian.factory   
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 Factory.create(Specification<T> specification)
          Alias of createObjectSpecifiedBy().
 T Factory.createObjectSpecifiedBy(Specification<T> specification)
           
 

Uses of Specification in net.sourceforge.domian.repository
 

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

Methods in net.sourceforge.domian.repository that return types with arguments of type Specification
 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> 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
<V extends T>
PartitionRepository<V>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification)
          Adds a new partition to this repository.
<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>
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification, java.lang.String repositoryId)
          Adds a new partition to this repository.
<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)
           
<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>
Repository.findAllEntitiesSpecifiedBy(Specification<V> specification)
          Finds and returns all entities approved by the given specification.
<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
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>
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
Repository.removeAllEntitiesSpecifiedBy(Specification<V> specification)
          Removes all entities approved by the given specification.
 void PartitionRepository.setPartitionSpecification(Specification<T> specification)
          This method applies to this partition only!
 void PartitionRepository.setSuperPartitionSpecification(Specification<? super T> specification)
          This method applies to this partition only!
<V extends T>
void
Repository.update(V entity, Specification<?> deltaSpecification)
          Updates an entity.
<V extends T>
void
AbstractRepository.update(V entity, Specification<?> deltaSpecification)
           
 

Method parameters in net.sourceforge.domian.repository with type arguments of type Specification
 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
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.
 

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
    <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 © 2009-2010. All Rights Reserved.