-
Notifications
You must be signed in to change notification settings - Fork 0
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 #12 from diegosneves/feat/i11
feat/i11 [CORE] - Desenvolvimento de Interfaces para Repositórios e Serviços voltados à Criação de Entidades
- Loading branch information
Showing
34 changed files
with
1,961 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ | |
* </pre> | ||
* | ||
* @author diegosneves | ||
* @since 1.0.0 | ||
*/ | ||
@Configuration | ||
public class CorsConfig { | ||
|
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
* <p> | ||
* | ||
* @author diegosneves | ||
* @since 1.0.0 | ||
*/ | ||
@Configuration | ||
public class OpenApiConfig { | ||
|
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
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
29 changes: 29 additions & 0 deletions
29
...neves/github/conectardoacoes/core/domain/shelter/shared/repository/ShelterRepository.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,29 @@ | ||
package diegosneves.github.conectardoacoes.core.domain.shelter.shared.repository; | ||
|
||
import diegosneves.github.conectardoacoes.core.domain.shelter.entity.Shelter; | ||
import diegosneves.github.conectardoacoes.core.domain.shelter.entity.ShelterContract; | ||
import diegosneves.github.conectardoacoes.core.repository.RepositoryContract; | ||
|
||
/** | ||
* A interface {@link ShelterRepository} herda da interface {@link RepositoryContract}. | ||
* Ela define o contrato para um repositório que persiste e recupera as entidades {@link ShelterContract}. | ||
* <p> | ||
* Tem as seguintes operações básicas: | ||
* - Encontrar uma entidade {@link Shelter} pelo seu identificador único | ||
* - Encontrar todas as instâncias da entidade {@link Shelter} | ||
* - Salvar uma instância da entidade {@link Shelter} | ||
* - Deletar uma entidade {@link Shelter} através seu identificador único | ||
* | ||
* <p> | ||
* O uso desta interface é específico para operações relacionados com objeto {@link ShelterContract} | ||
* e as suas implementações devem ser consideradas para trabalhar com dados da entidade Shelter. | ||
* <p> | ||
* | ||
* @author diegoneves | ||
* @since 1.0.0 | ||
* @see RepositoryContract | ||
* @see Shelter | ||
*/ | ||
public interface ShelterRepository extends RepositoryContract<ShelterContract> { | ||
|
||
} |
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
Oops, something went wrong.