|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jcms.alert.AlertUtil
public class AlertUtil
Field Summary |
---|
Fields inherited from interface com.jalios.jcms.alert.AlertConstants |
---|
HTML_MARKUP, MSG_PREFIX_PROP, NAME_PREFIX_PROP, TEXT_MARKUP, WIKI_MARKUP |
Constructor Summary | |
---|---|
AlertUtil()
|
Method Summary | |
---|---|
static Map<String,String> |
getCommonParamMap(Member recipient,
String markup,
Data data,
Member author)
|
static String |
getDataLink(Data data,
Member recipient)
Returns the HTML link for the given data (with an absolute URL). |
static String |
getDataRepresentation(Data data,
String markup,
Member recipient)
Returns a representation of the given data suitable for the given markup. |
static String |
getDataText(Data data,
Member recipient)
Returns the textual representation for the given data. |
static String |
getHtmlAbstract(Publication pub,
Member recipient)
Returns an HTML representation of the abstract of the given publication. |
static String |
getHtmlDataList(Collection<? extends Data> dataColl,
Member recipient)
Returns an HTML UL list from the given data collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlertUtil()
Method Detail |
---|
public static String getDataRepresentation(Data data, String markup, Member recipient)
data
- the datamarkup
- the markuprecipient
- the recipient (for localisation of the data)
public static String getDataLink(Data data, Member recipient)
data
- the datarecipient
- the recipient (for localisation of the data)
public static String getDataText(Data data, Member recipient)
data
- the datarecipient
- the recipient (for localisation of the data)
public static Map<String,String> getCommonParamMap(Member recipient, String markup, Data data, Member author)
public static String getHtmlAbstract(Publication pub, Member recipient)
pub
- the pubrecipient
- the recipient (for localisation)
public static String getHtmlDataList(Collection<? extends Data> dataColl, Member recipient)
UL
list from the given data collection.
dataColl
- the data collectionrecipient
- the recipient (for localisation)
UL
list from the given data collection.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |