Skip to content
Snippets Groups Projects

Refactor:Move prop includeNotificationSettingsLink up to VIPSMessage

Merged Tor-Einar Skog requested to merge feat/add-user-subscription-link-vipsutv-342 into develop
4 files
+ 28
20
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -51,9 +51,6 @@ public class MsgToSend {
// The lead paragraph (AKA "Ingress")
public String msgLeadParagraph;
// Include by default. If not needed, use constructor that makes it configurable
private Boolean includeNotificationSettingsLink = Boolean.TRUE;
/* (non-Javadoc)
* @see no.nibio.vips_msg_dist.dao.Test#getMsgSubject()
@@ -125,6 +122,7 @@ public class MsgToSend {
this.locale = locale;
}
/**
* @return The localized string **template** for generating a link to a user's page for
* managing notification subscription settings
@@ -137,17 +135,4 @@ public class MsgToSend {
}
/**
* If true, the SMS and mail messages will have this type of link appended at the end:
* "To edit your notification subscriptions, please use this link: https://logic.vips.nibio.no/user/notificationsubscription?userId=1"
* The server name can be configured with the system properties no.nibio.vips.logic.VIPSLOGIC_PROTOCOL and no.nibio.vips.logic.SERVER_NAME
* @return
*/
public Boolean getIncludeNotificationSettingsLink() {
return includeNotificationSettingsLink;
}
public void setIncludeNotificationSettingsLink(Boolean includeNotificationSettingsLink) {
this.includeNotificationSettingsLink = includeNotificationSettingsLink;
}
}
Loading