Interface HvlNotificationTemplateOperationalManager
- All Known Implementing Classes:
HvlNotificationTemplateOperationalManagerImpl
@Service
@Validated
public interface HvlNotificationTemplateOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to activate mail template according to uuid.deactivateByUuid
(@NotBlank @Size(min=36,max=36) String uuid) Method used to deactivate mail template according to uuid.Delete notification template by uuid.void
save
(@NotNull @Valid HvlNotificationTemplateModel notificationTemplateModel) Save notification template.void
update
(@NotNull @Valid HvlNotificationTemplateModel notificationTemplateModel) Update notification template.
-
Method Details
-
save
Save notification template.- Parameters:
notificationTemplateModel
- the notification template model
-
update
Update notification template.- Parameters:
notificationTemplateModel
- the notification template model
-
delete
HvlNotificationTemplateModel delete(@NotBlank @Size(min=36,max=36) @PathVariable("uuid") @NotBlank @Size(min=36,max=36) String uuid) Delete notification template by uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl notification template model
-
activateByUuid
HvlNotificationTemplateModel activateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Method used to activate mail template according to uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl notification template model
-
deactivateByUuid
HvlNotificationTemplateModel deactivateByUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String uuid) Method used to deactivate mail template according to uuid.- Parameters:
uuid
- the uuid- Returns:
- the hvl notification template model
-