Recipe schema methods and events
Methods and events in the Recipe schema, including their parameters and
results.
Methods
The following tables describe methods and related parameters:
Method | Input arguments | Output arguments |
|---|---|---|
CreateRecipe Creates a new recipe in the store. |
|
|
DuplicateRecipe Duplicates an existing recipe with a new identifier. |
|
|
RenameRecipe Renames an existing recipe. |
|
|
DeleteRecipe Deletes an existing recipe from the store. |
|
|
Refactor Performs a refactor operation asynchronously. |
| None. This is the only async method. When the operation is
completed, an event (RefactorCompleted) is dispatched. |
GetDataItems Retrieves data items associated with a recipe. |
|
|
SetRecipeDataItemValue Sets the value of a specific data item in a recipe. |
|
|
SetRecipeMetadataValue Sets the value of a specific metadata field in a recipe. |
|
|
TransferFromEditModelToStore Transfers a recipe from the edit model to the store. |
|
|
TransferFromEditModelToTarget Transfers a recipe from the edit model to a target node. |
|
|
TransferFromStoreToEditModel Transfers a recipe from the store to the edit model. |
|
|
TransferFromStoreToTarget Transfers a recipe from the store to a target node. |
|
|
TransferFromTargetToEditModel Transfers a recipe from a target node to the edit model. |
|
|
TransferFromTargetToStore Transfers a recipe from a target node to the store. |
|
|
Method | Input arguments | Output arguments |
|---|---|---|
GetRecipes Retrieves a list of all recipes in the store. | No input arguments |
|
GetRecipeMetadataValue Retrieves the value of a specific metadata field in a recipe. |
|
|
GetRecipeMetadataValues Retrieves all metadata values associated with a recipe. | RecipeId [RecipeId] |
|
GetRecipeDataItemValue Retrieves the value of a specific data item in a recipe. |
|
|
CreateEditModel Creates an edit model for a recipe. |
|
|
TransferFromStores Transfers a recipe from the store to a target node. | RecipeId [RecipeId] |
|
TransferToStore Transfers a recipe to the store. |
|
|
TransferToTarget Transfers a recipe to a target node. |
|
|
TransferFromTarget Transfers a recipe from a target node to the store. |
|
|
SetDataItemValue Sets the value of a specific data item. |
|
|
Events
The Recipe schema includes the following events:
- RefactorCompleted
- Fired when the method Refactor is completed.
- RecipeApplicationEvent
- Fired when TransferFromStoreToTarget or TransferEditModelToTarget are completed.
Provide Feedback