Skip to content

Commit ac76983

Browse files
authored
Update code-structure.md
1 parent 7dab4fd commit ac76983

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/code-structure.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,16 @@
1313
* [**Store**](modules/store-defintion.md) definition (**save**, **creator**, **updater** and **store-query**)
1414
* [**Store Query**](modules/store-query-defintion.md) main available query based on **Identity**, like `findByUuid`, `findAll`, `exist` and [more](/clef-workflow-api/quee-api-development/quee-api-development-store/src/main/kotlin/io/quee/api/develop/store/StoreQuery.kt).
1515
* [**Store Identity Creator**](modules/store-identity-creator-defintion.md) Based on structure, you need somewhere to create your identity like user, All business code use interface, so you don't need to define anonymous implementation for each identity, Only use `yourStoreInstance.identityCreator()` provided from store instance to create your identity based on your definition.
16-
* [**Store Identity Updater**](modules/store-identity-updater-defintion.md) Like [**Store Identity Creator**](modules/store-identity-creator-defintion.md), but in updater case only you need to define what is properties can be update, and you can use it from store instance `yourStoreInstance.run{ yourIdentity.identityUpdater() }`
16+
* [**Store Identity Updater**](modules/store-identity-updater-defintion.md) Like [**Store Identity Creator**](modules/store-identity-creator-defintion.md), but in updater case only you need to define what is properties can be update, and you can use it from store instance
17+
```java
18+
yourStoreInstance.run{
19+
yourIdentity.identityUpdater()
20+
}
21+
```
1722
* Development UseCase
1823
* There is two type of usecase:
1924
* **[CommandUseCase](/clef-workflow-api/quee-api-development/quee-api-development-usecases/src/main/kotlin/io/quee/api/develop/usecase/type/CommandUseCase.kt):** Used to execute some commands based on your request definition, and don't give me back anything.
2025
* **[FunctionalUseCase](/clef-workflow-api/quee-api-development/quee-api-development-usecases/src/main/kotlin/io/quee/api/develop/usecase/type/FunctionalUseCase.kt):** Used to process some business based on your request definition, and it will be back to you with response based on its definition.
2126
2227
23-
* TODO
28+
* TODO

0 commit comments

Comments
 (0)