-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #334 from dchallas/develop
[JPA] Permettre de personnaliser l'interface dont héritent les daos
- Loading branch information
Showing
19 changed files
with
164 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...tors/jpa/src/main/java/topmodel/jpa/sample/demo/daos/repository/CustomCrudRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package topmodel.jpa.sample.demo.daos.repository; | ||
|
||
import org.springframework.data.repository.CrudRepository; | ||
|
||
public interface CustomCrudRepository<T, ID> extends CrudRepository<T, ID> { | ||
} |
5 changes: 5 additions & 0 deletions
5
.../generators/jpa/src/main/java/topmodel/jpa/sample/demo/daos/securite/profil/DroitDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package topmodel.jpa.sample.demo.daos.securite.profil; | ||
|
||
public interface DroitDAO extends AbstractDroitDAO { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...generators/jpa/src/main/java/topmodel/jpa/sample/demo/daos/securite/profil/ProfilDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package topmodel.jpa.sample.demo.daos.securite.profil; | ||
|
||
public interface ProfilDAO extends AbstractProfilDAO { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
...erators/jpa/src/main/java/topmodel/jpa/sample/demo/daos/securite/profil/TypeDroitDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package topmodel.jpa.sample.demo.daos.securite.profil; | ||
|
||
public interface TypeDroitDAO extends AbstractTypeDroitDAO { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
.../src/main/java/topmodel/jpa/sample/demo/daos/securite/utilisateur/TypeUtilisateurDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package topmodel.jpa.sample.demo.daos.securite.utilisateur; | ||
|
||
public interface TypeUtilisateurDAO extends AbstractTypeUtilisateurDAO { | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
.../jpa/src/main/java/topmodel/jpa/sample/demo/daos/securite/utilisateur/UtilisateurDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package topmodel.jpa.sample.demo.daos.securite.utilisateur; | ||
|
||
public interface UtilisateurDAO extends AbstractUtilisateurDAO { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...jpa/src/main/javagen/topmodel/jpa/sample/demo/daos/securite/profil/AbstractProfilDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//// | ||
//// ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! | ||
//// | ||
|
||
package topmodel.jpa.sample.demo.daos.securite.profil; | ||
|
||
import org.springframework.data.repository.NoRepositoryBean; | ||
|
||
import topmodel.jpa.sample.demo.daos.repository.CustomCrudRepository; | ||
import topmodel.jpa.sample.demo.entities.securite.profil.Profil; | ||
|
||
|
||
@NoRepositoryBean | ||
interface AbstractProfilDAO extends CustomCrudRepository<Profil, Integer> { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
...erators/jpa/src/main/javagen/topmodel/jpa/sample/demo/daos/securite/profil/ProfilDAO.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...in/javagen/topmodel/jpa/sample/demo/daos/securite/utilisateur/AbstractUtilisateurDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//// | ||
//// ATTENTION CE FICHIER EST GENERE AUTOMATIQUEMENT ! | ||
//// | ||
|
||
package topmodel.jpa.sample.demo.daos.securite.utilisateur; | ||
|
||
import org.springframework.data.repository.NoRepositoryBean; | ||
|
||
import topmodel.jpa.sample.demo.daos.repository.CustomCrudRepository; | ||
import topmodel.jpa.sample.demo.entities.securite.utilisateur.Utilisateur; | ||
|
||
|
||
@NoRepositoryBean | ||
interface AbstractUtilisateurDAO extends CustomCrudRepository<Utilisateur, Integer> { | ||
|
||
} |
14 changes: 0 additions & 14 deletions
14
...a/src/main/javagen/topmodel/jpa/sample/demo/daos/securite/utilisateur/UtilisateurDAO.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters