/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.wso2.carbon.identity.mgt.dto; import java.io.Serializable; import java.util.HashMap; import java.util.Map; /** * encapsulates recovery data such as email config that can be used to send */ public class NotificationDataDTO implements Serializable { private static final long serialVersionUID = 8789262544745847656L; private String userId; private String domainName; private String firstName; private String notification; private String notificationAddress; private String notificationCode; private String notificationType; private String notificationSubject; private boolean notificationSent; private Map transportHeaders = new HashMap(); public NotificationDataDTO() { } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getNotificationAddress() { return notificationAddress; } public void setNotificationAddress(String notificationAddress) { this.notificationAddress = notificationAddress; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getDomainName() { return domainName; } public void setDomainName(String domainName) { this.domainName = domainName; } public String getNotificationCode() { return notificationCode; } public void setNotificationCode(String notificationCode) { this.notificationCode = notificationCode; } public String getNotificationType() { return notificationType; } public void setNotificationType(String notificationType) { this.notificationType = notificationType; } public String getNotification() { return notification; } public void setNotification(String notification) { this.notification = notification; } public boolean isNotificationSent() { return notificationSent; } public void setNotificationSent(boolean notificationSent) { this.notificationSent = notificationSent; } public String getNotificationSubject() { return notificationSubject; } public void setNotificationSubject(String notificationSubject) { this.notificationSubject = notificationSubject; } public Map getTransportHeaders() { return transportHeaders; } public void setTransportHeaders(Map transportHeaders) { this.transportHeaders = transportHeaders; } }