Professional Documents
Culture Documents
Travel Automatic Scheduling System
By
Lee Sin Yee
Supervisor: Mr. Wong Yoke Seng
A project report submitted to the School of Arts and Science
in partial fulfillment of the requirement for the
Bachelor of Science, Campbell University, U.S.A,
And
Advanced Diploma in Science.
Division of Computer Science
School of Arts and Science
Tunku Abdul Rahman College
Kuala Lumpur
2010/2011
Copyright 2009 by Tunku Abdul Rahman College.
All rights served. No part of this project documentation may be reproduced,
stored in retrieval system, or transmitted in any form or by any means without
prior permission of Tunku Abdul Rahman College.
Project i
Travel Automatic Scheduling System
Declaration
The project submitted herewith is a result of my own efforts in totality and in every
aspects of the project works. All information that has been obtained from other
sources had been fully acknowledged. I understand that any plagiarism, cheating or
collusion or any sorts constitutes a breach of College rules and regulations and would
be subjected to disciplinary actions.
__________________________
Student’s Name: Lee Sin Yee
Programme: Business Information System
Project ii
Travel Automatic Scheduling System
Abstract
As partial fulfilment of the requirement for Bachelor of Science Degree which is
Campbell University at U.S.A and Advanced Diploma in Science at Tunku Abdul
Rahman College, we are required to complete a computer-based project which contain
of substantial elements related with the development of computer application system.
Other than that, this project allows us to produce a system that can be applied in the
real life with the available tools. We are able to apply the appropriate software
development tools that we had learnt during Diploma and Advance Diploma. Such as
programming languages, case tools, databases, generators, diagramming tools,
debugging tools and so on. Besides that, as it is a group project, we able to apply the
basic project management skills to make sure our project is proper controlled,
monitored and within time scale allocated from beginning until complete and submit
to whole project.
TASS (Travel Automatic Scheduling System) serve as an intermediary between
companies or business in our country and the visitor that wish to get more details
about our country. Basically, the company’s staff will register as merchant in our
system, after that they are also require to insert the company information before they
insert the products, services, trip package, place, event, food, menu information into
the system, the merchant are allow to post the latest information about them, that is
also report module allow the merchant to monitoring the sales for their product. After
that the visitor is allow to browse the information that the service company and
system administrator post in the system, the visitor are also allow to purchase the
product that provide by the service company, visitor are also allow to keep the
product into the shopping cart list into the database, so they can view back the product
they wish to buy, and the purchase the product, the visitor are also allow to see what
him/her friend post in the system, so they can have sharing more information in the
system. Beside that all the user are allow to sending and receiving message in the
system, and also post comment on any product, service that in the system.
In this project we are applied the Object-Oriented Programming with component
based development, the class library is created to minimize the development the
conflict and maximize the reusability in the system.
Project iii
Travel Automatic Scheduling System
The system is more on the information sharing, and also user friendly interface. So we
try to make the user can have more flexible ways to share the information. Besides
that, because we category the information to: products, services, food and beverage,
places, events, and other, because each of them have their own characteristic in the
system.
This system was built with the .NET framework, which is using Microsoft Visual
Studio 2010 and also Microsoft Expression Blend 4 to create the Silverlight 4
application with website.
The end product is going through some phases, at the first version, we does not focus
on the validation and some possible error may occur by the user. So at the second
version, we are trying to fix every error and also validation, beside that the second
version we are adding more message box to telling the user what to do. At the third
version, we change the staff to merchant and changing some of our idea.
When doing this project, we are learn a lot about the technology that outside form out
of our syllabus, because we are using Silverlight to be our system platform, so that we
have to use WCF(Windows Communication Foundation) as our connection to the
website. After that, we are using LINQ (Language-INtegrated Query) to filter out the
information that we need, for example we not only apply LINQ in our data access
service, and we also apply the knowledge in our filter for each listing page, because
we are trying to minimize the demand for sending data from the server to the client
side. At the end, we are using data binding on the custom control.
Project iv
Travel Automatic Scheduling System
Acknowledgement
I, Lee Sin Yee would like to express my sincere gratitude to my project supervisor,
Mr. Wong Yoke Seng, for his guidance, constant support and encouragement
throughout the completion of this final year project. I would also like to convey my
appreciation to my project moderator, Mr. Andrew Tan Khin Huat for contributing his
ideas and in-depth knowledge in the field. With our valuable comments, my partner
and I are able to improve our project to more better and complete project.
A warm thank is extended again to Mr. Wong Yoke Seng for sharing his resources,
opinions, knowledge, experience and development methodology. Without his help,
my partner and I might unable to complete the project on time. Moreover, I would
also like to thank my family and course-mates in TAR College who have support me
during completing this project.
Last, but not least, I wishes to thank my project partner, Mr. Khor Eng Boon where
working together for all the time during doing the project. I had learnt a lot from him,
such as new technology that he suggests to apply, programming skills and so on.
Project v
Travel Automatic Scheduling System
Contents
1. System Planning ................................................................................................................ 2
1.1 Project Aims and Objectives................................................................................................ 2
1.2 Company Background .......................................................................................................... 4
1.3 Project Scope ........................................................................................................................ 5
1.3.1 Project Scope Chart ................................................................................ 5
1.3.2 Project Scope Description ...................................................................... 7
1.4 Project Schedule ................................................................................................................. 13
1.5 Outline of approach/Methodology Used............................................................................. 15
2 Requirements Analysis ...................................................................................................17
2.1 Fact Gathering and Analysis............................................................................................... 17
2.1.1 General Description ........................................................................17
2.1.2 User Problem Statement .................................................................... 18
2.1.3 User Objective ................................................................................... 18
2.1.4 Non-Functional Requirements........................................................... 18
2.1.5 Functional Requirements ................................................................... 19
2.2 System use case .................................................................................................................. 28
2.2.1 Overview............................................................................................ 28
2.2.2 Event Maintenance ............................................................................ 29
2.2.3 Food and Beverage Maintenance...................................................... 32
2.2.4 Product Maintenance ......................................................................... 36
2.2.5 Place Maintenance ............................................................................. 39
2.2.6 Service Maintenance.......................................................................... 42
2.2.7 Trip Package Maintenance ................................................................ 46
2.2.8 Menu Maintenance ............................................................................ 49
2.2.9 Type Of Maintenance ........................................................................ 52
2.2.10 Comment ......................................................................................... 54
2.2.11 Post.................................................................................................. 56
2.3 Class diagram...................................................................................................................... 59
2.4 Summary............................................................................................................................. 61
Project vi
Travel Automatic Scheduling System
3 System Design ..................................................................................................................63
3.1 Activity diagram ................................................................................................................. 63
3.1.1 Event Maintenance ............................................................................... 63
3.1.2 Food and Beverage Maintenance ......................................................... 68
3.1.3 Product Maintenance............................................................................ 72
3.1.4 Place Maintenance............................................................................... 76
3.1.5 Service Maintenance ............................................................................ 80
3.1.6 Trip Package Maintenance ................................................................... 84
3.1.7 Menu Maintenance ............................................................................... 88
3.1.8 Type Of Maintenance........................................................................... 92
3.1.9 Comment .............................................................................................. 93
3.1.10 Post ..................................................................................................... 94
3.2 Sequence and Collaboration Diagram ................................................................................ 95
3.2.1 Event Maintenance ............................................................................... 95
3.2.2 Food and Beverage Maintenance ......................................................... 99
3.2.3 Product Maintenance.......................................................................... 103
3.2.4 Place Maintenance............................................................................. 107
3.2.5 Service Maintenance .......................................................................... 111
3.2.6 Trip Package Maintenance ................................................................. 115
3.2.7 Menu Maintenance ............................................................................. 119
3.2.8 Type Of Maintenance......................................................................... 123
3.2.9 Comment ............................................................................................ 125
3.2.10 Post ................................................................................................... 126
3.3 Database description ......................................................................................................... 127
3.4 Summary........................................................................................................................... 145
4 Programming.................................................................................................................147
4.1 Sample coding.................................................................................................................. 148
4.1.1 Select all Announcement................................................................... 148
4.1.2 Insert announcement with generate new ID....................................... 148
Project vii
Travel Automatic Scheduling System
4.1.3 Sending Email function...................................................................... 149
4.1.4 Show map ........................................................................................... 150
4.1.5 Binding Data for product information ............................................... 151
4.2 Summary........................................................................................................................... 152
5 Software Testing ............................................................................................................154
5.1 Testing plan...................................................................................................................... 154
5.1.1 Event................................................................................................... 154
5.1.2 Food and Beverage............................................................................. 155
5.1.3 Product............................................................................................... 156
5.1.4 Place ................................................................................................... 157
5.1.5 Service ................................................................................................ 158
5.1.6 Trip Package....................................................................................... 159
5.1.7 Menu................................................................................................... 160
5.1.8 Type Of.............................................................................................. 161
5.1.9 Comment ............................................................................................ 162
5.2 Summary........................................................................................................................... 162
6 Conclusion......................................................................................................................164
6.1 Evaluation against the project objectives .............................................................................. 164
6.2 Project management issues ................................................................................................... 164
6.3 Evaluation of project ............................................................................................................. 165
6.4 Suggestions for future project improvement ......................................................................... 165
6.5 Personal reflection................................................................................................................. 165
7 References ......................................................................................................................166
8 Appendices .....................................................................................................................167
9 User Guide .....................................................................................................................168
9.1 Home page ............................................................................................................................ 168
9.2 Trip Items Maintenance ........................................................................................................ 170
9.2.1 How to access to maintenance page? ................................................. 170
9.2.2 Event Maintenance ............................................................................. 177
Project viii
Travel Automatic Scheduling System
9.2.3 Food and Beverage Maintenance ....................................................... 186
9.2.4 Product Maintenance.......................................................................... 194
9.2.5 Place Maintenance............................................................................. 203
9.2.6 Service Maintenance .......................................................................... 213
9.2.7 Trip Package Maintenance ................................................................. 223
9.2.8 Menu Maintenance ............................................................................. 231
9.3 Type Of Maintenance............................................................................................................ 239
9.3.1 How to access to type of page? .......................................................... 239
9.3.2 How to maintain? ............................................................................... 241
9.4 Comment ............................................................................................................................... 243
9.4.1 View comment ................................................................................... 243
9.4.2 Add Comment .................................................................................... 243
9.5 Post........................................................................................................................................ 244
9.5.1 View Post ........................................................................................... 244
9.5.2 Add New Post.................................................................................... 246
Project ix
Travel Automatic Scheduling System Chapter 1: System Planning
Chapter 1
System Planning
Project 1
Travel Automatic Scheduling System Chapter 1: System Planning
1. System Planning
1.1 Project Aims and Objectives
The Objective for this project is to be a hub for all the service company that
provide the tourism service and information, and also the visitor who want to have
more knowledge about our country, so that it able to promote our country tourism, so
the system allow the user to update and browsing the information about our country,
that include the event, places, Food and beverage in our country. The description and
picture are allow the user to have more understanding about the thing, the maps
provide will let the user know the location about the places, and we also using
Photosynth that allow the user have a photo tourism to view the place and have more
knowledge about it. We also wish the visitor have a comment about their feeling and
also the feedback on the information we provide, so that the visitor are allow to post
their experience about the tour, or anything they wish to share, besides that, the visitor
are also can sending message to their friend, so they can have more communication
between the visitor. The service companies are welcome to update the information
about the places, the event in our country, the services that the service companies
provide, and the product that the service company can sell to the visitor. So the visitor
will able to shopping in our website, and the website will act as the middleman
between this two parties. The system administrator is to make sure the information
inside this system is accurate, so the system administrator is allow modifying the
information and also to verify the service company information, if any user having no
friendly action to the system or other user, the system administrator are allow
deactivating the user.
From the visitor view, this system is able to give them a lot of information that
about the country, they can doing some research before they come to our country, for
example they wish to enjoy the Thaipusamin Malaysia, they may wish to know the
date and where will be the activity in, so they come to this website search the
Thaipusamin event, and view the details, if he/she having some question, they are
allow to leave a comment on the event, so that other people can reply on it. So the
visitor enjoy the tour in Malaysia, after that when he/she back to home, they may also
Project 2
Travel Automatic Scheduling System Chapter 1: System Planning
giving some experience on the trip, so he/she post the story in our website, and share
it in between he/she friend.
For the service company view, the system is allowing them to get more
opportunity in their daily business, they can selling the product in the system, and
view the report any time they want. They can promote the service that provide by
them, create a new trip package that collaborate with other service company, view the
feedback for the customer, so that able to improve the services, and have more
knowledge about the customer requirement.
Project 3
Travel Automatic Scheduling System Chapter 1: System Planning
1.2 Company Background
AboutMalaysia Company is a company that provides travel information of
Malaysia to visitors. This company will be interacting with two roles, which is service
companies and visitor. As a middleman between the service companies and visitors,
by gather all the required latest travel information from service companies, such as
services, events, places, menus, food and beverages, products, related service
companies and display for visitors.
The objective of AboutMalaysia Company is to promote our country,
Malaysia as an ideal travel location for Malaysian as well as foreigners. We are aims
to showcase the culture and attractions of Malaysia. We are encourage the Malaysian
to having domestic tourism and enhance the market share of Malaysia. Other than
encourage the Malaysian, AboutMalaysia Company also wish to encourage tourism of
our country and also related parties or industries in Malaysia. It is because we also
hope that it able to promote Malaysia new investments and increase the employment
opportunities. The growths of tourism also able improve the economics of Malaysia.
Project 4
Travel Automatic Scheduling System
1.3 Project Scope
1.3.1 Project Scope Chart
System
Project 5
Travel Automatic Scheduling System
Module
Travel Automatic Scheduling System (TASS)
Accou Account Report Message Food And Bever Place maintenanc Service Comment Post Service company
nt maintenance age maintenance maintenance
registrati maintenance e
on
c
u
ri
t
y
Add new Add new
Select Add new View/filter View inbox View menu Add new View service Insert p
food and Insert service
user account report service company
beverage
typ post ost
View overall Create new Create new View food Add new Delete Delete trip View service
e friend and
information message menu service package company
request beverage
Acco View View p Delete
Modify Delete food
Response Reply Delete View
personal and Service list post ost service
unt information on request messsage beverage menu product company
inform Modify
Add new Modify food Add new Delete Modify Del Type
ation User list Payment and service
event place product service of
beverage ete company
list
Function
Update
Re Reset Filter event Filter menu Filter place Filter Filter ser
purchase
m password order
list list list product list
vice
e Filter Save Select type Add or Select Upload Add or remove Filter company list
shopping of food and remove trip package announcement
m account lis location photo
cart list beverage menu item item list
be t Add or remove Filter food photo
Upload Upload Select type
r shopping cart and Filter
photo photo of product service list Verify
item beverage list
e Upload package list service
Select type Select type View Upload
photo Select compa
of event of place photosynth photo ny
location
of service Select type
of servi
ce
compa
ny
Project 6
Travel Automatic Scheduling System Chapter 1: System Planning
1.3.2 Project Scope Description
Project 7
Travel Automatic Scheduling System Chapter 1: System Planning
1.3.2.4 Online shopping
This module is only available for visitor in the system, it allow the visitor
purchase the product from the service company.
- Shopping cart
- Purchase order
- Payment
1.3.2.5 Report
This module is only available for merchant in the system, it allow the
merchant to view the sale report in the system.
1.3.1.7 Message
This module is available for the entire user in the system, it allow the user to
communicate with other user in a private way.
- View inbox message
- Create new message
- Reply message
- View event
For merchant and system administrator, they are allowed to maintain the event:
- Add new event
- Modify event
However, only system administrator is allowed to delete the event.
- Place list
- View place
For merchant and system administrator, they are allowed to maintain the place:
- Add new place
- Modify place
However, only system administrator is allowed to delete the place.
Project 10
Travel Automatic Scheduling System Chapter 1: System Planning
1.3.1.15 Comment
This module allows the user to post a comment on the item (product, service,
place, and etc…).
- View comment
- Insert comment
1.3.1.17 Post
This module is allow the merchant and visitor to post their latest information, the
post for visitor are only visitor by the friend, and post by merchant is visible
public on the home page.
- Insert port
- View post
Project 11
Travel Automatic Scheduling System Chapter 1: System Planning
Project 12
Travel Automatic Scheduling System
1.4 Project Schedule
Project 13
Travel Automatic Scheduling System
Project 14
Travel Automatic Scheduling System Chapter 1: System Planning
1.5 Outline of approach/Methodology Used
This system had implement by using object oriented programming, all the object was
define as a class, and using the class and object to interact each other.
The system built by Silverlight 4 with ASP.NET, the Silverlight application as the
client based application, and the server side will be the ASP.NET web server. we
using WCF service to passing the information over the internet. At the server side we
implement the web services that allow to sending the data over the internet. And the
data access class will define which web service to call in order to get the correct
information.
The server side and the client side are implementing using VB.NET, and we also
using LINQ (Language integrated query) at server side and also client side, at server
side the LINQ are used to get the data from the database, and the client side the LINQ
are using to be the filter function.
Project 15
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Chapter 2
Requirements Analysis
Project 16
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2 Requirements Analysis
This section is consists of the requirement analysis that used several methods to
gathering the requirements. Our group had interview with related users to collect the
requirements and feedbacks to help us to improve our system. We had categorized to
different sections, which is general description, user problem statement, user
objective, non-functional requirements and functional requirement as following:
2.1 Fact Gathering and Analysis
2.1.1 General Description
Location Function
This function is display the location of place on at small map to allow the user to view
where the place is located in a map. The user is able to view it clearly instead of just
show the name of place.
Project 17
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.1.2 User Problem Statement
Before create this system, the visitors are required to access to the website and get the
trip information from several trip package providers. Other than that, the staff of
AboutMalaysia might require to enter related information into the system manually.
For the visitor that interested on particular trip package, they need to contact the trip
package provider manually to get the related information by phone call.
2.1.3 User Objective
The visitor is needed a system that able to help them to get trip package information
easily. The system that provided trip package’s details, which are maintain by
particular trip package providers. As a middleman, visitor is able to contact directly
with the trip package providers view the system.
2.1.4 Non-Functional Requirements
- Usability
The system must user friendly and easy to use, so the user can easy to
understand what going to perform at the next step.
- Stability
It must fulfill the stability requirement to make sure that every process is work
smoothly. Also make sure the down time of system cannot more than the
maximum number of down time, which is every month cannot more than 3
times.
- Efficiency
To avoid waste time for load any transaction, the system should load the
transaction within 10 seconds and complete the process of particular transaction.
The user would not use too much time to wait for the transaction process
complete.
- Portability
The system must able to use in different web browser and operation system.
Moreover, the system is also able to use in application mode without run with
web browser.
Project 18
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.1.5 Functional Requirements
Food and Beverage Maintenance Module
• Food and beverage list
User that logon is able to view the available food and beverage. It allows to filter the
food and beverage by name or type of food and beverage. The search result will
display at search result list box. If did not filter by anything, it will show all available
food and beverages.
• View food and beverage
For view, all users that logon are allows to view the details of selected food and
beverage. The details included food and beverage name, description, price, type of
food and beverage, picture, available start date and end date. There also allow to view
the previous and next food and beverages. For the picture, they can click it to view it
in large size of picture.
• Add new food and beverage
Only System administrator and merchant are allows to add new food and beverage.
They required to fill up the food and beverage name, description, price, type,
available start date, end date and also uploads picture. When select type of food and
beverage, he/she is able to proceed to type of food and beverage page (Please refer to
Type Of Module) to view the type’s details.
• Modify food and beverage
For merchant, just allows to modify the food and beverage that owned by the
particular merchant. The merchant can edit all the details, which is name, description,
price, type, available start date and end date and also change the picture. When select
type of food and beverage, he/she is able to proceed to type of food and beverage
page (Please refer to Type Of Module) to view the type’s details. But for system
administrator is allow to modify all available food and beverages.
• Delete food and beverage
Merchant is not allowed to delete the food and beverage. Only system administrator
allows performing this function. System administrator just needs to select the food
and beverage that want to remove and click delete. The particular food and beverage
will remove from the database.
Project 19
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Project 20
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Project 21
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
For view, all users that logon are allows to view the details of selected place. The
details included place name, description, location, type of place and picture. Beside
the location, user allows to click the view button to view the location at small map
with a push pin that mark where is the location located. Other than that, user is able to
view and search the place at Photosynth by click a button to proceed to Photosynth
website as well as automatic display the search result of the selected place name.
Users also allows to view the comment that posted by other visitors or merchants.
There also allow to view the previous and next places. For the picture, they can click
it to view it in large size of picture.
• Add new place
Only system administrator and merchant are allows to add new place. They required
to fill up the place name, description, upload photo, select location and type of place.
For select location, it will proceed to a small map to drop a push pin to show the
where is the location located. When select type of place, he/she is able to proceed to
type of place page (Please refer to Type Of Module) to view the type’s details.
• Modify place
For merchant, just allows to modify the place that owned by the particular merchant.
The merchant can edit all the details, which is name, description, location, type of
place and change the photo. For select location, it will proceed to a small map to drop
a push pin to show the where is the location located. When select type of place, he/she
is able to proceed to type of place page (Please refer to Type Of Module) to view the
type’s details.
• Delete place
Merchant is not allowed to delete the place. Only system administrator allows
performing this function. System administrator just needs to select the place that
wants to remove and click delete. The particular place will remove from the database.
For view, all users that logon are allows to view the details of selected product. The
details included product name, description, price, type of product, picture, available
start date and end date. There also allow to view the previous and next products. For
the picture, they can click it to view it in large size of picture and view the product’s
comments that posted by other visitors and merchant. For merchant that owned the
particular product, he/she is able to view the quantity on hand, publish start date and
end date of that particular product.
• Add new product
Only System administrator and merchant are allows to add new product. They
required to fill up the product name, description, quantity on hand, price, type,
available start date, end date and also uploads picture. When select type of product,
he/she is able to proceed to type of food page (Please refer to Type Of Module) to
view the type’s details.
• Modify product
For merchant, just allows to modify the product that owned by the particular
merchant. The merchant can edit all the details, which is name, description, quantity
on hand, price, type, available start date and end date and also change the picture.
When select type of product, he/she is able to proceed to type of product page (Please
refer to Type Of Module) to view the type’s details. But for system administrator is
allow to modify all available products.
• Delete product
Merchant is not allowed to delete the product. Only system administrator allows
performing this function. System administrator just needs to select the product that
wants to remove and click delete. The particular product will remove from the
database.
Project 23
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
For view, all users that logon are allows to view the details of selected service. The
details included service name, description, price, type of service, picture, available
start date and end date. There also allow to view the previous and next services. For
the picture, they can click it to view it in large size of picture and view the service’s
comments that posted by other visitors and merchant. For merchant that owned the
particular service, he/she is able to view the publish start date and end date of that
particular service.
• Add new service
Only System administrator and merchant are allows to add new service. They
required to fill up the service name, description, price, type, available start date, end
date and also uploads picture. When select type of service, he/she is able to proceed to
type of service page (Please refer to Type Of Module) to view the type’s details.
• Modify service
For merchant, just allows to modify the service that owned by the particular merchant.
The merchant can edit all the details, which is name, description, price, type, available
start date and end date and also change the picture. When select type of service,
he/she is able to proceed to type of service page (Please refer to Type Of Module) to
view the type’s details. But for system administrator is allow to modify all available
services.
• Delete service
Merchant is not allowed to delete the service. Only system administrator allows
performing this function. System administrator just needs to select the service that
wants to remove and click delete. The particular service will remove from the
database.
Project 24
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
For view, all users that logon are allows to view the details of selected trip package.
The details included trip package name, description, price, available start date and end
date. There also allow to view the previous and next trip packages.
• Add new trip package
Only system administrator and merchant are allows to add new trip package. They
required to fill up the trip package name, description, price, available start date and
end date. Other than that, they also required to add the trip package items, which are
food and beverages, events, menus, places, products and services. At the maintain trip
package items page, they can add or remove the trip package items from the available
list to selected list.
• Modify trip package
For merchant, just allows to modify the trip package that owned by the particular
merchant. The merchant can edit all the details, which is name, description, price,
available start date and end date. Other than that, they also can add or remove the trip
package items, which are food and beverages, events, menus, places, products and
services. At the maintain trip package items page, they can add or remove the trip
package items from the available list to selected list.
• Delete trip package
Merchant is not allowed to delete the trip package. Only system administrator allows
performing this function. System administrator just needs to select the trip package
that wants to remove and click delete. The particular trip package will remove from
the database.
Project 25
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
• Modify type of
If system administrator wishes to modify the item of type, he/she just need to select
the item and edit the details. After save the edited details, the database will be updated
immediately.
• Delete type of
To remove the item of type, system administrator might select the item and press
delete button. The item will me remove from database and refresh the type list.
Post Module
• View post
For visitor, he/she is able to view their own post at the right hand side of the home
page, My Post. They also can view other visitor post at the visitor information page.
For merchant, the post that posted by every merchant will be display at the latest post
with the post title and posted date at the home page. The visitor and merchant also can
view the post that posted by particular merchant at the service company information
page.
• Insert post
The visitor and merchant of service company, he/she is able to add new post by just
enter the post content.
Comment Module
• View comment
Only visitor and merchant allows to access to comment module. They are able to view
the comments of food and beverages, events, menus, places, products services, trip
packages and service companies that posted by other visitors or merchants. At the
comment page, the comments had the user name that posted that comment, his/her
user type and posted date time.
• Add comment
The visitor and merchant are able to add or reply the comments of food and
beverages, events, menus, places, products services, trip packages and service
companies. After posted comment, it will show user name, user type and posted date
to allows other visitors or merchant view it.
Project 26
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
• Remove comment
The visitor and merchant just allows to remove the comments that posted by
themselves. After click the remove button, the selected comment will be deleted from
the database.
Project 27
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2 System use case
2.2.1 Overview
An overview use case that following sections will be describe with 3 roles in this
system, which are visitor merchant and system administrator. The sections included
event maintenance, food and beverage maintenance, product maintenance, place
maintenance, service maintenance, trip package maintenance, menu maintenance,
Project 28
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
type of maintenance, comment and post. More details for each use case will be shown
as below.
2.2.2 Event Maintenance
Actor Action System Responses
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Event”. 4. Display sub menu:
(For visitor)
Event list, View event and Quit
(For merchant)
i. User Case Name: Event Maintenance
ii. Brief Description: This use case enables the visitors to view the available events details,
merchant to maintain their own event details and system administrator to maintain all
event details.
iii. Actor: Visitor, Merchant, System Administrator
Actor Action System Responses
1. Display event list page.
2. Select check box of event name or
check box of type of event.
3. Enter event name or select type of 4. Display the filter result that match with
event. the event name or type of event at
search result list box.
iv. Main Flow:
Actor Action System Responses
1. Display event list page.
2. Select an event.
3. Press “View” button. 4. Display the details of selected event.
Project 29
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Actor Action System Responses
1. Display event list page.
Event list, View event, Add new event,
Modify event and Quit
(For system administrator)
Event list, Add new event, Modify
event, Delete event and Quit
If the sub menu selected is Event list, the S-1: Event list is performed.
If the sub menu selected is View event, the S-2: View event is performed.
If the sub menu selected is Add new event, the S-3: Add new event is performed.
If the sub menu selected is Modify event, the S-4: Modify event is performed.
If the sub menu selected is Delete event, the S-5: Delete event is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
S-1 Event list
S-2 View event
S-3 Add new event
Project 30
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2. Press “Add New” button.
A-6 Step S-3 Step 4 Press “Upload” button to upload photo of event type.
3. Display an empty form of event.
4. User fills up the event details.
A-7 Step S-4 Step 5 User can press “Cancel” button to back to event list page.
5. Press “Save” button.
A-8 Step S-4 Step 5 To modify type of event,
6. System will update database and back
select the type of event from the drop
down box or press “…” button to proceed to Type of event page
to event list page.
to view the details of event type as well as select an event type.
S-4 A-9 Step S-4 Step 5
Modify event To modify location, press “…” button to proceed to Map page to
Actor Action select the location by allocate a push pin.
System Responses
A-10 Step S-4 Step 5 Press “Upload” button to upload or change the photo of event.
1. Display event list page.
2. Select the event that wants to modify.
3. Press “Modify” button. 4. Display the event modify page.
5. Modify the details.
6. Press “Save” button 7. System will update database and back
to event list page.
S-5 Delete event
Actor Action System Responses
1. Display event list page.
2. Select the event that wants to delete.
3. Press “Delete” button. 4. Remove from database and back to
event list page.
Alternative Flows:
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will
display all available events.
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other
event’s details.
A-3 Step S-3 Step 4 User can press “Cancel” button to back to event list page.
A-4 Step S-3 Step 4 Select the type of event from the drop down box or press “…”
button to proceed to Type of event page to view the details of
event type as well as select an event.
A-5 Step S-3 Step 4 Press “…” button to proceed to Map page to select the location
by allocate a push pin.
Project 31
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.3 Food and Beverage Maintenance
Food And Beverage Maintenance
Filter Food And Beverage View Food And Beverage Details
Visitor
<<extends>> <<extends>>
Trip Package List
<<e
xtends>> Modify Food And Beverage Details
Add New Food And Beverage
Merchant
Delete Food And Beverage
i. User Case Name: Food and Beverage Maintenance
ii. Brief Description: This use case enables the visitors to view the available food an
d
beverage details, merchant to maintain their own food and beverage details and syste
m
administrator to maintain all food and beverage details.
iii. Actor: Visitor, Merchant, System Administrator
Project 32
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
iv. Main Flow:
Actor Action System Responses
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Food and Beverage”. 4. Display sub menu:
(For visitor)
Food and beverage list, View food and
beverage and Quit
(For merchant)
Food and beverage list, View food and
beverage, Add new food and beverage,
Modify food and beverage and Quit
(For system administrator)
Food and beverage list, Add new food
and beverage, Modify food and
beverage, Delete food and beverage
and Quit
If the sub menu selected is Food and beverage list, the S-1: Food and beverage list is
performed.
If the sub menu selected is View food and beverage, the S-2: View food and beverage is
performed.
If the sub menu selected is Add new food and beverage, the S-3: Add new food and beverage
is performed.
If the sub menu selected is Modify food and beverage, the S-4: food and beverage is
performed.
If the sub menu selected is Delete food and beverage, the S-5: food and beverage is
performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
S-1 Food and beverage list
Project 33
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Actor Action
3. Press “Modify” button. System Responses
4. Display the food and beverage modify
page.
1. Display food and beverage list page.
5. Modify the details.
2. Select check box of food and
beverage name or check box of type 7. System will update database and back
6. Press “Save” button
of food and beverage. to food and beverage list page.
3. Enter food and beverage name or 4. Display the filter result that match with
select type of food and beverage. the food and beverage name or type of
Actor Action food and beverage at search result list
System Responses
box.
1. Display food and beverage list page.
2. Select the food and beverage that
S-2
wants to delete.
View food and beverage
Actor Action
3. Press “Delete” button. System Responses
4. Remove from database and back to
food and beverage list page.
1. Display food and beverage list page.
2. Select a food and beverage.
3. Press “View” button. 4. Display the details of selected food and
A-1 Step S-1 Step 2 beverage.
If did not select any check box, the search result list box will
display all available food and beverages.
S-3 Add new food and beverage
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other
Actor Action food and beverage’s details.
System Responses
A-3 Step S-3 Step 4 User can press “Cancel” button to back to food and beverage list
1. Display food and beverage list page.
page.
2. Press “Add New” button. 3. Display an empty form of food and
A-4 Step S-3 Step 4 beverage.
Select the type of food and beverage from the drop down box or
press “…” button to proceed to Type of food and beverage page
4. User fills up the food and beverage
details. to view the details of food and beverage type as well as select a
5. Press “Save” button.food and beverage type.
6. System will update database and back
A-5 Step S-3 Step 4 to food and beverage list page.
Press “Upload” button to upload photo of food and beverage.
A-6 Step S-4 Step 5 User can press “Cancel” button to back to food and beverage list
page.
S-4 Modify food and beverage
A-7 Step S-4 Step 5
Actor Action To modify type of food and beverage, select the type of food and
System Responses
beverage from the drop down box or press “…” button to
1. Display food and beverage list page.
proceed to Type of food and beverage page to view the details of
2. Select the food and beverage that
wants to modify. food and beverage type as well as select a food and beverage
Project 34
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
type.
A-8 Step S-4 Step 5 Press “Upload” button to upload or change the photo of food and
beverage.
S-5 Delete food and beverage
Alternative Flows:
Actor Action System Responses
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Product”. 4. Display sub menu:
Project 35
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.4 Product Maintenance
i. User Case Name: Product Maintenance
ii. Brief Description: This use case enables the visitors to view the available product details,
merchant to maintain the products that owned by particular merchant and system
administrator to maintain all product details.
iii. Actor: Visitor, Merchant, System Administrator
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
(For visitor)
Product list, View product and Quit
(For merchant)
Product list, View product, Add new
product, Modify product and Quit
(For system administrator)
Product list, Add new product, Modify
product, Delete product and Quit
Actor Action System Responses
1. Display product list page.
2. Select check box of product name or
check box of type of product.
3. Enter product name or select type of 4. Display the filter result that match with
product. the product name or type of product at
search result list box.
iv. Main Flow: If the s
Actor Action System Responses ub me
1. Display product list page. nu sele
cted is
2. Select a product.
Produc
3. Press “View” button. 4. Display the details of selected product. t list, t
he S-
1: Product list is performed.
If the sub menu selected is View product, the S-2: View product is performed.
If the sub menu selected is Add new product, the S-3: Add new product is performed.
If the sub menu selected is Modify product, the S-4: Modify product is performed.
If the sub menu selected is Delete product, the S-5: Delete product is performed.
If the s
Actor Action System Responses ub me
1. Display product list page. nu sele
2. Press “Add New” button. 3. Display an empty form of product. cted is
4. User fills up the product details. “Quit”
5. Press “Save” button. 6. System will update database and back , the us
to product list page. e case
ends.
S-1 Product list
Actor Action System Responses
1. Display product list page.
2. Select the product that wants to
delete.
3. Press “Delete” button. 4. Remove from database and back to
product list page.
S-2 View product
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will S-3
display all available products.
Add
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other new
prod
product’s details. uct
A-3 Step S-3 Step 4 User can press “Cancel” button to back to product list page.
A-4 Step S-3 Step 4 Select the type of product from the drop down box or press “…”
Project 37
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
button to proceed to Type of product page to view the details of
product type as well as select a product type.
A-5 Step S-3 Step 4 Press “Upload” button to upload photo of product.
A-6 Step S-4 Step 5 User can press “Cancel” button to back to product list page.
A-7 Step S-4 Step 5 To modify type of product, select the type of product from the
drop down box or press “…” button to proceed to Type of
product page to view the details of product type as well as select
S-4 Modify product a product type.
A-8 Step S-4 Step 5 Press “Upload” button to upload or change the photo of product.
S-5 Delete product
Alternative Flows:
Project 38
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.5 Place Maintenance
i. User Case Name: Place Maintenance
ii. Brief Description: This use case enables the visitors to view the available place details,
merchant to maintain the places that owned by particular merchant and system
administrator to maintain all place details.
iii. Actor: Visitor, Merchant, System Administrator
iv. Main Flow:
Actor Action System Responses
Project 39
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Place”. 4. Display sub menu:
(For visitor)
Place list, View place and Quit
(For merchant)
Place list, View place, Add new place,
Modify place and Quit
(For system administrator)
Place list, Add new place, Modify
place, Delete place and Quit
If the sub menu selected is Place list, the S-1: Place list is performed.
If the sub menu selected is View place, the S-2: View place is performed.
If the sub menu selected is Add new place, the S-3: Add new place is performed.
If the sub menu selected is Modify place, the S-4: Modify place is performed.
If the sub menu selected is Delete place, the S-5: Delete place is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub
S-1 Place list
Flow:
Actor Action System Responses
1. Display place list page.
2. Select check box of place name or
check box of type of place.
3. Enter place name or select type of 4. Display the filter result that match with
place. the place name or type of place at
search result list box.
S-2 View place
Actor Action System Responses
1. Display place list page.
Project 40
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
A-3 Step S-3 Step 4
2. Select a place. User can press “Cancel” button to back to place list page.
A-4 Step S-3 Step 4
3. Press “View” button.Select the type of place from the drop down box or press “…”
4. Display the details of selected place.
button to proceed to Type of place page to view the details of
S-3 Add new place place type as well as select a place type.
A-5 Step S-3 Step 4
Actor Action Press “…” button to System Responses
proceed to Map page to select the location
by allocate a push pin.
1. Display place list page.
A-6 Step S-3 Step 4 Press “Upload” button to upload photo of place.
2. Press “Add New” button. 3. Display an empty form of place.
A-7 Step S-4 Step 5 User can press “Cancel” button to back to place list page.
4. User fills up the place details.
A-8 Step S-4 Step 5
5. Press “Save” button.To modify type of place, select the type of place from the drop
6. System will update database and back
down box or press “…” button to proceed to Type of place page
to place list page.
to view the details of place type as well as select a place type.
A-9 Step S-4 Step 5
S-4 Modify place To modify location, press “…” button to proceed to Map page to
Actor Action select the location by allocate a push pin.
System Responses
A-10 Step S-4 Step 5 Press “Upload” button to upload or change the photo of place.
1. Display place list page.
2. Select the place that wants to modify.
3. Press “Modify” button. 4. Display the place modify page.
5. Modify the place details.
6. Press “Save” button 7. System will update database and back
to place list page.
S-5 Delete place
Actor Action System Responses
1. Display place list page.
2. Select the place that wants to delete.
3. Press “Delete” button. 4. Remove from database and back to
place list page.
Alternative Flows:
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will
display all available places.
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other
place’s details.
Project 41
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.6 Service Maintenance
i. User Case Name: Service Maintenance
Project 42
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
ii. Brief Description: This use case enables the visitors to view the available service details,
merchant to maintain the service that owned by particular merchant and system
administrator to maintain all service details.
iii. Actor: Visitor, Merchant, System Administrator
iv. Main Flow:
Actor Action System Responses
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Service”. 4. Display sub menu:
(For visitor)
Service list, View service and Quit
(For merchant)
Service list, View service, Add new
service, Modify service and Quit
(For system administrator)
Service list, Add new service, Modify
service, Delete service and Quit
If the sub menu selected is Service list, the S-1: Service list is performed.
If the sub menu selected is View service, the S-2: View service is performed.
If the sub menu selected is Add new service, the S-3: Add new service is performed.
If the sub menu selected is Modify service, the S-4: Modify service is performed.
If the sub menu selected is Delete service, the S-5: Delete service is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
S-1 Service list
Actor Action System Responses
1. Display service list page.
2. Select check box of service name or
check box of type of service.
3. Enter service name or select type of 4. Display the filter result that match with
Project 43
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
service. the service name or type of service at
search result list box.
S-2 View service
Actor Action
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will
System Responses
display all available services.
1. Display service list page.
A-2 Step S-2 Step 4
2. Select a service. User is able to press “Previous” or “Next” button to view other
3. Press “View” button.service’s details. 4. Display the details of selected service.
A-3 Step S-3 Step 4 User can press “Cancel” button to back to service list page.
S-3 Add new serviceSelect the type of service from the drop down box or press “…”
A-4 Step S-3 Step 4
Actor Action button to proceed to Type of service page to view the details of
System Responses
service type as well as select service type.
1. Display service list page.
A-5 Step S-3 Step 4 Press “Upload” button to upload photo of service.
2. Press “Add New” button. 3. Display an empty form of service.
A-6 Step S-4 Step 5 User can press “Cancel” button to back to service list page.
4. User fills up the service details.
A-7 Step S-4 Step 5
5. Press “Save” button.To modify type of service, select the type of service from the
6. System will update database and back
drop down box or press “…” button to proceed to Type of
to service list page.
service page to view the details of service type as well as select
S-4 Modify service service type.
A-8 Step S-4 Step 5
Actor Action Press “Upload” button to upload or change the photo of service.
System Responses
1. Display service list page.
2. Select the service that wants to
modify.
3. Press “Modify” button. 4. Display the service modify page.
5. Modify the details.
6. Press “Save” button 7. System will update database and back
to service list page.
S-5 Delete service
Actor Action System Responses
1. Display service list page.
2. Select the service that wants to
delete.
Project 44
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
3. Press “Delete” button. 4. Remove from database and back to
service list page.
Alternative Flows:
Actor Action System Responses
1. Display main page.
2. Login as visitor, merchant or system
administrator.
3. Select “Trip Package”. 4. Display sub menu:
(For visitor)
Trip package list, View trip package
and Quit
(For merchant)
Project 45
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.7 Trip Package Maintenance
i. User Case Name: Trip Package Maintenance
ii. Brief Description: This use case enables the visitors to view the available trip package
details, merchant to maintain the trip package that owned by particular merchant and
system administrator to maintain all trip package details.
iii. Actor: Visitor, Merchant, System Administrator
iv. Main Flow:
Project 46
Actor Action System Responses
1. Display trip package list page.
2. Select check box of trip package
name.
3. Enter trip package name. 4. Display the filter result that match with
the trip package name at search result
list box.
Actor Action System Responses
1. Display trip package list page.
2. Select a trip package.
3. Press “View” button. 4. Display the details of selected trip
package.
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Trip package list, View trip package,
Add new trip package, Modify trip
package and Quit
(For system administrator)
Trip package list, Add new trip
package, Modify trip package, Delete
trip package and Quit
If the sub menu selected is Trip package list, the S-1: Trip package list is performed.
If the sub menu selected is View trip package, the S-2: View trip package is performed.
If the sub menu selected is Add new trip package, the S-3: Add new trip package is
performed.
If the sub menu selected is Modify trip package, the S-4: Modify trip package is performed.
If the sub menu selected is Delete trip package, the S-5: Delete trip package is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
S-1 Trip package list
S-2 View trip package
Project 47
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
S-3 Add new trip package
A-4 Step S-3 Step 4 To add new trip package items, add the items from available list
Actor Action to selected list or remove from the selected list. Press “OK”
System Responses
button to save it. 1. Display trip package list page.
A-5 Step S-4 Step 5 User can press “Cancel” button to back to trip package list page.
2. Press “Add New” button. 3. Display an empty form of trip package.
A-6 Step S-4 Step 5 To edit trip package items, add the items from available list to
4. User fills up the trip package details.
5. Press “Save” button. selected list or remove from the selected list. Press “OK” button
6. System will update database and back
to save it. to trip package list page.
S-4 Modify trip package
Actor Action System Responses
1. Display trip package list page.
2. Select the trip package that wants to
modify.
3. Press “Modify” button. 4. Display the trip package modify page.
5. Modify the details.
6. Press “Save” button 7. System will update database and back
to trip package list page.
S-5 Delete trip package
Actor Action System Responses
5. Display trip package list page.
6. Select the trip package that wants to
delete.
7. Press “Delete” button. 8. Remove from database and back to trip
package list page.
Alternative Flows:
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will
display all available trip packages.
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other
Actor Action System Responses
trip package’s details.
1. Display main page.
A-3 Step S-3 Step 4 User can press “Cancel” button to back to trip package list page.
2. Login as visitor, merchant or system
Project 48
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.8 Menu Maintenance
i. User Case Name: Menu Maintenance
ii. Brief Description: This use case enables the visitors to view the available menu details,
administrator.
3. Select “Menu”. 4. Display sub menu:
(For visitor)
Menu list, View menu and Quit
(For merchant)
Menu list, View menu, Add new menu,
Modify menu and Quit
(For system administrator)
Menu list, Add new menu, Modify
menu, Delete menu and Quit
merchant to maintain the menu that owned by particular merchant and system
administrator to maintain all menu details.
iii. Actor: Visitor, Merchant, System Administrator
Project 49
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Actor Action System Responses
1. Display menu list page.
2. Select check box of menu name.
3. Enter menu name. 4. Display the filter result that match with
the menu name at search result list box.
Actor Action System Responses
1. Display menu list page.
iv. Main Flow:
2. Select a menu.
3. Press “View” button. 4. Display the details of selected menu.
If the sub menu selected is Menu list, the S-1: Menu list is performed.
If the sub menu selected is View menu, the S-2: View menu is performed.
If the sub menu selected is Add new menu, the S-3: Add new menu is performed.
If the sub menu selected is Modify menu, the S-4: Modify menu is performed.
If the s
Actor Action System Responses ub me
1. Display menu list page. nu sele
2. Press “Add New” button. 3. Display an empty form of menu. cted is
4. User fills up the menu details. Delete
5. Press “Save” button. 6. System will update database and back menu,
to menu list page. the S-
5: Del
ete menu is performed.
Actor Action System Responses If the s
1. Display menu list page. ub me
2. Select the menu that wants to modify. nu sele
3. Press “Modify” button. 4. Display the menu modify page. cted is
5. Modify the details. “Quit”
6. Press “Save” button 7. System will update database and back , the us
to menu list page. e case
ends.
A-1 Step S-1 Step 2 If did not select any check box, the search result list box will
display all available menus.
S-2 View menu
A-2 Step S-2 Step 4 User is able to press “Previous” or “Next” button to view other
menu’s details.
A-3 Step S-3 Step 4 User can press “Cancel” button to back to menu list page.
A-4 Step S-3 Step 4 To add new menu items, add the items from available list to
selected list or remove from the selected list. Press “OK” button
to save it.
S-3
Add new menu
Project 50
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
A-5 Step S-4 Step 5 User can press “Cancel” button to back to menu list page.
A-6 Step S-4 Step 5 To edit menu items, add the items from available list to selected
list or remove from the selected list. Press “OK” button to save
it.
S-4 Modify menu
S-5 Delete menu
Alternative Flows:
Actor Action System Responses
1. Display main page.
2. Login as visitor or merchant.
3. Select “Type of event”, “Type of 4. Display sub menu:
food”, “Type of product”, “Type of View type of, Add new type of, Modify
place”, “Type of service” or “Type of type of, Remove type of and Quit
company”.
Project 51
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.2.9 Type Of Maintenance
Type Of Maintenance
Add New Type Of
<<extends>>
View Type Of
<<extends <<extends>>
>>
Merchant System Administrator
Delete Type Of Modify Type Of Details
i. User Case Name: Type Of Maintenance
ii. Brief Description: This use case enables the system administrator to maintain the type o
f
event, food and beverage, product, place, service and company.
iii. Actor: System Administrator
iv. Main Flow:
If the sub menu selected is View type of, the S-1: View type of is performed.
Project 52
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
If the sub menu selected is Add new type, the S-2: Add new type is performed.
If the sub menu selected is Modify type of, the S-3: Modify type of is performed.
If the sub menu selected is Remove type, the S-4: Remove type is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
Actor Action System Responses
1. Display main page.
2. User selects the type that wants to 3. Retrieve the details of select type and
view. display type title and description at the
text box.
Actor Action System Responses
1. Display main page.
2. Press “Add New” button. 3. Clear and enable the text box of type
name and description.
4. Fill up the title name and description.
5. Press “Save” button. 6. Update the database, refresh the
available type list and disable text box.
Actor Action System Responses
1. Display main page.
2. User selects the type that wants to
modify.
3. User modifies the type name or
description.
4. Press “Save” button. 5. Update the database, refresh the
available type list and disable text box.
S-4 Remove type of
Project 53
Actor Action System Responses
1. Display main page.
2. User selects the type that wants to
remove.
3. Press “Remove” button. 4. Remove the selected type from
database, refresh the available type list
S-1 View type of and disable text box.
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Alternative Flows:
A-1 Step S-1 Step 2 Press “Refresh” button to retrieve the available types again.
A-1 Step S-1 Step 2 Press “Close” to close the type of page and back to previous
page.
A-2 Step S-2 Step 4 Press “Close” to close the type of page and back to previous
S-2 Add new type of page.
S-3 Modify type of
2.2.10 Comment
i. User Case Name: Comment
ii. Brief Description: This use case enables the visitor and merchant view, add and remove
the comment on events, food and beverages, products, places, services, trip packages,
menus and service companies.
iii. Actor: Visitor, Merchant
iv. Main Flow:
Project 54
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Actor Action System Responses
1. Display main page.
2. Login as visitor or merchant.
3. Select view events, food and
beverages, products, places, services,
trip packages, menus or service
companies.
4. Select “Comment”. 5. Display sub menu:
(For visitor and merchant)
View comment, Add comment,
Remove comment and Quit
If the sub menu selected is View comment, the S-1: View comment is performed.
If the sub menu selected is Add comment, the S-2: Add comment is performed.
If the sub menu selected is Remove comment, the S-3: Remove comment is performed.
If the sub menu selected is “Quit”, the use case ends.
Sub Flow:
Actor Action System Responses
1. Display comment page.
2. User views the comment which at list
box.
3. Press “Close” button to close the 4. Close the comment page and back to
page. previous page.
Actor Action System Responses
1. Display comment page.
2. Enter the comment content at the text
box.
3. Press “Send” button. 4. Update database and display at view
Project 55
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
comment list box.
S-3 Remove comment
Actor Action System Responses
1. Display comment page.
2. Select the comment that wants to
remove.
3. Press “Remove” button. 4. System will update database and
remove the view comment list box.
Alternative Flows:
A-1 Step S-2 Step 2 Press “Close” button to close the comment page and back to
previous page.
A-2 Step S-3 Step 2 Press “Close” button to close the comment page and back to
previous page.
S-1 View comment
2.2.11 Post Post
View Comment
S-2 Add comment
Add Comment
Merchant
Visitor
Actor Action System Responses
1. Display main page.
2. Login as visitor or merchant.
3. Select “Post”. 4. Display sub menu:
(For visitor and merchant)
View post, Add post and Quit
i. User Case Name: Post
ii. Brief Description: This use case enables the visitor and merchant view the post that
posted by themselves and adds new post.
iii. Actor: Visitor, Merchant
iv. Main Flow:
Project 56
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Actor Action System Responses
1. Display home page.
2. User views the post that posted by
themselves at right hand side of the
home page.
Actor Action System Responses
1. Display home page.
If the s
2. Press “New Post” tab at the top of 3. Displays an empty text box for add ub me
nu sele
home page. new post. cted is
View p
4. Fill up the content of the post that ost, th
e S-
wants to post out. 1: Vie
w post
5. Press “OK” button. 6. Update the database and close the add is perf
ormed.
post page.
If the s
ub menu selected is Add post, the S-2: Add post is performed.
If th
A-1 Step S-1 Step 2 Press “Refresh” button to retrieve their post again.
e su
A-2 Step S-2 Step 4 Press “Cancel” button to close the add post page and back to
b me
nu selected is “Quit”, the use case ends.
Sub Flow:
S-1 View post
S-2 Add post
Project 57
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
previous page.
Alternative Flows:
Project 58
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.3 Class diagram
This section is the classes that used in the system and connection between the classes.
Each of the classes contains its attribute as below.
Project 59
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
Project 60
Travel Automatic Scheduling System Chapter 2: Requirements Analysis
2.4 Summary
This chapter discussed about gathering and analysis the requirement of user by using few
methods. Other than that, the system user case had showed to describe the roles for each user
and the features of each module. With the class diagram, it also had showed the classes that
used in this system. The system design will be discuss at next chapter, Chapter 3 System
Design.
Project 61
Travel Automatic Scheduling System Chapter 3: System Design
Chapter 3
System Design
Project 62
Travel Automatic Scheduling System Chapter 3: System Design
3 System Design
3.1 Activity diagram
3.1.1 Event Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain event. Firstly, visitor may access
to event list page by press a button. He/she either can filter the event by type of event or event
name or view all available events in the list. If filter by type or name, the result will display at
the search result list. Then select an event and press view button to view the selected event
details.
Project 63
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain event. As a merchant, he/she
is allows viewing, adding new and modifying events. But for modify just only can modify the
event that owned by the merchant. Firstly, merchant may access to event list page by press a
button. He/she either can filter the event by type of event or event name or view all available
events in the list. If filter by type or name, the result will display at the search result list. Then
Project 64
Travel Automatic Scheduling System Chapter 3: System Design
select an event and press view button to view the selected event details. To add new, press
add new button and system will display an empty event form, merchant fill up the required
details and press save button to update database. Lastly, modify an event by select an event
from the event list and press modify button. System will get the selected event’s details from
database and display on maintain event page. Merchant modify it and press save after
completed modify, system will save the modified details.
Project 65
Travel Automatic Scheduling System Chapter 3: System Design
Login as system administrator
This activity diagram describes how a system administrator able to maintain event. As a
system administrator, he/she is allows adding new, modifying and delete all available events.
Firstly, system administrator may access to event list page by press a button. He/she either
can filter the event by type of event or event name or view all available events in the list. If
Project 66
Travel Automatic Scheduling System Chapter 3: System Design
filter by type or name, the result will display at the search result list. Then select an event and
press view button to view the selected event details. To add new, press add new button and
system will display an empty event form, system administrator fill up the required details and
press save button to update database. Lastly, modify an event by select an event from the
event list and press modify button. System will get the selected event’s details from database
and display on maintain event page. System administrator modify it and press save after
completed modify, system will save the modified details. To delete an event, select an event
from event list and press delete button to remove selected event from database.
Project 67
Travel Automatic Scheduling System Chapter 3: System Design
3.1.2 Food and Beverage Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain food and beverage. Firstly, visitor
may access to food and beverage list page by press a button. He/she either can filter the food
and beverage by type of food and beverage or food and beverage name or view all available
food and beverages in the list. If filter by type or name, the result will display at the search
result list. Then select a food and beverage and press view button to view the selected food
and beverage details.
Project 68
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain food and beverage. As a
merchant, he/she is allows viewing, adding new and modifying food and beverages. But for
modify just only can modify the food and beverage that owned by the merchant. Firstly,
merchant may access to food and beverage list page by press a button. He/she either can filter
the food and beverage by type of food and beverage or food and beverage name or view all
available food and beverages in the list. If filter by type or name, the result will display at the
search result list. Then select a food and beverage and press view button to view the selected
food and beverage details. To add new, press add new button and system will display an
Project 69
Travel Automatic Scheduling System Chapter 3: System Design
empty food and beverage form, merchant fill up the required details and press save button to
update database. Lastly, modify a food and beverage by select and food and beverage from
the food and beverage list and press modify button. System will get the selected food and
beverage’s details from database and display on maintain food and beverage page. Merchant
modify it and press save after completed modify, system will save the modified details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain food and
beverage. As a system administrator, he/she is allows adding new, modifying and delete all
Project 70
Travel Automatic Scheduling System Chapter 3: System Design
available food and beverages. Firstly, system administrator may access to food and beverage
list page by press a button. He/she either can filter the food and beverage by type of food and
beverage or food and beverage name or view all available food and beverages in the list. If
filter by type or name, the result will display at the search result list. Then select a food and
beverage and press view button to view the selected food and beverage details. To add new,
press add new button and system will display an empty food and beverage form, system
administrator fill up the required details and press save button to update database. Lastly,
modify a food and beverage by select a food and beverage from the food and beverage list
and press modify button. System will get the selected food and beverage’s details from
database and display on maintain food and beverage page. System administrator modify it
and press save after completed modify, system will save the modified details. To delete a
food and beverage, select a food and beverage from food and beverage list and press delete
button to remove selected food and beverage from database.
Project 71
Travel Automatic Scheduling System Chapter 3: System Design
3.1.3 Product Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain product. Firstly, visitor may
access to product list page by press a button. He/she either can filter the product by type of
product or product name or view all available products in the list. If filter by type or name,
the result will display at the search result list. Then select a product and press view button to
view the selected product details.
Project 72
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain product. As a merchant,
he/she is allows viewing, adding new and modifying products. But for modify just only can
modify the product that owned by the merchant. Firstly, merchant may access to product list
page by press a button. He/she either can filter the product by type of product or product
name or view all available products in the list. If filter by type or name, the result will display
at the search result list. Then select a product and press view button to view the selected
product details. To add new, press add new button and system will display an empty product
form, merchant fill up the required details and press save button to update database. Lastly,
Project 73
Travel Automatic Scheduling System Chapter 3: System Design
modify a product by select a product from the product list and press modify button. System
will get the selected product’s details from database and display on maintain product page.
Merchant modify it and press save after completed modify, system will save the modified
details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain product. As a
system administrator, he/she is allows adding new, modifying and delete all available
products. Firstly, system administrator may access to product list page by press a button.
Project 74
Travel Automatic Scheduling System Chapter 3: System Design
He/she either can filter the product by type of product or product name or view all available
products in the list. If filter by type or name, the result will display at the search result list.
Then select a product and press view button to view the selected product details. To add new,
press add new button and system will display an empty product form, system administrator
fill up the required details and press save button to update database. Lastly, modify a product
by select a product from the product list and press modify button. System will get the selected
product’s details from database and display on maintain product page. System administrator
modify it and press save after completed modify, system will save the modified details. To
delete a product, select a product from product list and press delete button to remove selected
product from database.
Project 75
Travel Automatic Scheduling System Chapter 3: System Design
3.1.4 Place Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain place. Firstly, visitor may access
to place list page by press a button. He/she either can filter the place by type of place or place
name or view all available places in the list. If filter by type or name, the result will display at
the search result list. Then select a place and press view button to view the selected place
details.
Project 76
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain place. As a merchant, he/she
is allows viewing, adding new and modifying places. But for modify just only can modify the
place that owned by the merchant. Firstly, merchant may access to place list page by press a
button. He/she either can filter the place by type of place or place name or view all available
places in the list. If filter by type or name, the result will display at the search result list. Then
select a place and press view button to view the selected place details. To add new, press add
new button and system will display an empty place form, merchant fill up the required details
Project 77
Travel Automatic Scheduling System Chapter 3: System Design
and press save button to update database. Lastly, modify an place by select a place from the
place list and press modify button. System will get the selected place’s details from database
and display on maintain place page. Merchant modify it and press save after completed
modify, system will save the modified details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain place. As a
system administrator, he/she is allows adding new, modifying and delete all available places.
Project 78
Travel Automatic Scheduling System Chapter 3: System Design
3.1.5 Service Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain service. Firstly, visitor may access
to service list page by press a button. He/she either can filter the service by type of service or
service name or view all available services in the list. If filter by type or name, the result will
display at the search result list. Then select a service and press view button to view the
selected service details.
Project 80
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain service. As a merchant,
he/she is allows viewing, adding new and modifying services. But for modify just only can
modify the service that owned by the merchant. Firstly, merchant may access to service list
page by press a button. He/she either can filter the service by type of service or service name
or view all available services in the list. If filter by type or name, the result will display at the
search result list. Then select a service and press view button to view the selected service
details. To add new, press add new button and system will display an empty service form,
Project 81
Travel Automatic Scheduling System Chapter 3: System Design
merchant fill up the required details and press save button to update database. Lastly, modify
a service by select a service from the service list and press modify button. System will get the
selected service’s details from database and display on maintain service page. Merchant
modify it and press save after completed modify, system will save the modified details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain service. As a
system administrator, he/she is allows adding new, modifying and delete all available
Project 82
Travel Automatic Scheduling System Chapter 3: System Design
services. Firstly, system administrator may access to service list page by press a button.
He/she either can filter the service by type of service or service name or view all available
services in the list. If filter by type or name, the result will display at the search result list.
Then select a service and press view button to view the selected service details. To add new,
press add new button and system will display an empty service form, system administrator
fill up the required details and press save button to update database. Lastly, modify a service
by select a service from the service list and press modify button. System will get the selected
service’s details from database and display on maintain service page. System administrator
modify it and press save after completed modify, system will save the modified details. To
delete a service, select a service from service list and press delete button to remove selected
service from database.
Project 83
Travel Automatic Scheduling System Chapter 3: System Design
3.1.6 Trip Package Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain trip package. Firstly, visitor may
access to trip package list page by press a button. He/she either can filter the trip package by
trip package name or view all available trip packages in the list. If filter by name, the result
will display at the search result list. Then select a trip package and press view button to view
the selected trip package details.
Login as merchant
Project 84
Travel Automatic Scheduling System Chapter 3: System Design
This activity diagram describes how a merchant able to maintain trip package. As a merchant,
he/she is allows viewing, adding new and modifying trip packages. But for modify just only
can modify the trip package that owned by the merchant. Firstly, merchant may access to trip
package list page by press a button. He/she either can filter the trip package by trip package
name or view all available trip packages in the list. If filter by name, the result will display at
the search result list. Then select a trip package and press view button to view the selected
trip package details. To add new, press add new button and system will display an empty trip
package form, merchant fill up the required details and press save button to update database.
Project 85
Travel Automatic Scheduling System Chapter 3: System Design
Lastly, modify a trip package by select a trip package from the trip package list and press
modify button. System will get the selected trip package’s details from database and display
on maintain trip package page. Merchant modify it and press save after completed modify,
system will save the modified details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain trip package. As
a system administrator, he/she is allows adding new, modifying and delete all available trip
Project 86
Travel Automatic Scheduling System Chapter 3: System Design
packages. Firstly, system administrator may access to trip package list page by press a button.
He/she either can filter the trip package by trip package name or view all available trip
packages in the list. If filter by name, the result will display at the search result list. Then
select a trip package and press view button to view the selected trip package details. To add
new, press add new button and system will display an empty trip package form, system
administrator fill up the required details and press save button to update database. Lastly,
modify a trip package by select a trip package from the trip package list and press modify
button. System will get the selected trip package’s details from database and display on
maintain trip package page. System administrator modify it and press save after completed
modify, system will save the modified details. To delete a trip package, select a trip package
from trip package list and press delete button to remove selected trip package from database.
Project 87
Travel Automatic Scheduling System Chapter 3: System Design
3.1.7 Menu Maintenance
Login as visitor
This activity diagram describes how a visitor can maintain menu. Firstly, visitor may access
to menu list page by press a button. He/she either can filter the menu by menu name or view
all available menus in the list. If filter by name, the result will display at the search result list.
Then select a menu and press view button to view the selected menu details.
Project 88
Travel Automatic Scheduling System Chapter 3: System Design
Login as merchant
This activity diagram describes how a merchant able to maintain menu. As a merchant,
he/she is allows viewing, adding new and modifying menus. But for modify just only can
modify the menu that owned by the merchant. Firstly, merchant may access to menu list page
by press a button. He/she either can filter the menu by menu name or view all available
menus in the list. If filter by name, the result will display at the search result list. Then select
a menu and press view button to view the selected menu details. To add new, press add new
button and system will display an empty menu form, merchant fill up the required details and
Project 89
Travel Automatic Scheduling System Chapter 3: System Design
press save button to update database. Lastly, modify a menu by select a menu from the menu
list and press modify button. System will get the selected menu’s details from database and
display on maintain menu page. Merchant modify it and press save after completed modify,
system will save the modified details.
Login as system administrator
This activity diagram describes how a system administrator able to maintain menu. As a
system administrator, he/she is allows adding new, modifying and delete all available menus.
Project 90
Travel Automatic Scheduling System Chapter 3: System Design
Firstly, system administrator may access to menu list page by press a button. He/she either
can filter the menu by menu name or view all available menus in the list. If filter by name,
the result will display at the search result list. Then select a menu and press view button to
view the selected menu details. To add new, press add new button and system will display an
empty menu form, system administrator fill up the required details and press save button to
update database. Lastly, modify menu by select a menu from the menu list and press modify
button. System will get the selected menu’s details from database and display on maintain
menu page. System administrator modify it and press save after completed modify, system
will save the modified details. To delete a menu, select a menu from menu list and press
delete button to remove selected menu from database.
Project 91
Travel Automatic Scheduling System Chapter 3: System Design
3.1.8 Type Of Maintenance
This activity diagram describe how system administrator maintain the type of, which are type
of event, type of food and beverage, type of product, type of place, type of service and type of
company. First, system administrator can select the type of page by press the button and
system will display the type of page. By select a type, system administrator can view the type
title and description. To add new, press add new button, system will clear text box and
system administrator fill up the details, press save button to update database. If want to
modify type details, select a type and modify the details, press save button to save it. Select a
type and press remove button to delete the selected type from database.
Project 92
Travel Automatic Scheduling System Chapter 3: System Design
3.1.9 Comment
This activity diagram describes how visitor or merchant view and add comment. First, access
to view trip items page such as product, event, and so on. Press the comment button to
display comment page, visitor or merchant is able to view comment that posted by other
visitors or merchants. To add new comment, enter comment content at text box and press
reply button to update database.
Project 93
Travel Automatic Scheduling System Chapter 3: System Design
3.1.10 Post
This activity diagram describes how visitor or merchant view and add post. Firstly, select
home page to view the post that posted by that particular visitor or merchant at My Post list.
Press refresh to refresh My Post list. To add new post, press add new post button and system
will display add post page, they may fill up the post content and press OK button to save it or
press cancel button to cancel the action.
Project 94
Travel Automatic Scheduling System Chapter 3: System Design
3.2 Sequence and Collaboration Diagram
3.2.1 Event Maintenance
Filter Event
This sequence showed the controller will start the user interface first and the system will get
the event list and display to user, so after that the user may filter the list of event by thick the
check box and enter the keyword into the text box provided, after that the controller will filter
the event based on the keyword entered. Beside that the user also can thick the check box
beside the type of event, and select a type of event in the drop down list, then the system will
filter the event based on the selected type of event.
Project 95
Travel Automatic Scheduling System Chapter 3: System Design
View Event
This diagram was showed the process of view the event details, first the controller will show
the user interface and that the system will get the list of event and show to user, after that the
user may select an event on the list box and press the view details button, then the controller
will get the event details from the database back to the user interface and show the details to
user.
Project 96
Travel Automatic Scheduling System Chapter 3: System Design
Add New Event
This diagram was showed the process of add new event details, first the controller will show
the user interface and that the system will get the list of event and show to user, after that the
user have to press the add new button and the controller will show an empty form to the user,
after that the user will fill up the event details and press the save button, then the controller
will send the new event details back to database and save into database.
Project 97
Travel Automatic Scheduling System Chapter 3: System Design
Modify Event
Delete Event
Project 98
Travel Automatic Scheduling System Chapter 3: System Design
3.2.2 Food and Beverage Maintenance
Filter Food and Beverage
This sequence showed the controller will start the user interface first and the system will get
the food and beverage list and display to user, so after that the user may filter the list of food
and beverage by thick the check box and enter the keyword into the text box provided, after
that the controller will filter the food and beverage based on the keyword entered. Beside that
the user also can thick the check box beside the type of food and beverage, and select a type
of food and beverage in the drop down list, then the system will filter the food and beverage
based on the selected type of food and beverage.
Project 99
Travel Automatic Scheduling System Chapter 3: System Design
View Food and Beverage
1: StartInterface()
2: SelectFoodAndBeverageList()
2.1: GetFoodAndBeverageList()
2.1.1: GetFoodAndBeverageList()
2.1.2: GetFoodAndBeverageList()
2.2: GetFoodAndBeverageList()
3: DisplayFoodAndBeverageList()
4: SelectFoodAndBeverage()
5: PressViewButton()
5.1: GetFoodAndBeverageDetails()
5.1.1: GetFoodAndBeverageDetails()
5.2: GetFoodAndBeverageDetails() 5.1.2: GetFoodAndBeverageDetails()
6: DisplayFoodAndBeverageDetails()
This diagram was showed the process of view the food and beverage details, first the
controller will show the user interface and that the system will get the list of food and
beverage and show to user, after that the user may select an food and beverage on the list box
and press the view details button, then the controller will get the food and beverage details
from the database back to the user interface and show the details to user.
Project 100
Travel Automatic Scheduling System Chapter 3: System Design
Add New Food and Beverage
This diagram was showed the process of add new food and beverage details, first the
controller will show the user interface and that the system will get the list of food and
beverage and show to user, after that the user have to press the add new button and the
controller will show an empty form to the user, after that the user will fill up the food and
beverage details and press the save button, then the controller will send the new food and
beverage details back to database and save into database.
Project 101
Travel Automatic Scheduling System Chapter 3: System Design
Modify Food and Beverage
Delete Food and Beverage
Project 102
Travel Automatic Scheduling System Chapter 3: System Design
3.2.3 Product Maintenance
Filter Product
1: StartInterface()
2: SelectProductList()
2.1: GetProductList()
2.1.1: GetProductList()
2.1.2: GetProductList()
2.2: GetProductList()
3: DisplayProductList()
[filter by product name]
4: SelectProductNameCheckBox()
5: EnterProductName()
5.1: GetMatchedProduct()
5.1.1: GetMatchedProduct()
5.1.2: GetMatchedProduct()
5.2: GetMatchedProduct()
6: DisplayMatchedProduct()
[filter by type of product]
7: SelectTypeOfProductCheckBox()
8: SelectTypeOfProduct()
8.1: GetMatchedProduct()
8.1.1: GetMatchedProduct()
8.1.2: GetMatchedProduct()
8.2: GetMatchedProduct()
6: DisplayMatchedProduct()
This sequence showed the controller will start the user interface first and the system will get
the product list and display to user, so after that the user may filter the list of product by thick
the check box and enter the keyword into the text box provided, after that the controller will
filter the product based on the keyword entered. Beside that the user also can thick the check
box beside the type of product, and select a type of product in the drop down list, then the
system will filter the product based on the selected type of product.
Project 103
Travel Automatic Scheduling System Chapter 3: System Design
View Product
This diagram was showed the process of view the product details, first the controller will
show the user interface and that the system will get the list of product and show to user, after
that the user may select an product on the list box and press the view details button, then the
controller will get the product details from the database back to the user interface and show
the details to user.
Project 104
Travel Automatic Scheduling System Chapter 3: System Design
Add New Product
1: StartInterface()
2: SelectProductList()
2.1: GetProductList()
2.1.1: GetProductList()
2.1.2: GetProductList()
2.2: GetProductList()
3: DisplayProductList()
4: PressAddNewButton()
4.1: RequestEmptyProductPage()
4.2: ResponseEmptyProductPage()
5: DisplayEmptyProductPage()
6: FillUpProductDetails()
7: PressSaveButton()
7.1: UpdateDatabase()
7.1.1: UpdateDatabase()
7.1.2: UpdateSuccessful()
7.2: ReturnBackToProductListPagel()
This diagram was showed the process of add new product details, first the controller will
show the user interface and that the system will get the list of product and show to user, after
that the user have to press the add new button and the controller will show an empty form to
the user, after that the user will fill up the product details and press the save button, then the
controller will send the new product details back to database and save into database.
Project 105
Travel Automatic Scheduling System Chapter 3: System Design
Modify Product
Delete Product
Project 106
Travel Automatic Scheduling System Chapter 3: System Design
3.2.4 Place Maintenance
Filter Place
This sequence showed the controller will start the user interface first and the system will get
the place list and display to user, so after that the user may filter the list of place by thick the
check box and enter the keyword into the text box provided, after that the controller will filter
the place based on the keyword entered. Beside that the user also can thick the check box
beside the type of place, and select a type of place in the drop down list, then the system will
filter the place based on the selected type of place.
Project 107
Travel Automatic Scheduling System Chapter 3: System Design
View Place
This diagram was showed the process of view the place details, first the controller will show
the user interface and that the system will get the list of place and show to user, after that the
user may select an place on the list box and press the view details button, then the controller
will get the place details from the database back to the user interface and show the details to
user.
Project 108
Travel Automatic Scheduling System Chapter 3: System Design
Add New Place
1: StartInterface()
2: SelectPlaceList()
2.1: GetPlaceList()
2.1.1: GetPlaceList()
2.1.2: GetPlaceList()
2.2: GetPlaceList()
3: DisplayPlaceList()
4: PressAddNewButton()
4.1: RequestEmptyPlacePage()
4.2: ResponseEmptyPlacePage()
5: DisplayEmptyPlacePage()
6: FillUpPlaceDetails()
7: PressSaveButton()
7.1: UpdateDatabase()
7.1.1: UpdateDatabase()
7.1.2: UpdateSuccessful()
7.2: ReturnBackToPlaceListPagel()
This diagram was showed the process of add new place details, first the controller will show
the user interface and that the system will get the list of place and show to user, after that the
user have to press the add new button and the controller will show an empty form to the user,
after that the user will fill up the place details and press the save button, then the controller
will send the new place details back to database and save into database.
Project 109
Travel Automatic Scheduling System Chapter 3: System Design
Modify Place
Delete Place
Project 110
Travel Automatic Scheduling System Chapter 3: System Design
3.2.5 Service Maintenance
Filter Service
This sequence showed the controller will start the user interface first and the system will get
the service list and display to user, so after that the user may filter the list of service by thick
the check box and enter the keyword into the text box provided, after that the controller will
filter the service based on the keyword entered. Beside that the user also can thick the check
box beside the type of service, and select a type of service in the drop down list, then the
system will filter the service based on the selected type of service.
Project 111
Travel Automatic Scheduling System Chapter 3: System Design
View Service
1: StartInterface()
2: SelectServiceList()
2.1: GetServiceList()
2.1.1: GetServiceList()
2.1.2: GetServiceList()
2.2: GetServiceList()
3: DisplayServiceList()
4: SelectService()
5: PressViewButton()
5.1: GetServiceDetails()
5.1.1: GetServiceDetails()
5.2: GetServiceDetails() 5.1.2: GetServiceDetails()
6: DisplayServiceDetails()
This diagram was showed the process of view the service details, first the controller will
show the user interface and that the system will get the list of service and show to user, after
that the user may select an service on the list box and press the view details button, then the
controller will get the service details from the database back to the user interface and show
the details to user.
Project 112
Travel Automatic Scheduling System Chapter 3: System Design
Add New Service
This diagram was showed the process of add new service details, first the controller will
show the user interface and that the system will get the list of service and show to user, after
that the user have to press the add new button and the controller will show an empty form to
the user, after that the user will fill up the service details and press the save button, then the
controller will send the new service details back to database and save into database.
Project 113
Travel Automatic Scheduling System Chapter 3: System Design
Modify Service
8: PressSaveButton()
7: ModifyServiceDetails()
5: PressModifyButton() 8.1: UpdateDatabase()
4: SelectService() 5.1: GetServiceDetails()
2: SelectServiceListPage() 2.1: RequestServiceListPage()
3: DisplayServiceListPage() 1: StartUI()
6: DisplayMaintainServiceDetailsPage() 2.2: ReponseServiceListPage()
9: ReturnBackToServiceListPage() 5.2: GetServiceDetails()
8.2: UpdateSuccessful()
5.1.1: GetServiceDetails()
8.1.1: UpdateDatabase()
5.1.2: GetServiceDetails()
8.1.2: UpdateSuccessful()
Service
Delete Service
Project 114
Travel Automatic Scheduling System Chapter 3: System Design
3.2.6 Trip Package Maintenance
Filter Trip Package
This sequence showed the controller will start the user interface first and the system will get
the trip package list and display to user, so after that the user may filter the list of trip package
by thick the check box and enter the keyword into the text box provided, after that the
controller will filter the trip package based on the keyword entered. Beside that the user also
can thick the check box beside the type of trip package, and select a type of trip package in
the drop down list, then the system will filter the trip package based on the selected type of
trip package.
Project 115
Travel Automatic Scheduling System Chapter 3: System Design
View Trip Package
This diagram was showed the process of view the trip package details, first the controller will
show the user interface and that the system will get the list of trip package and show to user,
after that the user may select an trip package on the list box and press the view details button,
then the controller will get the trip package details from the database back to the user
interface and show the details to user.
Project 116
Travel Automatic Scheduling System Chapter 3: System Design
Add New Trip Package
1: StartInterface()
2: SelectTripPackageList()
2.1: GetTripPackageList()
2.1.1: GetTripPackageList()
2.1.2: GetTripPackageList()
2.2: GetTripPackageList()
3: DisplayTripPackageList()
4: PressAddNewButton()
4.1: RequestEmptyTripPackagePage()
4.2: ResponseEmptyTripPackagePage()
5: DisplayEmptyTripPackagePage()
6: FillUpTripPackageDetails()
7: PressMoreDetailsButton()
7.1: RequestMaintainTripPackageItemsPage()
7.2: ReponseMaintainTripPackageItemsPage()
8: DisplayMaintainTripPackageItemsPage()
9: SelectTripPackageItems()
10: PressOKButton()
10.1: UpdateDatabase()
10.1.1: UpdateDatabase()
10.1.2: UpdateSuccessful()
10.2: ReturnBackToTripPackageDetailsPagel()
11: ContinueFillUpTripPackageDetails()
12: PressSaveButton()
12.1: UpdateDatabase()
12.1.1: UpdateDatabase()
12.1.2: UpdateSuccessful()
12.2: ReturnBackToTripPackageListPage()
This diagram was showed the process of add new trip package details, first the controller will
show the user interface and that the system will get the list of trip package and show to user,
after that the user have to press the add new button and the controller will show an empty
form to the user, after that the user will fill up the trip package details and press the save
button, then the controller will send the new trip package details back to database and save
into database.
Project 117
Travel Automatic Scheduling System Chapter 3: System Design
Modify Trip Package
Delete Trip Package
Project 118
Travel Automatic Scheduling System Chapter 3: System Design
3.2.7 Menu Maintenance
Filter Menu
This sequence showed the controller will start the user interface first and the system will get
the menu list and display to user, so after that the user may filter the list of menu by thick the
check box and enter the keyword into the text box provided, after that the controller will filter
the menu based on the keyword entered. Beside that the user also can thick the check box
beside the type of menu, and select a type of menu in the drop down list, then the system will
filter the menu based on the selected type of menu.
Project 119
Travel Automatic Scheduling System Chapter 3: System Design
View Menu
This diagram was showed the process of view the menu details, first the controller will show
the user interface and that the system will get the list of menu and show to user, after that the
user may select an menu on the list box and press the view details button, then the controller
will get the menu details from the database back to the user interface and show the details to
user.
Project 120
Travel Automatic Scheduling System Chapter 3: System Design
Add New Menu
8: SelectModifyDetailsButton()
This diagram was showed the process of add new menu details, first the controller will show
the user interface and that the system will get the list of menu and show to user, after that the
user have to press the add new button and the controller will show an empty form to the user,
after that the user will fill up the menu details and press the save button, then the controller
will send the new menu details back to database and save into database.
Project 121
Travel Automatic Scheduling System Chapter 3: System Design
Modify Menu
14: PressSaveButton()
13: ContinueModifyMenuDetails()
11: PressOKButton()
10: ModifyMenuItems()
14.1: UpdateDatabase()
7: ModifyMenuDetails() 11.1: UpdateDatabase()
5: PressModifyButton() 8.1: RequestMaintainMenuItemsPage()
4: SelectMenu() 5.1: GetMenuDetails()
2: SelectMenuListPage() 2.1: RequestMenuListPage()
3: DisplayMenuListPage() 15: ReturnBackToMenuListPage()
6: DisplayMaintainMenuDetailsPage()
9: DisplayMaintainMenuItemsPage()
12: ReturnBackToMenuDetailsPage()
1: StartUI() 8.2: ResponseMaintainMenuItemsPage()
2.2: ReponseMenuListPage() 11.2: UpdateSuccessful()
5.2: GetMenuDetails() 14.2: UpdateSuccessful()
5.1.1: GetTripPackageDetails()
11.1.1: UpdateDatabase()
14.1.1: UpdateDatabase()
5.1.2: GetTripPackageDetails()
11.1.2: UpdateSuccessful()
14.1.2: UpdateSuccessful()
Menu
Delete Menu
Project 122
Travel Automatic Scheduling System Chapter 3: System Design
3.2.8 Type Of Maintenance
View and Add New Type Of
1: StartInterface()
2: SelectTypeOf()
2.1: RequestTypeOfPage()
2.2: ResponseTypeOf()
3: DisplayTypeOfPage()
[view type of]
4: SelectTypeOf()
4.1: GetTypeOfDetails()
4.1.1: GetTypeOfDetails()
4.1.2: GetTypeOfDetails()
4.2: GetTypeOfDetails()
5: DisplayTypeOfDetails()
[add new type of] 6: PressAddNewButton()
6.1: RequestAddNewTypeOf()
6.2: ClearTextBox()
7: DisplayEmptyTextBox
8: FillUpTypeOfDetails()
9: PressSaveButton()
9.1: UpdateDatabase()
9.1.1: UpdateDatabase()
9.1.2: UpdateSuccessful()
9.2: RefreshTypeOfList()
This diagram showed the controller first wills who the user interface for the type of
maintenance form, after that the user will request the type of page and the system will display
the type of page. On the type of page, the user can view the details of the type of record, and
if the user with to add new type of record, the user have to press add new button and the
system will clear the text box and allow the user to enter the new type of record information,
then after the user finish to fill up the type of details and press save button, the system will
save the type of record to database.
Project 123
Travel Automatic Scheduling System Chapter 3: System Design
Modify Type Of
Delete Type Of
5: PressRemoveButton()
4: SelectTypeOf() 5.1: UpdateDatabase()
2: SelectTypeOfListPage() 2.1: RequestTypeOfListPage()
3: DisplayTypeOfListPage() 1: StartUI()
6: RefreshTypeOfList() 2.2: ReponseTypeOfPage()
5.2: UpdateSuccessful()
5.1.1: UpdateDatabase()
5.1.2: UpdateSuccessful()
Type Of
Project 124
Travel Automatic Scheduling System Chapter 3: System Design
3.2.9 Comment
This diagram showed the process for adding comment into the system, first the controller will
start the user interface, after that the user will press the comment button on the view screen
(for product, service, event, and etc…) so the controller will get the comment based on the
item selected, so the comment will showed on the screen, after that the user are able to enter
the comment and press send button to send the comment to the system, the controller will
update the comment into the database.
Project 125
Travel Automatic Scheduling System Chapter 3: System Design
3.2.10 Post
2 Table name: Announcement
Table description: Record details of announcement.
Project 126
Travel Automatic Scheduling System Chapter 3: System Design
3.3 Database description
Table name: Country
Table description: Record the country name that will use in system
Table name: Event
Table description: Record event details that had added by system administrator or service
company.
Table name: FoodAndBeverage
Table description: Record details of foods and beverages that supplied by restaurant.
Project 127
Travel Automatic Scheduling System Chapter 3: System Design
Column
Column
Column
Project 128
Name Data type Null? Description
FoodAndBeverageID nchar(10) No ID number of food and
beverage.
FoodAndBeverageName varchar(50) No Name of food and
beverage.
FoodAndBeverageDescription varchar(5000) No Description of food and
beverage.
TypeOfFoodAndBeverage nchar(10) No Type of food and beverage
in categories.
FoodAndBeverageOwner nchar(10) No ID number for the owner.
FoodAndBeveragePrice decimal(9, 2) No Price of each food and
beverage.
FoodAndBeverageStatus tinyint No Status food and beverage.
FoodAndBeverageAvailableFrom datetime No Date start of available to
purchase.
FoodAndBeverageAvailableTo datetime No Date end of available to
purchase.
Travel Automatic Scheduling System Chapter 3: System Design
Table name: Friend
Table description: Record friend list that visitor added in their friend list.
Table name: Menu
Table description: Record details of menu for foods and beverages which supplied by
restaurant.
Project 129
Travel Automatic Scheduling System Chapter 3: System Design
Column
Table name: Message
Table description: Record message’s details that sent by sender.
Column
Name Data type Null? Description
PaymentID nchar(10) No ID number of payment.
Payer nchar(10) No ID number of the Payer that paid
the particular payment.
PaymentDateTime datetime No Date and time of payment paid.
Amount decimal(9, 2) No Total amount of the payment.
PaymentStatus tinyint No Status of the payment.
Column
Table name: Place
Table description: Record the place that visitor can be visit.
Column
Name Data type Null? Description
PostID nchar(10) No ID number of post.
PostOwner varchar(50) No ID number of owner.
PostDateTime datetime No Date and time of the post.
PostContent varchar(500) No Content of post.
Table name: Product
Table description: Record details of each products which supplied by service company.
Column
Name Data type Null? Description
PurchaseID nchar(10) No ID number of purchase.
PurchaseBy nchar(10) No ID number of the buyer.
PurchaseDateTime datetime No Date and time of buyer purchase.
Table name: PurchaseItems
Table description: Record details of items that purchase by user.
Column
Name Data type Null? Description
PurchaseID nchar(10) No ID number of purchase.
PurchaseItemID nchar(10) No ID number of item that purchase
by buyer.
PurchaseQuantity int No Quantity of items had been
purchase.
PurchasePrice decimal(9, 2) No Price of item that purchase by
buyer.
Status tinyint No The status for the purchase item.
Project 133
Travel Automatic Scheduling System Chapter 3: System Design
Table name: Service
Table description: Record details of service that supplied by service company.
Column
Name Data type Null? Description
ServiceID nchar(10) No ID number of service.
ServiceName varchar(50) No Name of service.
ServiceDescription varchar(5000) No Description of service.
TypeOfService nchar(10) No Type of service in
different categories.
ServiceOwner nchar(10) No ID number of the owner.
ServicePrice decimal(9, 2) Yes Price of each service.
ServiceStatus tinyint No Status of service.
ServiceAvailableFrom
Column datetime No Date start of available to
order particular service.
ServiceAvailableTo datetime No Date end of available to
order particular service.
Project 134
Travel Automatic Scheduling System Chapter 3: System Design
Table name: ServiceCompany (SCY)
Table description: Record details of service company.
Column
Name Data type Null? Description
ServiceCompanyID nchar(10) No ID number of service company.
CompanyName varchar(50) No Name of service company.
CompanyDescription varchar(5000) No Description of service company.
TypeOfServiceCompany varchar(50) Yes Type of service company in different
categories.
CompanyRegisterNumber varchar(50) Yes Registration number of service company.
CompanyRegisterDate datetime No Date of company register.
AccountStatus tinyint No Status of the service company account.
DefaultUser nchar(10) No Default user (staff) that belong to this
Service Company.
Street varchar(50) Yes Street of service company’s address.
PostCode varchar(50) Yes Post code of service company’s address.
City varchar(50) Yes City of service company’s address.
State varchar(50) Yes State of service company’s address.
Country nchar(3) Yes Country of service company’s address.
Project 135
Travel Automatic Scheduling System Chapter 3: System Design
Table name: ShoppingCart
Table description: Record the visitor’s shopping details.
Column
Name Data type Null? Description
CartOwnerID nchar(10) No ID number of owner which had
purchasing and adding items to
shopping cart.
ProductID nchar(10) No ID number of item which buyer
add to shopping cart.
Quantity int No Quantity of products that buyer
add to shopping cart.
Project 136
Travel Automatic Scheduling System Chapter 3: System Design
Table name: Staff
Table description: Record details of Service Company’s staff.
Column
Name Data type Null? Description
StaffID nchar(10) No ID number of Service
Company’s staff.
LoginName varchar(50) Yes Name for login to the system.
LoginPassword varchar(50) No Password for login to the system.
DisplayName varchar(50) No Name of staff that display on the
screen.
FirstName varchar(50) No First name of staff.
LastName varchar(50) No Last name of staff.
RegisterEmailAddress varchar(50) No Email Address that staff register
in.
Sex tinyint Yes Gender of staff.
SecurityQuestion varchar(50) Yes Question of security that set by
registrant.
SecurityAnswer varchar(50) Yes Answer of security question.
AccountStatus tinyint No Status of the staff account.
Street varchar(50) Yes Street of staff’s address.
PostCode varchar(50) Yes Post code of staff’s address.
City varchar(50) Yes City of staff‘s address.
State varchar(50) Yes State of staff‘s address.
Country nchar(3) Yes Country of staff’s address.
Project 137
Travel Automatic Scheduling System Chapter 3: System Design
Column
Project 138
Name Data type Null? Description
SystemAdministratorID nchar(10) No ID number of system
administrator.
LoginName varchar(50) Yes Name for login to the system.
LoginPassword varchar(50) No Password for login to the system.
DisplayName varchar(50) No Name of System Administrator
that display on the screen.
FirstName varchar(50) No First name of system
administrator.
LastName varchar(50) No Last name of system
administrator.
Sex tinyint Yes Gender of system administrator.
SecurityQuestion varchar(50) Yes Question of security that set by
Table name: SystemAdministrator (SYA) registrant.
SecurityAnswer
Table description: varchar(50) Yes
Record details of system administrator. Answer of security question.
AccountStatus tinyint No Status of the system
Column administrator account.
Table name: TripPackage
Street
Table description: varchar(50)
Record details of trip package. Yes Street of system administrator’s
address.
PostCode varchar(50) Yes Post code of system
administrator’s address.
City varchar(50) Yes City of system administrator’s
address.
State varchar(50) Yes State of system administrator’s
address.
Country nchar(3) Yes Country of system
administrator’s address.
Level Int No The level for access.
Supervisor Nchar(10) Yes The supervisor for the system
administrator.
EmailAddress varchar(50) No The email address for the system
Travel Automatic Scheduling System Chapter 3: System Design
Project 139
Name Data type Null? Description
TripPackageID nchar(10) No ID number of trip package.
TripPackageName varchar(50) No Name of trip package.
TripPackageDescription varchar(5000) No Description of trip package.
TripPackageOwner nchar(10) No Owner name of trip package.
TripPackagePrice decimal(9, 2) Yes Price of each trip package.
TripPackageStatus tinyint No Status of trip package.
TripPackageAvailableFrom datetime No Date start of available to order
particular trip package.
TripPackageAvailableTo datetime No Date end of available to order
particular trip package.
Travel Automatic Scheduling System Chapter 3: System Design
administrator.
Table name: TripPackageItems
Table description: Record details of items in trip package.
Column
Table name: TypeOfEvent
Table description: Record the details of different type of event in categories.
Project 140
Name Data type Null? Description
TripPackageID nchar(10) No ID number of trip package.
TripPackageItemID nchar(10) No ID number of item in the trip
package.
TripPackageItemDescription varchar(5000) Yes Description of item in trip
package.
Travel Automatic Scheduling System Chapter 3: System Design
Table name: TypeOfFoodAndBeverage
Table description: Record the details of different type of food and beverage in categories.
Column
Table name: TypeOfPlace
Table description: Record the details of different type of place in categories.
Column
Name Data type Null? Description
TypeOfPlaceID nchar(10) No ID number for type of place
which is unique.
TypeOfPlaceName varchar(50) No Name or title for type of place.
Table name: TypeOfProduct
Table description: Record the details of different type of product in categories.
Project 141
Name Data type Null? Description
TypeOfFoodAndBeverageID nchar(10) No ID number for type of food
and beverage which is
unique.
TypeOfFoodAndBeverageName varchar(50) No Name or title for type of
food and beverage.
Travel Automatic Scheduling System Chapter 3: System Design
Column
Column
Column
Name Data type Null? Description
TypeOfProductID nchar(10) No ID number for type of product
which is unique.
TypeOfProductName varchar(50) No Name or title for type of product.
Table name: TypeOfService
Table description: Record the details of different type of service in categories.
Column
Project 142
Name Data type Null? Description
TypeOfServiceCompanyID nchar(10) No ID number for type of service
which is unique.
TypeOfServiceCompanyName
Name Data type varchar(50) No Name or title for type of
Null? Description
TypeOfServiceID nchar(10) No service.
ID number for type of service
which is unique.
TypeOfServiceName varchar(50) No Name or title for type of service.
Travel Automatic Scheduling System Chapter 3: System Design
Table name: TypeOfServiceCompany
Table description: Record the details of different type of service in categories.
Project 143
Name Data type Null? Description
VisitorID nchar(10) No ID number of visitor.
Table name: Visitor
LoginName varchar(50) Yes Name for login to the system.
Table description: Record details of visitor.
LoginPassword varchar(50) No Password for login to the system.
DisplayName varchar(50) No Name of visitor that display on
screen.
FirstName varchar(50) No First name of visitor.
LastName varchar(50) No Last name of visitor.
RegisterEmailAddress varchar(50) No Registration email address of
visitor.
Sex tinyint Yes Gender of visitor.
Column
DateOfBirth datetime Yes Visitor’s date of birth.
RegisterDate datetime No Date of visitor register.
SecurityQuestion varchar(50) Yes Question of security that set by
registrant.
SecurityAnswer varchar(50) Yes Answer of security question.
AccountStatus tinyint No Status of the visitor account.
Street varchar(50) Yes Street of visitor’s address.
PostCode varchar(50) Yes Post code of visitor’s address.
City varchar(50) Yes City of visitor’s address.
State varchar(50) Yes State of visitor’s address.
Country nchar(3) Yes Country of visitor’s address.
Travel Automatic Scheduling System Chapter 3: System Design
Column
Project 144
Travel Automatic Scheduling System Chapter 3: System Design
3.4 Summary
In this chapter, we had used few diagrams to design the structure of system based on
the user requirement that gathering and analyzing at the previous chapter. The
diagrams that we used included activity diagram, sequence diagram, collaboration
diagram and database description. The next chapter will discuss about the
programming coding that used in this system.
Project 145
Travel Automatic Scheduling System Chapter 4: Programming
Chapter 4
Programming
Project 146
Travel Automatic Scheduling System Chapter 4: Programming
4 Programming
In this chapter we are going to show some of the part coding in our system, we are
using .NET Framework with VB.NET and xaml to perform the interface design and
also the backend logic code, the xaml coding also can perform the animation task for
the system. Beside that we are using LINQ to perform the filtering task in the system.
And because the Silverlight application is a client side application that integrate with
the server side application, so the integration task will using web service and WCF
(Windows Communication Foundation) to perform.
Project 147
Travel Automatic Scheduling System Chapter 4: Programming
4.1 Sample coding
4.1.1 Select all Announcement
<OperationContract()> Public Function GetAllAnnouncement() As List(Of Announcement)
Dim db As New DataClasses1DataContext
Dim query = From Announcement In db.Announcements _
Select Announcement
Return query.ToList
End Function
This function was writing at the server side as a web service function, and using the LINQ to
retrieve all the announcement record in the database.
4.1.2 Insert announcement with generate new ID
<OperationContract()> Public Function InsertAnnouncement(ByVal aAnnouncementID As String, _
ByVal aStartDateTime As DateTime, _
ByVal anEndDateTime As DateTime, _
ByVal anAnnouncementTitle As String, _
ByVal anAnnouncementContent As String, _
ByVal aRelatedLink As String) As Boolean
Dim db As New DataClasses1DataContext
Dim newAnnouncement As New Announcement
Dim selectQuery = From Announcement In db.Announcements _
Select Announcement.AnnouncementID
newAnnouncement.AnnouncementID = "ANN" & _
(Integer.Parse(selectQuery.Max.Substring(3)) + 1).ToString("D7")
newAnnouncement.StartDateTime = aStartDateTime
newAnnouncement.EndDateTime = anEndDateTime
newAnnouncement.AnnoucementContent = anAnnouncementContent
newAnnouncement.RelatedLink = aRelatedLink
newAnnouncement.AnnoucementTitle = anAnnouncementTitle
db.Announcements.InsertOnSubmit(newAnnouncement)
Try
db.SubmitChanges()
Return True
Catch e As Exception
Return False
End Try
Return False
End Function
This function was writing at the server side as a web service function, and it using LINQ to
insert a new announcement into the database.
Project 148
Travel Automatic Scheduling System Chapter 4: Programming
4.1.3 Sending Email function
<OperationContract()> Public Sub SendEmail(ByVal strToAddress As String, _
ByVal strTitle As String, _
ByVal strContain As String)
'create the mail message
Dim mail As New System.Net.Mail.MailMessage()
'set the addresses
mail.From = New Net.Mail.MailAddress("Support@TASS.com")
mail.To.Add(New MailAddress(strToAddress))
'set the content
mail.Subject = strTitle
mail.Body = strContain
Try
'send the message
Dim smtp As New Net.Mail.SmtpClient("smtp.wenstation.com", 587)
Dim basicAuthenticationInfo As New System.Net.NetworkCredential("testing@wenstation.com", "")
smtp.Credentials = basicAuthenticationInfo
smtp.Send(mail)
Catch ex As Exception
End Try
End Sub
This function will be a web service that to be perform the send email function, inside the
function will create a new mail message instance and using the SMTP to send the email out.
Project 149
Travel Automatic Scheduling System Chapter 4: Programming
4.1.4 Show map
Interface (Xaml)
<Microsoft_Maps_MapControl:Map x:Name="maptest" Mode="Road" Center="5,109" ZoomLevel="5" ScaleVisibility="Coll
apsed" Margin="0,0,‐10,0" />
Backend code (VB .NET)
Public Sub New(ByRef aLocation As String)
InitializeComponent()
StrLocation = aLocation
Try
If aLocation <> "" Then
dragPushpin = New DraggablePushpin()
dragPushpin.Location = New Microsoft.Maps.MapControl.Location(Double.Parse(aLocation.ToString.Split(";")(0)),
Double.Parse(aLocation.ToString.Split(";")(1)))
maptest.Children.Add(dragPushpin)
maptest.Center = dragPushpin.Location
maptest.ZoomLevel = 12
End If
Catch ex As Exception
End Try
End Sub
This function will perform the map control for the at the place page, so in the constructor we
adding a DraggablePushpin control to allow the user to change the position for the location,
so if the location is nothing and in a valid format, the pushpin will showed on the map.
Project 150
Travel Automatic Scheduling System Chapter 4: Programming
4.1.5 Binding Data for product information
Friend Sub BindData()
With theProduct
If TypeOf WebMaster.UserInfo Is SystemAdministrator Then
SetOwnerControlas(Windows.Visibility.Visible)
ElseIf TypeOf WebMaster.UserInfo Is Staff Then
SetOwnerControlas(Windows.Visibility.Collapsed)
For Each Company As WorkIn In CType(WebMaster.UserInfo, Staff).GetWorkIn
If .pProductOwner.ServiceCompanyID = Company.wiServiceCompany.ServiceCompanyID And Company.Status =
EmployeeWorkInStatus.CurrentEmployee Then
SetOwnerControlas(Windows.Visibility.Visible)
End If
Next
ElseIf TypeOf WebMaster.UserInfo Is Visitor Then
SetOwnerControlas(Windows.Visibility.Collapsed)
Else
Dim frmError_InvalidUser As New frmInvalidUser
frmError_InvalidUser.Show()
End If
lblProductName.Text = .ProductName
lblProductDescription.Text = .ProductDescription
lblQuantityOnHand.Text = .ProductQuantityOnHand
lblPrice.Text = .ProductUnitPrice
lblStatus.Text = .ProductStatus
lblAvailableFrom.Text = .ProductAvailableFrom
lblAvailableTo.Text = .ProductAvailableTo
lblPublishFrom.Text = .ProductPublishFrom
lblPublishTo.Text = .ProductPublishTo
cboTypeOfProduct.SelectedValue = .pTypeOfProduct.TypeOfProductID
Dim bitmap1 As BitmapImage = New BitmapImage()
bitmap1.UriSource = New Uri("http://localhost:4042/Pic/" & .ProductID & ".jpg")
imgShow.Source = bitmap1
CheckInTheCart()
Try
For i As Integer = 0 To products.Count ‐ 1
If theProduct.ProductID = products.Item(i).ProductID Then
CurrentPosition = i + 1
Exit For
End If
Next
txtCurrentPosition.Text = CurrentPosition & " / " & products.Count
Catch ex As Exception
End Try
End With
End Sub
This function will be perform the data binding function in the view product information page,
it will binding the product information into the interface, and calculate the current position of
the product and the total number of the product, it also will assign the Bitmap image for the
image that upload by the user. In this function we also can see that is a validation for
checking the type of user, it will to prevent the unauthorized user to log into this page.
Project 151
Travel Automatic Scheduling System Chapter 4: Programming
4.2 Summary
In this chapter, it had discussed about some sample coding had used in the system, such as
generate ID, insert, send email, display map and data binding. The next chapter will discuss
about the software testing plan for the system.
Project 152
Travel Automatic Scheduling System Chapter 5: Software Testing
Chapter 5
Software Testing
Project 153
Task Name Test Objective Expected result Actual result Remark
Show event It to allow the user views the event The event list The event list Pass
list information. will show will show
correctly. correctly.
Show modify The “Modify” button only will The button The button Pass
or view event show by the owner of the event or show correctly show correctly
all the system administrator, else by the user. by the user.
the “View” button will show.
Show Event It to allow the user views the The details The details Pass
details details for the event when the user show correctly. show correctly.
press “Details” button.
Modify event It to allow the user to modify the The detail was The detail was Pass
details details for the event, and update updated into updated into
the new details into database. database. database.
Filter list of It to allow the user filter the event The filter result The filter result Pass
event list based on the criteria given. show correctly show correctly
based on the based on the
criteria given. criteria given.
View photo Allow the user to view the photo The photo show The photo show Pass
when click on the photo. correctly. correctly.
Previous and The two navigation button allow All the All the Pass
next event the user see the previous record information information
and next record, the system should show correctly. show correctly.
show the correct current position
and the total record.
Validate The validation for the required The validation The validation Pass
before save field is entering by the user when message show message show
Travel Automatic Scheduling System Chapter 5: Software Testing
5 Software Testing
5.1 Testing plan
5.1.1 Event
Project 154
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.2 Food and Beverage
before save field is entering by the user when message show message show
Project 156
Task Name Test Objective Expected result Actual result Remark
Show place list It to allow the user views the place The place list The place list Pass
information. will show will show
correctly. correctly.
Show modify The “Modify” button only will The button The button Pass
or view place show by the owner of the place or show correctly show correctly
all the system administrator, else by the user. by the user.
the “View” button will show.
Show place It to allow the user views the The details The details Pass
details details for the place when the user show correctly. show correctly.
press “Details” button.
Modify place It to allow the user to modify the The detail was The detail was Pass
details details for the place, and update updated into updated into
the new details into database. database. database.
Filter list of It to allow the user filter the place The filter result The filter result Pass
place list based on the criteria given. show correctly show correctly
based on the based on the
criteria given. criteria given.
View photo Allow the user to view the photo The photo show The photo show Pass
when click on the photo. correctly. correctly.
Previous and The two navigation button allow All the All the Pass
next place the user see the previous record information information
and next record, the system should show correctly. show correctly.
show the correct current position
and the total record.
Validate The validation for the required The validation The validation Pass
before save field is entering by the user when message show message show
into database the user press “save” button. correctly. correctly.
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.4 Place
Project 157
Task Name Test Objective Expected result Actual result Remark
Show service It to allow the user views the The service list The service list Pass
list service information. will show will show
correctly. correctly.
Show modify The “Modify” button only will The button The button Pass
or view show by the owner of the service show correctly show correctly
service or all the system administrator, by the user. by the user.
else the “View” button will show.
Show service It to allow the user views the The details The details Pass
details details for the service when the show correctly. show correctly.
user press “Details” button.
Modify service It to allow the user to modify the The detail was The detail was Pass
details details for the service, and update updated into updated into
the new details into database. database. database.
Filter list of It to allow the user filter the The filter result The filter result Pass
service service list based on the criteria show correctly show correctly
given. based on the based on the
criteria given. criteria given.
View photo Allow the user to view the photo The photo show The photo show Pass
when click on the photo. correctly. correctly.
Previous and The two navigation button allow All the All the Pass
next service the user see the previous record information information
and next record, the system should show correctly. show correctly.
show the correct current position
and the total record.
Validate The validation for the required The validation The validation Pass
before save field is entering by the user when message show message show
into database the user press “save” button. correctly. correctly.
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.5 Service
Project 158
Task Name Test Objective Expected result Actual result Remark
Show trip It to allow the user views the trip The trip The trip Pass
package list package information. package list will package list will
show correctly. show correctly.
Show modify The “Modify” button only will The button The button Pass
or view trip show by the owner of the trip show correctly show correctly
package package or all the system by the user. by the user.
administrator, else the “View”
button will show.
Show trip It to allow the user views the The details The details Pass
package details for the trip package when show correctly. show correctly.
details the user press “Details” button.
Modify trip It to allow the user to modify the The detail was The detail was Pass
package details for the trip package, and updated into updated into
details update the new details into database. database.
database.
Filter list of It to allow the user filter the trip The filter result The filter result Pass
trip package package list based on the criteria show correctly show correctly
given. based on the based on the
criteria given. criteria given.
View photo Allow the user to view the photo The photo show The photo show Pass
when click on the photo. correctly. correctly.
Previous and The two navigation button allow All the All the Pass
next trip the user see the previous record information information
package and next record, the system should show correctly. show correctly.
show the correct current position
and the total record.
Validate The validation for the required The validation The validation Pass
before save field is entering by the user when message show message show
into database the user press “save” button. correctly. correctly.
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.6 Trip Package
Project 159
Task Name Test Objective Expected result Actual result Remark
Show menu It to allow the user views the menu The menu list The menu list Pass
list information. will show will show
correctly. correctly.
Show modify The “Modify” button only will The button The button Pass
or view menu show by the owner of the menu or show correctly show correctly
all the system administrator, else by the user. by the user.
the “View” button will show.
Show menu It to allow the user views the The details The details Pass
details details for the menu when the user show correctly. show correctly.
press “Details” button.
Modify menu It to allow the user to modify the The detail was The detail was Pass
details details for the menu, and update updated into updated into
the new details into database. database. database.
Filter list of It to allow the user filter the menu The filter result The filter result Pass
menu list based on the criteria given. show correctly show correctly
based on the based on the
criteria given. criteria given.
View photo Allow the user to view the photo The photo show The photo show Pass
when click on the photo. correctly. correctly.
Previous and The two navigation button allow All the All the Pass
next menu the user see the previous record information information
and next record, the system should show correctly. show correctly.
show the correct current position
and the total record.
Validate The validation for the required The validation The validation Pass
before save field is entering by the user when message show message show
into database the user press “save” button. correctly. correctly.
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.7 Menu
Project 160
Task Name Test Objective Expected result Actual result Remark
Show list of It to allow the system The type of is The type of is Pass
type of administrator to view all the type show correctly. show correctly.
of and the description.
Modify list of It to allow the system The type of is The type of is Pass
type of administrator to modify the type of update into update into
record includes the name and the database. database.
description for the type of.
Remove list of It to allow the system The type of was The type of was Pass
type of administrator to delete the type of deleted from deleted from
record from the database. database. database.
Add new type It to allow the system The new type The new type Pass
of administrator to add new type of. of record is of record is
added into added into
database. database.
Validate It will validate all required field. If the required If the required Pass
before save field does not field does not
into database enter by the enter by the
user, message user, message
box will show. box will show.
Travel Automatic Scheduling System Chapter 5: Software Testing
5.1.8 Type Of
Project 161
Task Name Test Objective Expected result Actual result Remark
Show It to show the comment list when The comment The comment Pass
comment the user click the “comment” show correctly show correctly
based on the button. by the item. by the item.
item
Show The comment will show the owner The user type is The user type is Pass
comment who leave the comment with the show correctly. show correctly.
owner name user type.
with user type
Add new It to allow the user leaves a The comment The comment Pass
comment comment and insert into database. adds into adds into
database. database.
Remove It to allow the user removes the The comment The comment Pass
comment comment if he/she is the comment removes from removes from
owner. the database. the database.
5.1.9 Comment
Post
5.2 Summary
This chapter discussed the testing plan that use to test each modules with the task name, test
objective, expected result, actual result, and the remarks. Next chapter will be conclusion for
this system
Project 162
Travel Automatic Scheduling System Chapter 6: Conclusion
Chapter 6
Conclusion
Project 163
Travel Automatic Scheduling System Chapter 6: Conclusion
6 Conclusion
The seminar title Photo tourism by using Microsoft Photosynth, the system will integrate
with Photosynth website for the place, this can provided user have more understanding and
interaction with the place.
In this project we are using Microsoft Visual Studio 2010 and Microsoft Expression
Blend 4. We are using Microsoft Visual Studio 2010 to create the project and also debug the
project and the Microsoft Visual Studio is very useful to doing those tasks. We are using
Microsoft Expression Blend 4 to create and modify our interface for the system, because
Microsoft Expression Blend 4 is design the interface for the Silverlight application and WPF
application. Another reason that we using Microsoft Visual Studio is because we are using
the .NET Framework to make this project, because the Microsoft .NET Framework is a
standard framework that can support various technology.
6.1 Evaluation against the project objectives
The project we submitted are not fully achieve, that is because we have make some
changes on our project at the development period, and we restructure that system to make it
more logic and workable in real life, and the Silverlight application we develop are different
with the windows and web application we learned in college, so that we using many time to
doing research on the development stage.
6.2 Project management issues
When we have some different idea to do the project that we will discuss to make a
good solution to make it to be win-win situation, that is because the new idea are more logic
and more workable compare with the stage previous we define, so the some changes is
require to the system.
Project 164
Travel Automatic Scheduling System Chapter 6: Conclusion
6.3 Evaluation of project
The system we make are strength in the validation for the input that the user may
enter, because the input information is are require to show to other user, so if the information
are does not validate before insert into database, that the output information are not accurate.
Beside that the interaction for the system with the user also is the strength for the system,
because the system will provided the message box to tell the user what to do or any problem
for their action, and also the photo, map and the Photosynth are provided to help the user
know more about the place, and also the product. Besides that , this system are enabled out of
browser function, this will help the user to save this system on their local PC, and they does
not require to download again the system from the website every time when they’re going to
the website.
6.4 Suggestions for future project improvement
The system are possible to make it more complete transaction process, for example
the visitor can directly pay the money through PayPal or other money transfer services,
because it can help the transaction process to be done more easily and faster.
6.5 Personal reflection
During to doing this project, I’m learning a lot of new thing that I never learn in college,
for example the LINQ and also the Photosynth that is a very good experience to explore the
new technology and also the new knowledge.
Project 165
Travel Automatic Scheduling System Chapter 7: References
7 References
1. Microsoft. 2011. ‘101 LINQ Sample, 2011’. Viewed on 1/20/2011.
Available from: http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx
2. Microsoft Corporation. 2011. ‘Silverlight 4 Tutorial’. Viewed on
18/1/2011. Available from:
http://www.silverlight.net/learn/tutorials/silverlight-4/
3. Microsoft Corporate.2007. ‘What is Photosynth’. Viewed on 24
September 2010. Available from: http://photosynth.net/about.aspx.
Project 166
Travel Automatic Scheduling System Chapter 8: Appendices
8 Appendices
Project 167
Travel Automatic Scheduling System Chapter 9: User Guide
9 User Guide
9.1 Home page
Before login as visitor, merchant, or system administrator, the home page will display as
above with following functions:
1. Login button: User press login button to login as visitor, merchant, or system
administrator to access the system. After press the button, the system will proceed to
login page (Refer to login page section).
2. Register button: User who has not registered as visitor or merchant, they may click this
button to register. After press the button, the system will proceed to register (select user)
page to select user and proceed to registration page.
3. Home button: to display home page.
4. Announcement list box: This list box is display the announcement that posted by system
administrator to announce the activities of website.
Project 168
Travel Automatic Scheduling System Chapter 9: User Guide
5. Latest service company post: To display the latest post that posted by merchant of
particular service company.
6. Status bar: It is to display the status of the website, such as ready, waiting and so on.
7. My post list box: To view the post that posted by particular user (for visitor or merchant
only). If user would not sign in or login as system administrator, this list box will be
empty.
Project 169
Travel Automatic Scheduling System Chapter 9: User Guide
9.2 Trip Items Maintenance
The trip items maintenance included event maintenance, food and beverage maintenance,
product maintenance, place maintenance, service maintenance, trip package maintenance and
menu maintenance. The following sections describe how to access to each maintenance page
and how to maintain each trip items:
9.2.1 How to access to maintenance page?
The following describe the 3 users, which are visitor, merchant and system administrator how
to access to each maintenance page.
Login as visitor
9.2.1.1 Login as visitor
The visitor may press search button at the top of website, the website will proceed to search
page as below.
Project 170
Travel Automatic Scheduling System Chapter 9: User Guide
At the search page, by press the button to access different maintenance page as following:
1. Product button: By press the product button to proceed to product list page that display
the available products.
2. Service button: By press the service button to proceed to service list page that display the
available services.
3. Place button: By press the place button to proceed to place list page that display the
available places.
4. Event button: By press the event button to proceed to event list page that display the
available events.
5. Menu button: By press the menu button to proceed to menu list page that display the
available menus.
6. Food and beverage button: By press the food and beverage button to proceed to food and
beverage list page that display the available food and beverages.
7. Trip package button: By press the trip package button to proceed to trip package list page
that display the available trip package.
8. Visitor or service company button: By press the visitor or service company button to
proceed to visitor or service company search page that allows to search available visitors
or service companies.
Project 171
Travel Automatic Scheduling System Chapter 9: User Guide
At the profile (merchant) page, by press the button to access different maintenance page as
following:
1. My company button: By press my company button to proceed to service company list
page that display the company that owned by the particular merchant.
2. Product button: By press the product button to proceed to product list page that display
the available products.
Project 172
Travel Automatic Scheduling System Chapter 9: User Guide
3. Service button: By press the service button to proceed to service list page that display the
available services.
4. Trip package button: By press the trip package button to proceed to trip package list page
that display the available trip packages.
5. Place button: By press the place button to proceed to place list page that display the
available places.
6. Event button: By press the event button to proceed to event list page that display the
available events.
7. Food and beverage button: By press the food and beverage button to proceed to food and
beverage list page that display the available food and beverages.
8. Menu button: By press the menu button to proceed to menu list page that display the
available menus.
9. Update purchase button: By press the update purchase button to proceed to purchase list
page that display the available purchase item details that ordered by particular visitors.
Project 173
Travel Automatic Scheduling System Chapter 9: User Guide
1. Admin button: By press admin button to proceed to system administrator list page that
display all the available system administrators.
Project 174
Travel Automatic Scheduling System Chapter 9: User Guide
2. Visitor button: By press visitor button to proceed to visitor list page that display all the
available visitors.
3. Merchant button: By press merchant button to proceed to merchant list page that display
all the available merchants.
4. Company button: By press company button to proceed to service company list page that
display all the available service companies.
5. Announcement button: By press announcement button to proceed to announcement list
page that display all the available announcements.
6. Product button: By press the product button to proceed to product list page that display
the available products.
7. Service button: By press the service button to proceed to service list page that display the
available services.
8. Place button: By press the place button to proceed to place list page that display the
available places.
9. Event button: By press the event button to proceed to event list page that display the
available events.
10. Menu button: By press the menu button to proceed to menu list page that display the
available menus.
11. Food and beverage button: By press the food and beverage button to proceed to food and
beverage list page that display the available food and beverages.
12. Trip package button: By press the trip package button to proceed to trip package list page
that display the available trip packages.
13. Type of product: By press type of product button to proceed to type of product list page
that display all the available product types.
Project 175
Travel Automatic Scheduling System Chapter 9: User Guide
15. Type of place: By press type of place button to proceed to type of place list page that
display all the available place types.
16. Type of event: By press type of event button to proceed to type of event list page that
display all the available event types.
17. Type of food: By press type of food button to proceed to type of food list page that
display all the available food types.
18. Type of company: By press type of company button to proceed to type of company list
page that display all the available company types.
After they press the “trip items” button, at the “trip items” list page the search result list box
will display the available trip items with the name and description. But if login as visitor, add
new button will disappear. Below is an example of trip items list page, which is event list
page:
Next, the following are describe the functions for each trip items page:
Project 176
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.2 Event Maintenance
box. If did not select any check box or enter anything, it will display all available events at
the list box.
The visitor or merchant may select an event and press view button to proceed to view event
details page for view event.
Project 178
Travel Automatic Scheduling System Chapter 9: User Guide
Project 180
Travel Automatic Scheduling System Chapter 9: User Guide
For upload photo, they may press the upload button at the top of maintain event details page
and website will prompt put a window (as above) to select the photos from computer. Presses
open to add in the selected photo. Press cancel to cancel select photo. After completed fill up
all the details, press save button to save the information into database or press cancel to add
new.
As above, the maintain event details page will display the details of selected event and the
photos that uploaded during add the particular event. The merchant or system administrator
can edit all the event details, which are name, description, price, type, location, available start
date and end date and also change the picture.
Project 182
Travel Automatic Scheduling System Chapter 9: User Guide
When select type of event, they can either select the type from the drop down box or press the
“…” button to proceed to type of event page (Please refer to Type Of) to view the type’s
details. For select location, press “…” button and it will proceed to a small map (as below) to
drop a push pin to show where the location is located, press close button to close the select
location page. They also can select the available start date and end date by press the calendar
icon.
Project 183
Travel Automatic Scheduling System Chapter 9: User Guide
To change the event’s photo, press the upload button and prompt out a window (as below) for
select a picture from computer, press open to add the picture or press cancel button to cancel
select picture. After completed modify the details, press save to update the modified details or
press cancel to cancel the modify action.
Project 184
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.3 Food and Beverage Maintenance
Project 186
Travel Automatic Scheduling System Chapter 9: User Guide
The visitor or merchant may select a food and beverage and press view button to proceed to
view food and beverage details page for view food and beverage.
They are allow to view food and beverage details included food and beverage name,
description, price, type of food and beverage, picture, available start date and end date. There
also allow to view the previous and next food and beverages by press the next and previous
button. For the picture, they can press the picture and the website will prompt out view photo
page (as below) to allow them view it in large size of picture. Press close to close the view
Project 187
Travel Automatic Scheduling System Chapter 9: User Guide
photo page. At view food and beverage details page, it is also able to link to comment page
(Please refer to comment). So they are able to view and post the comments for the particular
food and beverage.
Project 188
Travel Automatic Scheduling System Chapter 9: User Guide
When select type of food and beverage, they can either select from the drop down box or
press the “…” button and proceed to type of food and beverage page (Please refer to Type
Of) to view the type’s details.
For upload photo, they may press the upload button at the top of maintain food and beverage
details page and website will prompt put a window (as above) to select the photos from
computer. Presses open to add in the selected photo. Press cancel to cancel select photo.
Project 189
Travel Automatic Scheduling System Chapter 9: User Guide
After completed fill up all the details, press save button to save the information into database
or press cancel to add new.
Project 190
Travel Automatic Scheduling System Chapter 9: User Guide
As above, the maintain food and beverage details page will display the details of selected
food and beverage and the photos that uploaded during add the particular food and beverage.
The merchant or system administrator can edit all the food and beverage details, which are
name, description, price, type, available start date and end date and also change the picture.
Project 191
Travel Automatic Scheduling System Chapter 9: User Guide
To change the food and beverage’s photo, press the upload button and prompt out a window
(as below) for select a picture from computer, press open to add the picture or press cancel
button to cancel select picture. After completed modify the details, press save to update the
modified details or press cancel to cancel the modify action.
Project 192
Travel Automatic Scheduling System Chapter 9: User Guide
Project 193
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.4 Product Maintenance
Project 194
Travel Automatic Scheduling System Chapter 9: User Guide
search result list box. If did not select any check box or enter anything, it will display all
available products at the list box.
Project 195
Travel Automatic Scheduling System Chapter 9: User Guide
They are allow to view product details included product name, description, price, type of
product, picture, available start date and end date. There also allow to view the previous and
next products by press the next and previous button. For the picture, they can press the
picture and the website will prompt out view photo page (as below) to allow them view it in
large size of picture. Press close to close the view photo page. At view product details page, it
is also able to link to comment page (Please refer to comment). So they are able to view and
post the comments for the particular product.
Project 196
Travel Automatic Scheduling System Chapter 9: User Guide
page with empty product form. They are required to fill up the product’s details as below,
which are product name, description, quantity on hand, price, type, available start date, end
date and also uploads picture.
When select type of product, they can either select from the drop down box or press the “…”
button and proceed to type of product page (Please refer to Type Of) to view the type’s
details. They also can select the available start date and end date by press the calendar icon.
Project 197
Travel Automatic Scheduling System Chapter 9: User Guide
For upload photo, they may press the upload button at the top of maintain product details
page and website will prompt put a window (as above) to select the photos from computer.
Presses open to add in the selected photo. Press cancel to cancel select photo. After
completed fill up all the details, press save button to save the information into database or
press cancel to add new.
Project 198
Travel Automatic Scheduling System Chapter 9: User Guide
Project 200
Travel Automatic Scheduling System Chapter 9: User Guide
To change the product’s photo, press the upload button and prompt out a window (as below)
for select a picture from computer, press open to add the picture or press cancel button to
cancel select picture. After completed modify the details, press save to update the modified
details or press cancel to cancel the modify action.
Project 201
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.5 Place Maintenance
Project 203
Travel Automatic Scheduling System Chapter 9: User Guide
box. If did not select any check box or enter anything, it will display all available places at
the list box.
The visitor or merchant may select a place and press view button to proceed to view place
details page for view place.
Project 204
Travel Automatic Scheduling System Chapter 9: User Guide
They are allow to view place details included place name, description, location, type of place
and picture. There also allow to view the previous and next places by press the next and
previous button. For the picture, they can press the picture and the website will prompt out
view photo page (as below) to allow them view it in large size of picture. Press close to close
the view photo page. At view place details page, it is also able to link to comment page
(Please refer to comment). So they are able to view and post the comments for the particular
place. For location, they can press view button to proceed to location page to view the
location of place in at small map as below.
Project 205
Travel Automatic Scheduling System Chapter 9: User Guide
To view the location in 3D, they may press view in photysynth button to proceed to
photosynth website. The system will automatic search the location name at the photosynth
website as below.
When select type of place, they can either select from the drop down box or press the “…”
button and proceed to type of place page (Please refer to Type Of) to view the type’s details.
For location, they can press “…” button to proceed to select location page to drop a pushpin
on a small map as below. Press OK button to save to add the coordinate to maintain place
page or press cancel to cancel the action.
Project 207
Travel Automatic Scheduling System Chapter 9: User Guide
For upload photo, they may press the upload button at the top of maintain place details page
and website will prompt put a window (as above) to select the photos from computer.
Presses open to add in the selected photo. Press cancel to cancel select photo. After
completed fill up all the details, press save button to save the information into database or
press cancel to add new.
to modify all the available places. At the place list page, if the merchant had selected a place
and the button at the bottom is view button, which is mean that the selected place is not
owned by this merchant. Oppositely, when select a place and the button is modify button, the
selected place is owned by this merchant. To modify a place, the merchant or system
administrator may select a place and press modify button to proceed to maintain place details
page.
Project 209
Travel Automatic Scheduling System Chapter 9: User Guide
When select type of place, they can either select the type from the drop down box or press the
“…” button to proceed to type of place page (Please refer to Type Of) to view the type’s
details. For modify location, they can press “…” button to proceed to select location page to
drop a pushpin on a small map as below. Press OK button to save to add the coordinate to
maintain place page or press cancel to cancel the action.
Project 210
Travel Automatic Scheduling System Chapter 9: User Guide
To change the place’s photo, press the upload button and prompt out a window (as below) for
select a picture from computer, press open to add the picture or press cancel button to cancel
select picture. After completed modify the details, press save to update the modified details or
press cancel to cancel the modify action.
Project 211
Travel Automatic Scheduling System Chapter 9: User Guide
Project 212
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.6 Service Maintenance
Project 213
Travel Automatic Scheduling System Chapter 9: User Guide
box or type check box and enter name or select type, the search result will display at search
result list box. If did not select any check box or enter anything, it will display all available
services at the list box.
The visitor or merchant may select a service and press view button to proceed to view service
details page for view service.
Project 214
Travel Automatic Scheduling System Chapter 9: User Guide
They are allow to view service details included service name, description, price, type of
service, picture, available start date and end date. There also allow to view the previous and
next services by press the next and previous button. For the picture, they can press the picture
and the website will prompt out view photo page (as below) to allow them view it in large
size of picture. Press close to close the view photo page. At view service details page, it is
also able to link to comment page (Please refer to comment). So they are able to view and
post the comments for the particular service.
with empty service form. They are required to fill up the service’s details as below, which
are service name, description, price, type, location, available start date, end date and also
uploads picture.
When select type of service, they can either select from the drop down box or press the “…”
button and proceed to type of service page (Please refer to Type Of) to view the type’s
details. They also can select the available start date and end date by press the calendar icon.
Project 216
Travel Automatic Scheduling System Chapter 9: User Guide
For upload photo, they may press the upload button at the top of maintain service details page
and website will prompt put a window (as above) to select the photos from computer. Presses
open to add in the selected photo. Press cancel to cancel select photo. After completed fill up
all the details, press save button to save the information into database or press cancel to add
new.
Project 217
Travel Automatic Scheduling System Chapter 9: User Guide
As above, the maintain service details page will display the details of selected service and the
photos that uploaded during add the particular service. The merchant or system administrator
can edit all the service details, which are name, description, price, type, available start date
and end date and also change the picture.
When select type of service, they can either select the type from the drop down box or press
the “…” button to proceed to type of service page (Please refer to Type Of) to view the type’s
details.
Project 219
Travel Automatic Scheduling System Chapter 9: User Guide
To change the service’s photo, press the upload button and prompt out a window (as below)
for select a picture from computer, press open to add the picture or press cancel button to
cancel select picture. After completed modify the details, press save to update the modified
details or press cancel to cancel the modify action.
Project 220
Travel Automatic Scheduling System Chapter 9: User Guide
9.2.7 Trip Package Maintenance
At the trip package list page, visitor, merchant or system administrator are allows to filter the
trip package by name. To filter the trip package, they may select trip package name check
box and enter name, the search result will display at search result list box. If did not select
any check box or enter anything, it will display all available trip package at the list box.
Project 223
Travel Automatic Scheduling System Chapter 9: User Guide
The visitor or merchant may select a trip package and press view button to proceed to view
trip package details page for view trip package.
They are allowed to view trip package details included trip package name, description, price,
available start date and end date. There also allow to view the previous and next trip packages
by press the next and previous button. At view trip package details page, it is also able to link
Project 224
Travel Automatic Scheduling System Chapter 9: User Guide
to comment page (Please refer to comment). So they are able to view and post the comments
for the particular trip package.
At this page, merchant and system administrator also able to add or remove trip package
details by press the modify details button. Then the system will proceed to maintain trip
package items page as below. To modify items, they can select the trip item from available
list box and press add button. The selected trip item will added to selected list box. To
remove the trip item, select an item and press remove button. Press OK to save the added trip
items and back to maintain trip package page or press cancel button to cancel the action.
Project 226
Travel Automatic Scheduling System Chapter 9: User Guide
After completed fill up all the details, press save button to update database or press cancel to
cancel the action.
As above, the maintain trip package details page will display the details of selected trip
package and the photos that uploaded during add the particular trip package. The merchant or
system administrator can edit all the trip package details, which are name, description, price,
available start date and end date. They also can select the available start date and end date by
press the calendar icon.
.
At this page, merchant and system administrator also able to add or remove trip package
details by press the modify details button. Then the system will proceed to maintain trip
package items page as below. To modify items, they can select the trip item from available
list box and press add button. The selected trip item will added to selected list box. To
Project 228
Travel Automatic Scheduling System Chapter 9: User Guide
remove the trip item, select an item and press remove button. Press OK to save the added trip
items and back to maintain trip package page or press cancel button to cancel the action.
9.2.8 Menu Maintenance
At the menu list page, visitor, merchant or system administrator are allows to filter the menu
by name. To filter the menu, they may select menu name check box and enter name, the
search result will display at search result list box. If did not select any check box or enter
anything, it will display all available menu at the list box.
The visitor or merchant may select a menu and press view button to proceed to view menu
details page for view menu.
They are allowed to view menu details included menu name, description, price, available start
date and end date. There also allow to view the previous and next menus by press the next
and previous button. At view menu details page, it is also able to link to comment page
Project 232
Travel Automatic Scheduling System Chapter 9: User Guide
(Please refer to comment). So they are able to view and post the comments for the particular
menu.
Project 233
Travel Automatic Scheduling System Chapter 9: User Guide
At this page, merchant and system administrator also able to add or remove menu details by
press the modify details button. Then the system will proceed to maintain menu items page
as below. To modify items, they can select the menu item from available list box and press
add button. The selected menu item will added to selected list box. To remove the menu
item, select an item and press remove button. Press OK to save the added menu items and
back to maintain menu page or press cancel button to cancel the action.
Project 234
Travel Automatic Scheduling System Chapter 9: User Guide
After completed fill up all the details, press save button to update database or press cancel to
cancel the action.
Project 235
Travel Automatic Scheduling System Chapter 9: User Guide
As above, the maintain menu details page will display the details of selected menu and the
photos that uploaded during add the particular menu. The merchant or system administrator
can edit all the menu details, which are name, description, price, available start date and end
date. They also can select the available start date and end date by press the calendar icon.
Project 236
Travel Automatic Scheduling System Chapter 9: User Guide
At this page, merchant and system administrator also able to add or remove menu details by
press the modify details button. Then the system will proceed to maintain menu items page
as below. To modify items, they can select the menu item from available list box and press
add button. The selected menu item will added to selected list box. To remove the menu
item, select an item and press remove button. Press OK to save the added menu items and
back to maintain menu page or press cancel button to cancel the action.
Project 237
Travel Automatic Scheduling System Chapter 9: User Guide
Project 238
Travel Automatic Scheduling System Chapter 9: User Guide
9.3 Type Of Maintenance
This maintenance is only able to access by system administrator. The type of maintenance
included type of event, type of food and beverage, type of product, type of place, type of
service, and type of company. The following sections describe how to access to type of
maintenance page and how to maintain the type of:
9.3.1 How to access to type of page?
The system administrator may press maintain button at the top of website, the website will
proceed to maintain page as below.
Project 239
Travel Automatic Scheduling System Chapter 9: User Guide
At the search page, by press the button to access different type of maintenance page as
following:
1. Type of product button: By press the type of product button to proceed to maintain type
of product list page that display the available product types.
2. Type of service button: By press the type of service button to proceed to maintain type of
service list page that display the available service types.
3. Type of place button: By press the type of place button to proceed to maintain type of
place list page that display the available place types.
4. Type of event button: By press the type of event button to proceed to maintain type of
event list page that display the available event types.
5. Type of food button: By press the type of food button to proceed to maintain type of food
list page that display the available food types.
Project 240
Travel Automatic Scheduling System Chapter 9: User Guide
9.3.2 How to maintain?
All the type of maintenance had same functions, which is view, add new, modify, and remove
type. The following describe how maintain type with example of type of product:
Project 241
Travel Automatic Scheduling System Chapter 9: User Guide
To modify type, system administrator select a type and edit the details directly. After
completed modify, press save button to update the database and refresh the type list. Press
close button to exit from this page.
9.3.2.4 Remove Type Of
System administrator may select a type that wish to delete and press remove button. The
system will delete the selected type from the database and refresh the type list.
Project 242
Travel Automatic Scheduling System Chapter 9: User Guide
9.4 Comment
Visitor and merchant are allows view and posting comment on particular event, food and
beverage, product, place, service, trip package, menu and Service Company. But they are not
allows to delete the comment. The following are described how visitor or merchant view
comment and add comment:
9.4.1 View comment
To view comment, visitor or merchant may access to view event, food and beverage, product,
place, service, trip package, menu and Service Company information page first. He/she press
the comment button and system will proceed to comment page like above example. They are
able to view the comment that posted by other visitors or merchants in the comment list box.
It also will display the visitor or merchant’s name, user type, post date and time. Press close
to close the comment page.
9.4.2 Add Comment
To add a comment, visitor or merchant enter the comment content at the text box which
located at bottom. After completed write the comment content, press send button to update
the database and refresh the comment list. Press close button to exit from this page and back
to previous page.
Project 243
Travel Automatic Scheduling System Chapter 9: User Guide
9.5 Post
Only visitor and merchant are allows adding a post. The following are described how visitor
or merchant view post and add new post.
9.5.1 View Post
At the home page of the system, all users are allows to view the following post:
1. My Post: The list box that located at right side of the system. It will display the post that
posted by user with post date and time. Press refresh button to refresh the list.
2. Latest Service Company Post: This list box will display the posts that posted by
merchant with the post date and time.
Project 244
Travel Automatic Scheduling System Chapter 9: User Guide
To view company’s post, access to service company information page as above. Visitor or
merchant is able to view the posts that posted by particular service company.
Project 245
Travel Automatic Scheduling System Chapter 9: User Guide
9.5.2 Add New Post
To add new a post, visitor or merchant may press new post button at the top of the system.
Then proceed to add post page as following.
After enter the post content, press OK button to save the post and refresh My Post to get
latest posts. If wish to cancel add new post, press cancel button to close the page.
Project 246