LocalizedNotification.java
1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* 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.exceptions.NotificationException;
import java.util.Locale;
import java.util.Map;
import org.apache.sling.commons.json.JSONObject;
public interface LocalizedNotification {
public static final String PN_LOCALE = "locale";
public static final String PN_TITLE = "title";
public static final String PN_MESSAGE = "message";
public static final String PN_LINK = "link";
public static final String PN_LINK_TEXT = "linkText";
public static final String KEY_DEFAULT_LOCALE = "en_US";
public static final String DEFAULT_LINK_TEXT = "OK";
public static final int MAX_TITLE_SIZE = 50;
public static final int MAX_MESSAGE_SIZE = 250;
public void setLocale(Locale var1) throws NotificationException;
public Locale getLocale();
public String getLocaleAsString();
public void setMessage(String var1) throws NotificationException;
public String getMessage();
public void setTitle(String var1) throws NotificationException;
public String getTitle();
public void setLink(String var1) throws NotificationException;
public String getLink();
public String getLinkText();
public void setLinkText(String var1) throws NotificationException;
public JSONObject toJSONObject();
public Map<String, Object> getProperties();
}