|
Poseidon for UMLTM UMLdoc |
|||||||||
|
de.mbohlen.uml2ejb.samples.carrental.customers
Supports the workflow of customer tasks in the system. Can authenticate a user as a customer, can create customers, add drivers to them and search for customers.
|
|||
public
String
|
addDriver(String customerId
,
DriverData driverData
)
Adds a licensed driver to the drivers associated with a particular customer. |
||
public
String
|
authenticateAsCustomer(String customerNo
,
String password
)
Authenticates a user as a customer. |
||
public
String
|
createCustomer(String name
,
String customerNo
,
String password
)
Creates a new customer. |
||
public
Collection
|
searchAllCustomers()
Searches all customers. |
|
public
String
addDriver(String customerId
,
DriverData driverData
)
Adds a licensed driver to the drivers associated with a particular customer.
customerId
- the id of the Customer object
driverData
- the data for the Driver to be created
public
String
authenticateAsCustomer(String customerNo
,
String password
)
Authenticates a user as a customer.
customerNo
- the customer number
password
- the customer's password
public
String
createCustomer(String name
,
String customerNo
,
String password
)
Creates a new customer.
name
- name of the new customer
customerNo
- customer number of the new customer
public
Collection
searchAllCustomers()
Searches all customers.
|
Poseidon for UMLTM UMLdoc |
|||||||||
|