Skip to content
Snippets Groups Projects
Commit 91b5a90b authored by cristiano's avatar cristiano
Browse files

Lab 3

parent a1c99bfa
No related branches found
No related tags found
No related merge requests found
|---------------------------------------|
| TITLE: |
|---------------------------------------|
| INPUT | DESCRIPTION | OUTPUT |
|-----------|---------------|-----------|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|-----------|---------------|-----------|
\ No newline at end of file
|---------------------------------------------------------------|
| addItem() |
|-------------------------------|---------------|---------------|
| Acceptance Test: addItem | Priority 3 | Points 3 |
|-------------------------------|---------------|---------------|
| A registered user can insert a new Item in the website data- |
| base. It is not compulsary to open a new Auction when an it- |
| tem is inserted. The user will be asked during the insertion |
| form the category of the product and the system will assign |
| automatically the ID. The user is also forced to insert a |
| description of the product it is selling and an Image repre- |
| senting it. Therefore the form is composed by some input |
| fields for the title, category (chosen from a dropdown menu), |
| description and insert the images. The user has to be logged. |
| |
|---------------------------------------------------------------|
|---------------------------------------------------------------|
| modifyItem() |
|-------------------------------|---------------|---------------|
| Acceptance Test: modifyItem | Priority 3 | Points 3 |
|-------------------------------|---------------|---------------|
| A registered user can modify an existing Item. The system |
| will show only the owned items to the user (inserted ones) |
| and the user can modify the name, the description and add or |
| remove the related images. Then the user will be ask for |
| confirmation. |
|---------------------------------------------------------------|
|---------------------------------------|
| TITLE: |
|---------------------------------------|
| INPUT | DESCRIPTION | OUTPUT |
|-----------|---------------|-----------|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|-----------|---------------|-----------|
\ No newline at end of file
|---------------------------------------|
| TITLE: |
|-----------|---------------|-----------|
| INPUT | DESCRIPTION | OUTPUT |
|-----------|---------------|-----------|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|---------------------------------------|
User
-String subscribeTo(auctionID)
-ArrayList<Item> itemBidded()
Bid
Category
Item
-void addItem(code, category, description, image, bidIncrement)
-void deleteItem(code)
-void modifyItem(code, category, description, image, bidIncrement)
-String toString()
-Item searchItem(code)
-ArrayList<Item> searchItem(category)
Auction
-void login(username, password)
-void placeBid(incrementTimes)
itemImage
Seller
\ No newline at end of file
Title: placeBid
Acceptance Test: placeBid
Priority: 2
Point: 6
Text: If the auction is valid, it should be possible for registered user to place a bid for an item. It must be possible to know the current price of the item we are bidding for and the minimum bidding increment for the item. The user who want to place the bid, should be able to choose how many increments to make. When the time interval for the auction is expired, no more bids can be placed and the latest (highest) bid assignes the item to the user that placed it. This means that the auction will close and the user that placed the latest bid is considered the "winner".
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment