public class Demand extends BaseDemand
| Modifier and Type | Field and Description |
|---|---|
static int |
STATUS_CLOSED |
static int |
STATUS_INPROGRESS |
| Constructor and Description |
|---|
Demand()
Constructor
|
Demand(BaseDemand base)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action notification)
Add a notification
|
void |
addNotification(NotifyGruGlobalNotification notification)
Add a notification
|
List<Action> |
getActions()
Returns the Actions
|
String |
getAgentStatus()
Returns the agent status
|
String |
getCustomerStatus()
Returns the customer status
|
List<NotifyGruGlobalNotification> |
getNotifications()
Returns the Notifications
|
boolean |
getShowDetails()
Return true if details can be shown otherwise false.
|
String |
getTitle()
Returns the Title
|
void |
setActions(List<Action> Actions)
Sets the Actions
|
void |
setAgentStatus(String strAgentStatus)
Sets the agent status
|
void |
setCustomerStatus(String strCustomerStatus)
Sets the customer status
|
void |
setNotifications(List<NotifyGruGlobalNotification> Notifications)
Sets the Notifications
|
void |
setShowDetails(boolean bShowDetails)
Set the flag to show or not details
|
void |
setTitle(String strTitle)
Sets the Title
|
getDemandTypeId, getId, getReference, getStatus, getTimeOpenedInMs, setDemandTypeId, setId, setReference, setStatus, setTimeOpenedInMspublic static final int STATUS_INPROGRESS
public static final int STATUS_CLOSED
public Demand()
public Demand(BaseDemand base)
base - Base demandpublic String getTitle()
public void setTitle(String strTitle)
strTitle - The Titlepublic List<NotifyGruGlobalNotification> getNotifications()
public void setNotifications(List<NotifyGruGlobalNotification> Notifications)
Notifications - The Notificationspublic void addNotification(NotifyGruGlobalNotification notification)
notification - public void setActions(List<Action> Actions)
Actions - The Actionspublic void addAction(Action notification)
notification - public String getCustomerStatus()
public void setCustomerStatus(String strCustomerStatus)
strCustomerStatus - The customer statuspublic String getAgentStatus()
public void setAgentStatus(String strAgentStatus)
strAgentStatus - The agent statuspublic void setShowDetails(boolean bShowDetails)
bShowDetails - the flag valuepublic boolean getShowDetails()
Copyright © 2016 City of Paris. All rights reserved.