Commit 51967aa8 authored by Matija Obreza's avatar Matija Obreza
Browse files

Java package organization

parent d1f12782
......@@ -14,14 +14,14 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.Collection;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Accession;
import org.genesys2.rest.common.model.genesys.Taxonomy;
import org.genesys2.rest.common.model.impl.FaoInstitute;
import org.genesys2.server.common.model.genesys.Accession;
import org.genesys2.server.common.model.genesys.Taxonomy;
import org.genesys2.server.common.model.impl.FaoInstitute;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
......
......@@ -14,14 +14,14 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Accession;
import org.genesys2.rest.common.model.genesys.AccessionTrait;
import org.genesys2.rest.common.model.genesys.Metadata;
import org.genesys2.rest.common.model.genesys.Method;
import org.genesys2.server.common.model.genesys.Accession;
import org.genesys2.server.common.model.genesys.AccessionTrait;
import org.genesys2.server.common.model.genesys.Metadata;
import org.genesys2.server.common.model.genesys.Method;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
......
......@@ -14,9 +14,9 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.impl.ActivityPost;
import org.genesys2.server.common.model.impl.ActivityPost;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ActivityPostRepository extends JpaRepository<ActivityPost, Long> {
......
......@@ -14,9 +14,9 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.impl.Article;
import org.genesys2.server.common.model.impl.Article;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ArticleRepository extends JpaRepository<Article, Long> {
......
......@@ -14,11 +14,11 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.impl.Country;
import org.genesys2.server.common.model.impl.Country;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
......
......@@ -14,11 +14,11 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.impl.Crop;
import org.genesys2.server.common.model.impl.Crop;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
......
......@@ -14,12 +14,12 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.impl.Crop;
import org.genesys2.rest.common.model.impl.CropRule;
import org.genesys2.server.common.model.impl.Crop;
import org.genesys2.server.common.model.impl.CropRule;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CropRuleRepository extends JpaRepository<CropRule, Long> {
......
......@@ -14,13 +14,13 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Taxonomy;
import org.genesys2.rest.common.model.impl.Crop;
import org.genesys2.rest.common.model.impl.CropTaxonomy;
import org.genesys2.server.common.model.genesys.Taxonomy;
import org.genesys2.server.common.model.impl.Crop;
import org.genesys2.server.common.model.impl.CropTaxonomy;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
......
......@@ -14,13 +14,13 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.impl.Dataset;
import org.genesys2.rest.common.model.impl.DatasetDescriptor;
import org.genesys2.rest.common.model.impl.Descriptor;
import org.genesys2.server.common.model.impl.Dataset;
import org.genesys2.server.common.model.impl.DatasetDescriptor;
import org.genesys2.server.common.model.impl.Descriptor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
......
......@@ -14,9 +14,9 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.impl.Dataset;
import org.genesys2.server.common.model.impl.Dataset;
import org.springframework.data.jpa.repository.JpaRepository;
public interface DatasetRepository extends JpaRepository<Dataset, Long> {
......
......@@ -14,9 +14,9 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.impl.Descriptor;
import org.genesys2.server.common.model.impl.Descriptor;
import org.springframework.data.jpa.repository.JpaRepository;
public interface DescriptorRepository extends JpaRepository<Descriptor, Long> {
......
......@@ -14,13 +14,13 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.Collection;
import java.util.List;
import org.genesys2.rest.common.model.impl.Country;
import org.genesys2.rest.common.model.impl.FaoInstitute;
import org.genesys2.server.common.model.impl.Country;
import org.genesys2.server.common.model.impl.FaoInstitute;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
......
......@@ -15,7 +15,7 @@
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
public interface GenesysLowlevelRepository {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import javax.sql.DataSource;
......
......@@ -14,13 +14,13 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Metadata;
import org.genesys2.rest.common.model.genesys.MetadataMethod;
import org.genesys2.rest.common.model.genesys.Method;
import org.genesys2.server.common.model.genesys.Metadata;
import org.genesys2.server.common.model.genesys.MetadataMethod;
import org.genesys2.server.common.model.genesys.Method;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
......
......@@ -14,11 +14,11 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Metadata;
import org.genesys2.server.common.model.genesys.Metadata;
import org.springframework.data.jpa.repository.JpaRepository;
public interface MetadataRepository extends JpaRepository<Metadata, Long> {
......
......@@ -14,12 +14,12 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.genesys.Method;
import org.genesys2.rest.common.model.genesys.Parameter;
import org.genesys2.server.common.model.genesys.Method;
import org.genesys2.server.common.model.genesys.Parameter;
import org.springframework.data.jpa.repository.JpaRepository;
public interface MethodRepository extends JpaRepository<Method, Long> {
......
......@@ -14,9 +14,9 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.impl.Organization;
import org.genesys2.server.common.model.impl.Organization;
import org.springframework.data.jpa.repository.JpaRepository;
public interface OrganizationRepository extends JpaRepository<Organization, Long> {
......
......@@ -14,10 +14,10 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import org.genesys2.rest.common.model.genesys.Parameter;
import org.genesys2.rest.common.model.impl.Crop;
import org.genesys2.server.common.model.genesys.Parameter;
import org.genesys2.server.common.model.impl.Crop;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
......
......@@ -14,11 +14,11 @@
* limitations under the License.
**/
package org.genesys2.rest.common.persistence.domain;
package org.genesys2.server.common.persistence.domain;
import java.util.List;
import org.genesys2.rest.common.model.impl.SparseData;
import org.genesys2.server.common.model.impl.SparseData;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment