public class AlertUtil extends java.lang.Object implements AlertConstants
CTXT_DELETE_ALERT, HTML_MARKUP, MSG_PREFIX_PROP, NAME_PREFIX_PROP, TEXT_MARKUP, WIKI_MARKUP| Constructor and Description | 
|---|
AlertUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.util.Map<java.lang.String,java.lang.String> | 
getCommonParamMap(Member recipient,
                 java.lang.String markup,
                 Data data,
                 Member author)  | 
static java.lang.String | 
getDataLink(Data data,
           Member recipient)
Returns the HTML link for the given data (with an absolute URL). 
 | 
static java.lang.String | 
getDataRepresentation(Data data,
                     java.lang.String markup,
                     Member recipient)
Returns a representation of the given data suitable for the given markup. 
 | 
static java.lang.String | 
getDataText(Data data,
           Member recipient)
Returns the textual representation for the given data. 
 | 
static java.lang.String | 
getHtmlAbstract(Publication pub,
               Member recipient)
Returns an HTML representation of the abstract of the given publication. 
 | 
static java.lang.String | 
getHtmlDataList(java.util.Collection<? extends Data> dataColl,
               Member recipient)
Returns an HTML  
UL list from the given data collection. | 
public static java.lang.String getDataRepresentation(Data data, java.lang.String markup, Member recipient)
data - the datamarkup - the markuprecipient - the recipient (for localisation of the data)public static java.lang.String getDataLink(Data data, Member recipient)
data - the datarecipient - the recipient (for localisation of the data)public static java.lang.String getDataText(Data data, Member recipient)
data - the datarecipient - the recipient (for localisation of the data)public static java.util.Map<java.lang.String,java.lang.String> getCommonParamMap(Member recipient, java.lang.String markup, Data data, Member author)
public static java.lang.String getHtmlAbstract(Publication pub, Member recipient)
pub - the pubrecipient - the recipient (for localisation)public static java.lang.String getHtmlDataList(java.util.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.Copyright © 2001-2018 Jalios SA. All Rights Reserved.