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(Notification notification)
Add a notification
|
List<Action> |
getActions()
Returns the Actions
|
String |
getFirstNotificationDate()
The first notification date
|
String |
getLastNotificationDate()
The last notification date
|
List<Notification> |
getNotifications()
Returns the Notifications
|
boolean |
getShowDetails()
Return true if details can be shown otherwise false.
|
String |
getStatusForCustomer()
Returns the StatusForCustomer
|
String |
getStatusForGRU()
Returns the StatusForGRU
|
String |
getTitle()
Returns the Title
|
void |
setActions(List<Action> Actions)
Sets the Actions
|
void |
setNotifications(List<Notification> Notifications)
Sets the Notifications
|
void |
setShowDetails(boolean bShowDetails)
Set the flag to show or not details
|
void |
setStatusForCustomer(String strStatusForCustomer)
Sets the StatusForCustomer
|
void |
setStatusForGRU(String strStatusForGRU)
Sets the StatusForGRU
|
void |
setTitle(String strTitle)
Sets the Title
|
getDemandTypeId, getId, getReference, getStatus, getTimeOpenedInMs, setDemandTypeId, setId, setReference, setStatus, setTimeOpenedInMs
public 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<Notification> getNotifications()
public void setNotifications(List<Notification> Notifications)
Notifications
- The Notificationspublic void addNotification(Notification notification)
notification
- public void setActions(List<Action> Actions)
Actions
- The Actionspublic void addAction(Action notification)
notification
- public String getStatusForCustomer()
public void setStatusForCustomer(String strStatusForCustomer)
strStatusForCustomer
- The StatusForCustomerpublic String getStatusForGRU()
public void setStatusForGRU(String strStatusForGRU)
strStatusForGRU
- The StatusForGRUpublic String getFirstNotificationDate()
public String getLastNotificationDate()
public void setShowDetails(boolean bShowDetails)
bShowDetails
- the flag valuepublic boolean getShowDetails()
Copyright © 2016 City of Paris. All rights reserved.