Interface NewsletterSubscriptionFlowService
- All Known Implementing Classes:
NewsletterSubscriptionFlowServiceImpl
public interface NewsletterSubscriptionFlowService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowCreation
(String entityName) getExistentNewsletterSubscription
(String uuid, String entityName) loadEntityForForm
(String uuid, String entityName, String formUri, String entityUri) void
save
(RebindValue[] rebindValues, HashMap<String, String> params) void
sendInfoMail
(String email, HashMap<String, String> params) void
unsubscribe
(String uuid, String entityName)
-
Method Details
-
loadEntityForForm
EntityFormData loadEntityForForm(String uuid, String entityName, String formUri, String entityUri) throws Exception - Throws:
Exception
-
allowCreation
-
save
void save(RebindValue[] rebindValues, HashMap<String, String> params) throws UnresolvableUriException, UriStoreException, RebindException, URISyntaxException, PersistException, InterruptedException -
getExistentNewsletterSubscription
- Throws:
PersistException
-
unsubscribe
- Throws:
PersistException
InterruptedException
-
sendInfoMail
void sendInfoMail(String email, HashMap<String, String> params) throws PersistException, InterruptedException, UnsupportedEncodingException, jakarta.mail.internet.AddressException, MailException- Throws:
PersistException
InterruptedException
UnsupportedEncodingException
jakarta.mail.internet.AddressException
MailException
-