|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | ||
---|---|---|
|
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification)
Adds a new partition to this repository. |
|
|
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification,
Repository<? super V> partitionRepository)
Adds a new partition to this repository. |
|
|
PartitionRepository.addPartitionFor(Specification<V> partitionSpecification,
java.lang.String repositoryId)
Adds a new partition to this repository. |
|
|
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)
|
|
|
Repository.find(Specification<V> specification)
Alias of findAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.find(Specification<V> specification)
|
|
|
Repository.findAll(Specification<V> specification)
Alias of findAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.findAll(Specification<V> specification)
|
|
|
Repository.findAllEntitiesSpecifiedBy(Specification<V> specification)
Finds and returns all entities approved by the given specification. |
|
|
PartitionRepository.findPartitionFor(Specification<V> specification)
|
|
|
Repository.findSingle(Specification<V> specification)
Alias of findSingleEntitySpecifiedBy(Specification) . |
|
|
AbstractRepository.findSingle(Specification<V> specification)
|
|
|
Repository.findSingleEntitySpecifiedBy(Specification<V> specification)
Finds and returns one single entity approved by the given specification. |
|
|
AbstractRepository.findSingleEntitySpecifiedBy(Specification<V> specification)
|
|
|
Repository.iterate(Specification<V> specification)
Alias of iterateAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.iterate(Specification<V> specification)
|
|
|
Repository.iterateAll(Specification<V> specification)
Alias of iterateAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.iterateAll(Specification<V> specification)
|
|
|
Repository.iterateAllEntitiesSpecifiedBy(Specification<V> specification)
Finds and returns all entities approved by the given specification. |
|
|
Repository.remove(Specification<V> specification)
Alias of removeAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.remove(Specification<V> specification)
|
|
|
Repository.removeAll(Specification<V> specification)
Alias of removeAllEntitiesSpecifiedBy(Specification) . |
|
|
AbstractRepository.removeAll(Specification<V> specification)
|
|
|
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! |
|
|
Repository.update(V entity,
Specification<?> deltaSpecification)
Updates an entity. |
|
|
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. |
|
|
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
|
SpecificationFactory.a(Specification<T> specification)
|
|
static Specification<java.util.Date> |
SpecificationFactory.after(java.lang.String dateString)
|
|
static
|
SpecificationFactory.after(T value)
|
|
static Specification<java.util.Date> |
SpecificationFactory.afterOrAtTheSameTimeAs(java.lang.String dateString)
|
|
static
|
SpecificationFactory.afterOrAtTheSameTimeAs(T dateOrLongValue)
|
|
static Specification<? extends Entity> |
SpecificationFactory.allEntities()
|
|
static Specification |
SpecificationFactory.allObjects()
|
|
static
|
SpecificationFactory.allOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.an(Specification<T> specification)
|
|
static
|
SpecificationFactory.anObjectEqualTo(T value)
|
|
static
|
SpecificationFactory.anyOf(F... values)
|
|
static
|
SpecificationFactory.anyOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.are(Specification<T> specification)
|
|
static Specification<java.util.Date> |
SpecificationFactory.at(java.util.Date date)
|
|
static
|
SpecificationFactory.atLeast(T value)
|
|
static
|
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
|
SpecificationFactory.before(T value)
|
|
static Specification<java.util.Date> |
SpecificationFactory.beforeOrAtTheSameTimeAs(java.lang.String dateString)
|
|
static
|
SpecificationFactory.beforeOrAtTheSameTimeAs(T dateOfLongValue)
|
|
static Specification<java.lang.String> |
SpecificationFactory.blankString()
|
|
static
|
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
|
SpecificationFactory.createEnumNameStringSpecification(java.lang.Class<E> enumClass)
|
|
static Specification<java.lang.String> |
SpecificationFactory.createEqualIgnoreCaseStringSpecification(java.lang.String string)
|
|
static
|
SpecificationFactory.createEqualSpecification(T value)
|
|
static
|
SpecificationFactory.createNotNullSpecification(java.lang.Class<T> type)
|
|
static Specification<?> |
SpecificationFactory.createTautology()
|
|
static
|
SpecificationUtils.createUniqueSpecificationFor(T entity)
|
|
static Specification<java.lang.Number> |
SpecificationFactory.defaultNumber()
|
|
static
|
SpecificationFactory.either(F... values)
|
|
static
|
SpecificationFactory.either(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.eitherOf(F... values)
|
|
static
|
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
|
SpecificationFactory.equalTo(T value)
|
|
static
|
SpecificationFactory.exactly(T value)
|
|
static
|
SpecificationFactory.greaterThan(T value)
|
|
static
|
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
|
SpecificationFactory.in(F... values)
|
|
static
|
SpecificationFactory.in(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.is(Specification<T> specification)
|
|
static
|
SpecificationFactory.is(T value)
|
|
static
|
SpecificationFactory.isA(Specification<T> specification)
|
|
static Specification<java.util.Date> |
SpecificationFactory.isAfter(java.lang.String dateString)
|
|
static
|
SpecificationFactory.isAfter(T value)
|
|
static Specification<java.util.Date> |
SpecificationFactory.isAfterOrAtTheSameTimeAs(java.lang.String dateString)
|
|
static
|
SpecificationFactory.isAfterOrAtTheSameTimeAs(T dateOrLongValue)
|
|
static
|
SpecificationFactory.isAllOf(Specification<T>... specifications)
|
|
static
|
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
|
SpecificationFactory.isBefore(T value)
|
|
static Specification<java.util.Date> |
SpecificationFactory.isBeforeOrAtTheSameTimeAs(java.lang.String dateString)
|
|
static
|
SpecificationFactory.isBeforeOrAtTheSameTimeAs(T dateOrLongValue)
|
|
static Specification<java.lang.String> |
SpecificationFactory.isBlankString()
|
|
static
|
SpecificationFactory.isBoth(Specification<T>... specifications)
|
|
static Specification<java.lang.String> |
SpecificationFactory.isDate(java.lang.String dateString)
|
|
static Specification<java.lang.Number> |
SpecificationFactory.isDefaultNumber()
|
|
static
|
SpecificationFactory.isEither(F... values)
|
|
static
|
SpecificationFactory.isEither(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isEitherOf(F... values)
|
|
static
|
SpecificationFactory.isEitherOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isEitherThe(F... values)
|
|
static
|
SpecificationFactory.isEitherThe(Specification<T>... specifications)
|
|
static Specification<?> |
SpecificationFactory.isEmpty()
|
|
static
|
SpecificationFactory.isEnum(java.lang.Class<E> enumClass)
|
|
static Specification<java.lang.String> |
SpecificationFactory.isEqualIgnoringCase(java.lang.String string)
|
|
static
|
SpecificationFactory.isEqualTo(T value)
|
|
static Specification<java.lang.Boolean> |
SpecificationFactory.isFalse()
|
|
static
|
SpecificationFactory.isFrom(Specification<T> specification)
|
|
static
|
SpecificationFactory.isGreaterThan(T value)
|
|
static
|
SpecificationFactory.isGreaterThanOrEqualTo(T value)
|
|
static
|
SpecificationFactory.isLessThan(T value)
|
|
static
|
SpecificationFactory.isLessThanOrEqualTo(T value)
|
|
static Specification<?> |
SpecificationFactory.isNotNull()
|
|
static Specification<?> |
SpecificationFactory.isNull()
|
|
static
|
SpecificationFactory.isOneOf(F... values)
|
|
static
|
SpecificationFactory.isOneOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isSatisfiedBy(Specification<T> specification)
|
|
static Specification<java.lang.Boolean> |
SpecificationFactory.isTrue()
|
|
static
|
SpecificationFactory.lessThan(T value)
|
|
static
|
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
|
SpecificationFactory.moreThan(T value)
|
|
static
|
SpecificationFactory.neitherOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.not(Specification<T> specification)
|
|
static
|
SpecificationFactory.not(T object)
|
|
static
|
SpecificationFactory.objectEqualTo(T value)
|
|
static
|
SpecificationFactory.oneOf(F... values)
|
|
static
|
SpecificationFactory.oneOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBe(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeAllOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeBoth(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeEitherOf(F... values)
|
|
static
|
SpecificationFactory.shouldBeEitherOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeOneOf(F... values)
|
|
static
|
SpecificationFactory.shouldBeOneOf(Specification<T>... specifications)
|
Methods in net.sourceforge.domian.specification with parameters of type Specification | ||
---|---|---|
static
|
SpecificationFactory.a(Specification<T> specification)
|
|
static
|
SpecificationFactory.allOf(Specification<T>... specifications)
|
|
static
|
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
|
|
|
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
|
SpecificationFactory.anyOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.are(Specification<T> specification)
|
|
static
|
SpecificationFactory.both(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.either(Specification<T>... specifications)
|
|
static
|
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
|
SpecificationFactory.in(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.is(Specification<T> specification)
|
|
static
|
SpecificationFactory.isA(Specification<T> specification)
|
|
static
|
SpecificationFactory.isAllOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isAn(Specification<T> specification)
|
|
static
|
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
|
SpecificationFactory.isEither(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isEitherOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isEitherThe(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isFrom(Specification<T> specification)
|
|
java.lang.Boolean |
Specification.isGeneralizationOf(Specification<? extends T> otherSpecification)
Specification subsumption. |
|
static
|
SpecificationFactory.isOneOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.isSatisfiedBy(Specification<T> specification)
|
|
java.lang.Boolean |
Specification.isSpecialCaseOf(Specification<? super T> otherSpecification)
Specification subsumption. |
|
static
|
SpecificationFactory.neitherOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.not(Specification<T> specification)
|
|
static
|
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 |
|
|
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
|
SpecificationFactory.shouldBe(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeAllOf(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeBoth(Specification<T>... specifications)
|
|
static
|
SpecificationFactory.shouldBeEitherOf(Specification<T>... specifications)
|
|
static
|
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
|
SpecificationUtils.updateEntityState(T entity,
Specification<?> deltaSpecification)
Updates given entity with given value bound specifications. |
|
|
Specification.where(java.lang.String accessibleObjectName,
Specification<F> accessibleObjectSpecification)
Alias of and method. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |