#342 - Expanded copyright headers to 2018.

Removed trailing whitespace in touched files.
This commit is contained in:
Oliver Gierke
2018-02-22 11:42:36 +01:00
parent 20c910183e
commit d854c6d084
351 changed files with 654 additions and 654 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2017 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ public class Application extends JpaBaseConfiguration {
super(dataSource, properties, jtaTransactionManagerProvider, transactionManagerCustomizers);
}
/*
/*
* (non-Javadoc)
* @see org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration#createJpaVendorAdapter()
*/
@@ -60,7 +60,7 @@ public class Application extends JpaBaseConfiguration {
return new EclipseLinkJpaVendorAdapter();
}
/*
/*
* (non-Javadoc)
* @see org.springframework.boot.autoconfigure.orm.jpa.JpaBaseConfiguration#getVendorProperties()
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2017 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.test.context.junit4.SpringRunner;
/**
* Integration test for {@link CustomerRepository}.
*
*
* @author Oliver Gierke
*/
@RunWith(SpringRunner.class)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener;
/**
* User domain class that uses auditing functionality of Spring Data that can either be aquired implementing
* {@link Auditable} or extend {@link AbstractAuditable}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.data.domain.AuditorAware;
* Dummy implementation of {@link AuditorAware}. It will return the configured {@link AuditableUser} as auditor on every
* call to {@link #getCurrentAuditor()}. Normally you would access the applications security subsystem to return the
* current user.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.context.annotation.Bean;
/**
* Java config to use Spring Data JPA alongside the Spring caching support.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* User repository using Spring's caching abstraction.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.data.jpa.domain.AbstractPersistable;
/**
* Sample user class.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -51,7 +51,7 @@ public class User extends AbstractPersistable<Long> {
/**
* Returns the username.
*
*
* @return
*/
public String getUsername() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Sample configuration to bootstrap Spring Data JPA through JavaConfig
*
*
* @author Thomas Darimont
* @author Oliver Gierke
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.data.jpa.domain.AbstractPersistable;
/**
* Sample user class.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -51,7 +51,7 @@ public class User extends AbstractPersistable<Long> {
/**
* Returns the username.
*
*
* @return
*/
public String getUsername() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Repository interface for {@link User} instances. Provides basic CRUD operations due to the extension of
* {@link JpaRepository}. Includes custom implemented functionality by extending {@link UserRepositoryCustom}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -33,7 +33,7 @@ public interface UserRepository extends CrudRepository<User, Long>, UserReposito
/**
* Find the user with the given username. This method will be translated into a query using the
* {@link javax.persistence.NamedQuery} annotation at the {@link User} class.
*
*
* @param username
* @return
*/
@@ -42,7 +42,7 @@ public interface UserRepository extends CrudRepository<User, Long>, UserReposito
/**
* Find all users with the given lastname. This method will be translated into a query by constructing it directly
* from the method name as there is no other query declared.
*
*
* @param lastname
* @return
*/
@@ -51,7 +51,7 @@ public interface UserRepository extends CrudRepository<User, Long>, UserReposito
/**
* Returns all users with the given firstname. This method will be translated into a query using the one declared in
* the {@link Query} annotation declared one.
*
*
* @param firstname
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@ import java.util.List;
/**
* Interface for repository functionality that ought to be implemented manually.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -27,7 +27,7 @@ interface UserRepositoryCustom {
/**
* Custom repository operation.
*
*
* @return
*/
List<User> myCustomBatchOperation();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,26 +24,26 @@ import javax.persistence.criteria.CriteriaQuery;
/**
* Implementation fo the custom repository functionality declared in {@link UserRepositoryCustom} based on JPA. To use
* this implementation in combination with Spring Data JPA you can either register it programatically:
*
*
* <pre>
* EntityManager em = ... // Obtain EntityManager
*
*
* UserRepositoryCustom custom = new UserRepositoryImpl();
* custom.setEntityManager(em);
*
*
* RepositoryFactorySupport factory = new JpaRepositoryFactory(em);
* UserRepository repository = factory.getRepository(UserRepository.class, custom);
* </pre>
*
*
* Using the Spring namespace the implementation will just get picked up due to the classpath scanning for
* implementations with the {@code Impl} postfix.
*
*
* <pre>
* &lt;jpa:repositories base-package=&quot;com.acme.repository&quot; /&gt;
* </pre>
*
*
* If you need to manually configure the custom instance see {@link UserRepositoryImplJdbc} for an example.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -53,7 +53,7 @@ class UserRepositoryImpl implements UserRepositoryCustom {
/**
* Configure the entity manager to be used.
*
*
* @param em the {@link EntityManager} to set.
*/
public void setEntityManager(EntityManager em) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -33,18 +33,18 @@ import org.springframework.stereotype.Component;
* <p>
* As you need to hand the instance a {@link javax.sql.DataSource} or
* {@link org.springframework.jdbc.core.simple.SimpleJdbcTemplate} you manually need to declare it as Spring bean:
*
*
* <pre>
* &lt;jpa:repository base-package=&quot;com.acme.repository&quot; /&gt;
*
*
* &lt;bean id=&quot;userRepositoryImpl&quot; class=&quot;...UserRepositoryJdbcImpl&quot;&gt;
* &lt;property name=&quot;dataSource&quot; ref=&quot;dataSource&quot; /&gt;
* &lt;/bean&gt;
* </pre>
*
*
* Using {@code userRepositoryImpl} will cause the repository instance get this bean injected for custom repository
* logic as the default postfix for custom DAO instances is {@code Impl}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@ import org.springframework.data.repository.NoRepositoryBean;
/**
* A base repository interface declaring a custom method shared amongst all repositories.
*
*
* @author Oliver Gierke
* @see ExtendedJpaRepository
* @soundtrack Tim Neuhaus - As life found you (The Cabinet)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
* Sample configuration to bootstrap Spring Data JPA through JavaConfig. Note how Spring Data JPA is configured with a
* custom repository base class. This causes all repository interfaces being found for this configuration to use the
* configured class as base repository.
*
*
* @author Oliver Gierke
* @soundtrack Tim Neuhaus - As life found you (The Cabinet)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ class ExtendedJpaRepository<T> extends SimpleJpaRepository<T, Long> implements B
/**
* Creates a new {@link ExtendedJpaRepository} for the given {@link JpaEntityInformation} and {@link EntityManager}.
*
*
* @param entityInformation must not be {@literal null}.
* @param entityManager must not be {@literal null}.
*/
@@ -36,7 +36,7 @@ class ExtendedJpaRepository<T> extends SimpleJpaRepository<T, Long> implements B
super(entityInformation, entityManager);
}
/*
/*
* (non-Javadoc)
* @see example.springdata.jpa.customall.BaseRepository#customMethod()
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import javax.persistence.Id;
/**
* Sample user class.
*
*
* @author Oliver Gierke
* @soundtrack Tim Neuhaus - As life found you (The Cabinet)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@ package example.springdata.jpa.customall;
/**
* Repository interface for {@link User} instances.
*
*
* @author Oliver Gierke
* @soundtrack Tim Neuhaus - As life found you (The Cabinet)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Uses a projection interface to indicate the fields to be returned. As the projection doesn't use any dynamic
* fields, the query execution will be restricted to only the fields needed by the projection.
*
*
* @return
*/
Collection<CustomerProjection> findAllProjectedBy();
@@ -41,7 +41,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
* When a projection is used that contains dynamic properties (i.e. SpEL expressions in an {@link Value} annotation),
* the normal target entity will be loaded but dynamically projected so that the target can be referred to in the
* expression.
*
*
* @return
*/
Collection<CustomerSummary> findAllSummarizedBy();
@@ -49,7 +49,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Projection interfaces can be used with manually declared queries, too. Make sure you alias the projects matching
* the projection fields.
*
*
* @return
*/
@Query("select c.firstname as firstname, c.lastname as lastname from Customer c")
@@ -58,14 +58,14 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Uses a concrete DTO type to indicate the fields to be returned. This gets translated into a constructor expression
* in the query.
*
*
* @return
*/
Collection<CustomerDto> findAllDtoedBy();
/**
* Passes in the projection type dynamically (either interface or DTO).
*
*
* @param firstname
* @param projection
* @return
@@ -74,7 +74,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Projection for a single entity.
*
*
* @param id
* @return
*/
@@ -82,7 +82,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Dynamic projection for a single entity.
*
*
* @param id
* @param projection
* @return
@@ -91,7 +91,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* Projections used with pagination.
*
*
* @param pageable
* @return
*/
@@ -99,7 +99,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* A DTO projection using a constructor expression in a manually declared query.
*
*
* @param firstname
* @return
*/
@@ -108,7 +108,7 @@ public interface CustomerRepository extends CrudRepository<Customer, Long> {
/**
* A projection wrapped into an {@link Optional}.
*
*
* @param lastname
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Simple repository interface for {@link User} instances. The interface is used to declare so called query methods,
* methods to retrieve single entities or collections of them.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
* @author Christoph Strobl
@@ -37,7 +37,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Find the user with the given username. This method will be translated into a query using the
* {@link javax.persistence.NamedQuery} annotation at the {@link User} class.
*
*
* @param lastname
* @return
*/
@@ -45,7 +45,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Uses {@link Optional} as return and parameter type.
*
*
* @param username
* @return
*/
@@ -54,7 +54,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Find all users with the given lastname. This method will be translated into a query by constructing it directly
* from the method name as there is no other query declared.
*
*
* @param lastname
* @return
*/
@@ -63,7 +63,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Returns all users with the given firstname. This method will be translated into a query using the one declared in
* the {@link Query} annotation declared one.
*
*
* @param firstname
* @return
*/
@@ -73,7 +73,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Returns all users with the given name as first- or lastname. This makes the query to method relation much more
* refactoring-safe as the order of the method parameters is completely irrelevant.
*
*
* @param name
* @return
*/
@@ -82,7 +82,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Returns the total number of entries deleted as their lastnames match the given one.
*
*
* @param lastname
* @return
*/
@@ -91,7 +91,7 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Returns a {@link Slice} counting a maximum number of {@link Pageable#getPageSize()} users matching given criteria
* starting at {@link Pageable#getOffset()} without prior count of the total number of elements available.
*
*
* @param lastname
* @param page
* @return
@@ -100,23 +100,23 @@ public interface SimpleUserRepository extends CrudRepository<User, Long> {
/**
* Return the first 2 users ordered by their lastname asc.
*
*
* <pre>
* Example for findFirstK / findTopK functionality.
* </pre>
*
*
* @return
*/
List<User> findFirst2ByOrderByLastnameAsc();
/**
* Return the first 2 users ordered by the given {@code sort} definition.
*
*
* <pre>
* This variant is very flexible because one can ask for the first K results when a ASC ordering
* is used as well as for the last K results when a DESC ordering is used.
* </pre>
*
*
* @param sort
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.data.jpa.domain.AbstractPersistable;
/**
* Sample user class.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -51,7 +51,7 @@ public class User extends AbstractPersistable<Long> {
/**
* Returns the username.
*
*
* @return
*/
public String getUsername() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import org.springframework.data.jpa.repository.support.JpaRepositoryFactory;
/**
* Test case showing how to use the basic {@link GenericDaoFactory}
*
*
* @author Oliver Gierke
*/
public class BasicFactorySetup {
@@ -45,7 +45,7 @@ public class BasicFactorySetup {
/**
* Creates a {@link SimpleUserRepository} instance.
*
*
* @throws Exception
*/
@Before

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licenseimport static org.junit.Assert.*;
@@ -35,7 +35,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* This unit tests shows plain usage of {@link SimpleJpaRepository}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test to show how to use {@link Cacheable} with a Spring Data repository.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test showing the basic usage of {@link UserRepository}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Intergration test showing the usage of a custom method implemented for all repositories
*
*
* @author Oliver Gierke
* @soundtrack Elen - It's you (Elen)
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration tests for {@link CustomerRepository} to show projection capabilities.
*
*
* @author Oliver Gierke
*/
@RunWith(SpringJUnit4ClassRunner.class)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test showing the basic usage of {@link SimpleUserRepository}.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
* @author Christoph Strobl

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,7 +27,7 @@ import org.springframework.scheduling.annotation.Async;
/**
* Repository to manage {@link Customer} instances.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -35,7 +35,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Special customization of {@link CrudRepository#findOne(java.io.Serializable)} to return a JDK 8 {@link Optional}.
*
*
* @param id
* @return
*/
@@ -43,7 +43,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Saves the given {@link Customer}.
*
*
* @param customer
* @return
*/
@@ -51,7 +51,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Sample method to derive a query from using JDK 8's {@link Optional} as return type.
*
*
* @param lastname
* @return
*/
@@ -59,7 +59,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Sample default method to show JDK 8 feature support.
*
*
* @param customer
* @return
*/
@@ -70,7 +70,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Sample method to demonstrate support for {@link Stream} as a return type with a custom query. The query is executed
* in a streaming fashion which means that the method returns as soon as the first results are ready.
*
*
* @return
*/
@Query("select c from Customer c")
@@ -79,7 +79,7 @@ public interface CustomerRepository extends Repository<Customer, Long> {
/**
* Sample method to demonstrate support for {@link Stream} as a return type with a derived query. The query is
* executed in a streaming fashion which means that the method returns as soon as the first results are ready.
*
*
* @return
*/
Stream<Customer> findAllByLastnameIsNotNull();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2016 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test to show the usage of Java 8 date time APIs with Spring Data JPA auditing.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import javax.persistence.StoredProcedureParameter;
/**
* Sample user class.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2013-2015 the original author or authors.
* Copyright 2013-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Simple repository interface for {@link User} instances. The interface is used to declare so called query methods,
* methods to retrieve single entities or collections of them.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/
@@ -31,7 +31,7 @@ public interface UserRepository extends CrudRepository<User, Long> {
/**
* Explicitly mapped to named stored procedure {@code User.plus1IO} in the {@link EntityManager}
*
*
* @see User
*/
@Procedure(name = "User.plus1")

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Intergration test showing the usage of JPA 2.1 stored procedures support through Spring Data repositories.
*
*
* @author Thomas Darimont
* @author Oliver Gierke
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
* {@link https://github.com/spring-projects/spring-boot/issues/5540} is fixed.
* {@link https://github.com/spring-projects/spring-boot/issues/5541} has been filed to improve the need for manual
* exclusions in general.
*
*
* @author Oliver Gierke
* @see example.springdata.jpa.multipleds.customer.CustomerConfig
* @see example.springdata.jpa.multipleds.order.OrderConfig

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ import org.springframework.util.Assert;
* Also, not that one cannot interact with both databases in a single, transactional method as transactions are thread
* bound in Spring an thus only a single transaction can be active in a single thread. See {@link Application#init()}
* for how to orchestrate the calls.
*
*
* @author Oliver Gierke
*/
@Component
@@ -53,7 +53,7 @@ public class DataInitializer {
/**
* Initializes a {@link Customer}.
*
*
* @return
*/
@Transactional("customerTransactionManager")
@@ -63,7 +63,7 @@ public class DataInitializer {
/**
* Initializes an {@link Order}.
*
*
* @param customer must not be {@literal null}.
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ import lombok.Value;
/**
* Simple domain class representing a {@link Customer}.
*
*
* @author Oliver Gierke
*/
@Entity

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import org.springframework.data.repository.CrudRepository;
/**
* Spring Data repository to manage {@link Customer}s.
*
*
* @author Oliver Gierke
*/
public interface CustomerRepository extends CrudRepository<Customer, Long> {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ import example.springdata.jpa.multipleds.customer.Customer.CustomerId;
/**
* Simple domain class representing an {@link Order}
*
*
* @author Oliver Gierke
*/
@Entity
@@ -60,7 +60,7 @@ public class Order {
/**
* Adds a {@link LineItem} to the {@link Order}.
*
*
* @param lineItem must not be {@literal null}.
*/
public void add(LineItem lineItem) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,14 +24,14 @@ import example.springdata.jpa.multipleds.customer.Customer.CustomerId;
/**
* Spring Data repository managing {@link Order}s.
*
*
* @author Oliver Gierke
*/
public interface OrderRepository extends CrudRepository<Order, Long> {
/**
* Returns all {@link Order}s for the {@link Customer} with the given identifier.
*
*
* @param id must not be {@literal null}.
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test for {@link CustomerRepository}.
*
*
* @author Oliver Gierke
*/
@RunWith(SpringRunner.class)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 the original author or authors.
* Copyright 2015-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test for {@link CustomerRepository}.
*
*
* @author Oliver Gierke
*/
@RunWith(SpringRunner.class)

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2017 the original author or authors.
* Copyright 2016-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2015 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2015 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2015 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,7 @@ interface SecureBusinessObjectRepository extends Repository<BusinessObject, Long
* {@link example.springdata.jpa.security.SecurityEvaluationContextExtension} in place we can safely access auth
* information provided by the Spring Security Context. The Spring Data Repository infrastructure will translate the
* given query string into the parameterized form: <code>
* select o from BusinessObject o where o.owner.emailAddress like ?
* select o from BusinessObject o where o.owner.emailAddress like ?
* </code> and set the the result SpEL expression evaluated at method invocation time as parameter value.
*
* @return
@@ -42,7 +42,7 @@ interface SecureBusinessObjectRepository extends Repository<BusinessObject, Long
/**
* Here we apply a dynamic filter condition in there query depending of the role of the current principal.
*
*
* @return
*/
@Query("select o from BusinessObject o where o.owner.id = ?#{principal.id} or 1=?#{hasRole('ROLE_ADMIN') ? 1 : 0}")

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2015 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2016 the original author or authors.
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ import org.springframework.transaction.annotation.Transactional;
/**
* Integration test to show the usage of Spring Security constructs within Repository query methods.
*
*
* @author Oliver Gierke
* @author Thomas Darimont
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,14 +24,14 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Repository to manage {@link Account} instances.
*
*
* @author Oliver Gierke
*/
public interface AccountRepository extends CrudRepository<Account, Long> {
/**
* Returns all accounts belonging to the given {@link Customer}.
*
*
* @param customer
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,14 +24,14 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Repository to manage {@link Customer} instances.
*
*
* @author Oliver Gierke
*/
public interface CustomerRepository extends CrudRepository<Customer, Long>, JpaSpecificationExecutor<Customer> {
/**
* Returns a page of {@link Customer}s with the given lastname.
*
*
* @param lastname
* @param pageable
* @return

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,14 +22,14 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Service interface for {@link Account}s.
*
*
* @author Oliver Gierke
*/
public interface AccountService {
/**
* Saves the given {@link Account}.
*
*
* @param account
* @return
*/
@@ -37,7 +37,7 @@ public interface AccountService {
/**
* Returns all {@link Account}s of the given {@link Customer}.
*
*
* @param customer
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Plain JPA implementation of {@link AccountService}.
*
*
* @author Oliver Gierke
*/
@Repository

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,7 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Service interface for {@link Customer}s.
*
*
* @author Oliver Gierke
*/
public interface CustomerService {
@@ -29,7 +29,7 @@ public interface CustomerService {
/**
* Returns the {@link Customer} with the given id or {@literal null} if no {@link Customer} with the given id was
* found.
*
*
* @param id
* @return
*/
@@ -37,7 +37,7 @@ public interface CustomerService {
/**
* Saves the given {@link Customer}.
*
*
* @param customer
* @return
*/
@@ -45,14 +45,14 @@ public interface CustomerService {
/**
* Returns all customers.
*
*
* @return
*/
List<Customer> findAll();
/**
* Returns the page of {@link Customer}s with the given index of the given size.
*
*
* @param page
* @param pageSize
* @return
@@ -61,7 +61,7 @@ public interface CustomerService {
/**
* Returns the page of {@link Customer}s with the given lastname and the given page index and page size.
*
*
* @param lastname
* @param page
* @param pageSize

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,7 @@ import example.springdata.jpa.showcase.core.Customer;
/**
* Plain JPA implementation of {@link CustomerService}.
*
*
* @author Oliver Gierke
*/
@Repository

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2016 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import com.querydsl.core.types.dsl.BooleanExpression;
/**
* Predicates for {@link Account}s.
*
*
* @author Oliver Gierke
*/
public class AccountPredicates {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ import org.springframework.data.repository.NoRepositoryBean;
/**
* Repository to manage {@link Account} instances.
*
*
* @author Oliver Gierke
*/
@NoRepositoryBean
@@ -35,7 +35,7 @@ public interface AccountRepository
/**
* Returns all accounts belonging to the given {@link Customer}.
*
*
* @param customer
* @return
*/

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Some files were not shown because too many files have changed in this diff Show More