public class ActionLinkService extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TARGET_FRAME |
static int |
TARGET_NEW_WINDOW |
static int |
TARGET_NO_FRAME |
Constructor and Description |
---|
ActionLinkService() |
Modifier and Type | Method and Description |
---|---|
static String |
buildLink(String strLinkTemplate,
int nTarget,
Customer customer)
Adapt Link for customer
|
static fr.paris.lutece.util.ReferenceList |
getTargetList(Locale locale)
The list of available targets
|
static String |
setCustomerInfo(String strLinkTemplate,
Customer customer)
Replace in the linktemplate informations about the customer
|
public static final int TARGET_FRAME
public static final int TARGET_NO_FRAME
public static final int TARGET_NEW_WINDOW
public static String buildLink(String strLinkTemplate, int nTarget, Customer customer)
strLinkTemplate
- The Link templatenTarget
- The targetcustomer
- The customerpublic static String setCustomerInfo(String strLinkTemplate, Customer customer)
strLinkTemplate
- The Link Templatecustomer
- The customerpublic static fr.paris.lutece.util.ReferenceList getTargetList(Locale locale)
locale
- The localeCopyright © 2016 City of Paris. All rights reserved.