Notification.java 1.85 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.apache.sling.commons.json.JSONObject
 */
package com.adobe.cq.mobile.notifications.impl;

import com.adobe.cq.mobile.notifications.impl.LocalizedNotification;
import com.adobe.cq.mobile.notifications.impl.NotificationState;
import com.adobe.cq.mobile.notifications.impl.exceptions.NotificationException;
import java.util.Calendar;
import java.util.Map;
import org.apache.sling.commons.json.JSONObject;

public interface Notification {
    public static final String PN_PLATFORMS = "platforms";
    public static final String PN_MESSAGE = "message";
    public static final String PN_ID = "id";
    public static final String PN_STATE = "state";
    public static final String PN_LAST_SENT = "lastSent";
    public static final String PN_TARGET_FILTER = "targetFilter";
    public static final String PN_PATH = "path";

    public String getId();

    public void setTitle(String var1) throws NotificationException;

    public String getTitle();

    public void addLocalizedNotification(LocalizedNotification var1) throws NotificationException;

    public Map<String, LocalizedNotification> getLocalizedNotifications();

    public LocalizedNotification getLocalizedNotification(String var1);

    public void setDescription(String var1) throws NotificationException;

    public String getDescription();

    public void setState(NotificationState var1);

    public NotificationState getState();

    public Calendar getLastSent();

    public void setFilterParameters(String var1);

    public String getFilterParameters();

    public void setPlatforms(String[] var1);

    public String[] getPlatforms();

    public String getPlatformsString();

    public void setPath(String var1);

    public String getPath();

    public JSONObject toJSONObject();

    public Map<String, Object> getProperties();
}