Skip to content

Function List

IDFunctionIDFunction GroupFunctionDescriptionInput DataOutput DataActorEnvironmentC1W1C2W2C3W3C4W4C5W5
1F-AU-01AuthenticationSign InUser signs in to the system using their credentialsUsername, PasswordJWT Token, User sessionCustomer, Staff, AdminWeb1400000000
2F-AU-02AuthenticationSign UpUser registers a new account in the systemUsername, Password, Email, Full NameUser account, Confirmation notificationCustomerWeb1514001700
3F-AU-03AuthenticationLogoutUser logs out from the systemUser sessionLogout confirmationCustomer, Staff, AdminWeb1314000000
4F-AU-04AuthenticationReset PasswordUser resets their account passwordUsername, EmailPassword reset link, Updated passwordCustomer, Staff, AdminWeb1414001700
5F-AU-05AuthenticationDelete AccountUser deletes their account from the systemUser confirmationAccount deletion confirmationCustomer, Staff, AdminWeb1414001700
6F-VP-01View ProductView ProductCustomer views list of available products-List of productsCustomerWeb0015131700
7F-VP-02View ProductSearch ProductCustomer searches for products using keywords/filtersSearch keyword, FiltersQuery result (list of products)CustomerWeb1300140000
8F-VP-03View ProductView Product DetailCustomer views detailed information of a specific productSelected product IDProduct details (name, price, description, images)CustomerWeb0015130000
9F-VP-04View ProductView Product ReviewsCustomer views reviews for a specific productProduct IDList of reviews for the productCustomerWeb0014130000
10F-VP-05View ProductView Suggested ProductsCustomer views suggested/related productsCurrent product IDList of suggested productsCustomerWeb0015140000
11F-VP-06View ProductAdd Product to CartCustomer adds a product to their shopping cartProduct ID, QuantitySuccess/Error notification, Updated cartCustomerWeb1414001700
12F-MC-01Manage CartManage CartCustomer manages their shopping cart-List of cart itemsCustomerWeb0014131700
13F-MC-02Manage CartChange Product AmountCustomer changes the quantity of a product in cartProduct ID, New quantitySuccess/Error notification, Updated cartCustomerWeb1314001700
14F-MC-03Manage CartRemove Product from CartCustomer removes a product from cartProduct IDSuccess/Error notification, Updated cartCustomerWeb1314001700
15F-MC-04Manage CartPurchaseCustomer proceeds to checkout and purchases cart itemsCart items, Delivery information, Payment methodOrder confirmation, Redirect to checkoutCustomerWeb1515001817
16F-VO-01View OrderView OrderCustomer views their order history-List of ordersCustomerWeb0015130000
17F-VO-02View OrderSearch OrderCustomer searches for specific ordersSearch criteria (order ID, date, status)Query result (list of orders)CustomerWeb1300140000
18F-VO-03View OrderView Order DetailCustomer views detailed information of a specific orderOrder IDOrder details (products, status, delivery info)CustomerWeb0015130000
19F-VO-04View OrderCancel OrderCustomer cancels a pending orderOrder ID, ConfirmationSuccess/Error notification, Updated order statusCustomerWeb1414001700
20F-VO-05View OrderReturn ProductCustomer returns a product from a completed orderOrder ID, Product ID, ConfirmationSuccess/Error notification, Updated product statusCustomerWeb1414001800
21F-VO-06View OrderReview ProductCustomer writes a review for a purchased productOrder ID, Product ID, Review content, Rating, Images (optional)Success/Error notification, Stored reviewCustomerWeb1514001700
22F-CS-01Contact SupportContact SupportCustomer contacts support via third-party chat-Redirect to support chat interfaceCustomerWeb0000000016
23F-CR-01Customer ReportView Customer Self ReportCustomer views their own activity reportReport type, Time rangeReport data (charts, statistics)CustomerWeb1316140000
24F-VD-01View DocumentView DocumentCustomer views system documents and guidesSearch criteria (optional)List of documents, Document detailCustomerWeb0015130000
25F-MP-01Manage ProductManage ProductStaff manages products in the system-List of productsStaffWeb0015131800
26F-MP-02Manage ProductAdd ProductStaff adds a new product to the systemProduct details (name, price, description, images, category)Success/Error notification, Updated product listStaffWeb1614001800
27F-MP-03Manage ProductUpdate ProductStaff updates existing product informationProduct ID, Updated detailsSuccess/Error notification, Updated product listStaffWeb1514001800
28F-MP-04Manage ProductDelete ProductStaff deletes a product from the systemProduct ID, ConfirmationSuccess/Error notification, Updated product listStaffWeb1414001700
29F-MP-05Manage ProductSearch ProductStaff searches for products using keywords/filtersSearch keyword, FiltersQuery result (list of products)StaffWeb1300140000
30F-MP-06Manage ProductDelete ReviewStaff deletes inappropriate product reviewsReview ID, ConfirmationSuccess/Error notification, Updated review listStaffWeb1414001700
31F-MU-01Manage UserManage UserAdmin/Staff manages user accounts in the system-List of usersAdmin, StaffWeb0015131800
32F-MU-02Manage UserSearch UserAdmin/Staff searches for users using keywordsSearch keywordQuery result (list of users)Admin, StaffWeb1300140000
33F-MU-03Manage UserPromote CustomerAdmin promotes a customer to staff roleUser ID, ConfirmationSuccess/Error notification, Updated user roleAdminWeb1414001800
34F-MU-04Manage UserPromote StaffAdmin promotes a staff to admin roleUser ID, ConfirmationSuccess/Error notification, Updated user roleAdminWeb1414001800
35F-MU-05Manage UserDemote StaffAdmin demotes a staff to customer roleUser ID, ConfirmationSuccess/Error notification, Updated user roleAdminWeb1414001800
36F-MU-06Manage UserDemote AdminAdmin demotes an admin to staff roleUser ID, ConfirmationSuccess/Error notification, Updated user roleAdminWeb1414001800
37F-MU-07Manage UserDelete CustomerAdmin/Staff deletes a customer accountUser ID, ConfirmationSuccess/Error notification, Updated user listAdmin, StaffWeb1414001800
38F-MU-08Manage UserDelete StaffAdmin deletes a staff accountUser ID, ConfirmationSuccess/Error notification, Updated user listAdminWeb1414001800
39F-MU-09Manage UserView Customer ReportAdmin/Staff views customer activity reportUser ID, Report type, Time rangeReport data (charts, statistics)Admin, StaffWeb1316140000
40F-MU-10Manage UserView Staff ReportAdmin views staff performance reportUser ID, Report type, Time rangeReport data (charts, statistics)AdminWeb1316140000
41F-SR-01Shop ReportView Shop ReportAdmin views overall shop performance reportReport type, Time rangeReport data (revenue, sales, analytics)AdminWeb1317151900
42F-SM-01System MonitoringView System MonitoringAdmin monitors system performance and health-Monitoring data (uptime, errors, usage)AdminWeb0016150018
43F-AD-01Adjust DocumentAdjust DocumentAdmin manages system documents-List of documentsAdminWeb0015131800
44F-AD-02Adjust DocumentCreate DocumentAdmin creates a new system documentDocument details (title, content)Success/Error notification, Updated document listAdminWeb1514001800
45F-AD-03Adjust DocumentUpdate DocumentAdmin updates existing documentDocument ID, Updated detailsSuccess/Error notification, Updated document listAdminWeb1514001800
46F-AD-04Adjust DocumentDelete DocumentAdmin deletes a document from the systemDocument ID, ConfirmationSuccess/Error notification, Updated document listAdminWeb1414001700
47F-AD-05Adjust DocumentSearch DocumentAdmin searches for documents using keywordsSearch criteriaQuery result (list of documents)AdminWeb1300140000
48F-SR-02Staff ReportView Staff Self ReportStaff views their own performance reportReport type, Time rangeReport data (sales, activities)StaffWeb1316140000

INFO

  • All functions are web-based as specified
  • Input/Output data is derived from sequence diagrams
  • Function IDs follow the pattern: F-[GroupCode]-[Number]
  • Group codes:
    • AU (Authentication)
    • VP (View Product)
    • MC (Manage Cart)
    • VO (View Order)
    • CS (Contact Support)
    • CR (Customer Report)
    • VD (View Document)
    • MP (Manage Product)
    • MU (Manage User)
    • SR (Shop Report/Staff Report)
    • SM (System Monitoring)
    • AD (Adjust Document)
  • Actors are assigned based on use case diagrams
  • All validations and error handling are implicit in the Success/Error notifications