public class StorageService extends Object
| Modifier and Type | Method and Description |
|---|---|
static StorageService |
instance()
Returns the unique instance
|
void |
store(Customer customer)
Store the customer
|
void |
store(Demand demand)
Store the demand
|
void |
store(Notification notification)
Store notification
|
public static StorageService instance()
public void store(Notification notification)
notification - The notificationpublic void store(Customer customer)
customer - The customerpublic void store(Demand demand)
demand - The demandCopyright © 2016 City of Paris. All rights reserved.