public abstract class AbstractDemandActionGroupBuilder extends AbstractActionGroupBuilder
Modifier and Type | Field and Description |
---|---|
protected static String |
COLOR_DANGER |
protected static String |
COLOR_DEFAULT |
protected static String |
COLOR_PRIMARY |
Constructor and Description |
---|
AbstractDemandActionGroupBuilder() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildDemandManagementLink(String strDemandId,
String strDemandTypeId,
String strCustomerId)
Build the management link for a given demand
|
protected String |
getDemandManagementUrl()
Gets the management url of the demand
|
protected List<String> |
getExcludedTypesList()
Gets the excluded types list
|
protected List<String> |
getIncludedTypesList()
Gets the excluded types list
|
protected String |
processGroupBadgeColor(Demand demand,
String strCurrentBadgeColor,
String strActiveBadgeColor)
Process the badge color
|
protected String |
processItemColor(Demand demand,
String strActiveColor) |
void |
setDemandManagementUrl(String strUrl)
Define the management url of the demand
|
void |
setExcludedTypesList(List<String> listExcludedTypes)
Define excluded types list
|
void |
setIncludedTypesList(List<String> listIncludedTypes)
Define excluded types list
|
getIcon, getTitle, setIcon, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildActionGroup
protected static final String COLOR_DEFAULT
protected static final String COLOR_PRIMARY
protected static final String COLOR_DANGER
public void setDemandManagementUrl(String strUrl)
strUrl
- The urlprotected String getDemandManagementUrl()
protected String buildDemandManagementLink(String strDemandId, String strDemandTypeId, String strCustomerId)
strDemandId
- The demandstrDemandTypeId
- The demand type IDstrCustomerId
- The customer IDpublic void setExcludedTypesList(List<String> listExcludedTypes)
listExcludedTypes
- The listprotected List<String> getExcludedTypesList()
public void setIncludedTypesList(List<String> listIncludedTypes)
listIncludedTypes
- The listprotected List<String> getIncludedTypesList()
protected String processGroupBadgeColor(Demand demand, String strCurrentBadgeColor, String strActiveBadgeColor)
demand
- The DemandstrCurrentBadgeColor
- The current badge colorstrActiveBadgeColor
- The active badge colorCopyright © 2016 City of Paris. All rights reserved.