Skip to content
Serkan Özel edited this page May 28, 2018 · 2 revisions

Status: Not Complete. Most of the requirements were included I start to check from the beginning. The format of the information will be same after I am done.

Checked Parts of Requirements (You can use them)

  • 1.1.1
  • 1.1.2
  • 1.1.3

User(type: Abstract Class, inherits: None):

Properties:

  • None

Methods:

  • getTrending() (Req: 1.1.1.6)
  • search() (Req: 1.1.1.4)
  • getUserEvents(signedUser) (Req: 1.1.1.1)
Note: According to requirements 1.1.1.2, 1.1.1.3, 1.1.1.5 and 1.1.1.7 guest users abilities are limited to this methods. Also since this is an abstract class CRUD operations will not be included.

SignedUser(Abstract Class inherits User):

Properties:

  • name (Req: 1.1.3.1.1)
  • surname (Req: 1.1.3.1.1)
  • age (Req: 1.1.3.1.1)
  • nickName (Req: 1.1.3.1.1)
  • eMail (Req: 1.1.2.1)
  • password (Req: 1.1.2.1)
  • location (Req: 1.1.3.1.1)
  • nationality (Req: 1.1.3.1.1)
  • dateOfBirth (Req: 1.1.3.1.1)
  • activityPreferencesList (Req: 1.1.3.1.2)
  • is_allowed_to_show_previous_activities (Req: 1.1.3.1.3)
  • settings(Object) (Req: 1.1.3.2.1)
  • followers ( signedUser array. Requirements 1.2.8.3.1)
  • feed (Object: Every signedUser will have a feed based on type of the user.)
  • lastPasswordChange (Date. Requirement 2.6.1)

Methods:

  • changePassword(oldPassword,newPassword) (Requirements 1.1.2.2.3)
  • getFollowers(signedUser array. Requirements 1.2.8.3.1)
  • follow() (Requirements 1.2.8.3.1)
  • confirmAccount() (Requirement: 1.2.10.1)
  • getTimeline()

Admin(Class inherits SignedUser):

We need to specify what exactly this guy does.UNTIL FINAL DRAFT

Properties

  • None

is able to

  • manage the system
  • delete event

Member(Class inherits SignedUser):

Property:

None.

is able to:

  • enter their username and password to login to the system.(Req:1.1.2.2.1.)
  • have the option to Sign in via their Facebook account.(Req:1.1.2.2.2.)
  • have an option to reset their password.(Req:1.1.2.2.3.)
  • edit their activity preferences.(Req:1.1.3.1.2.)
  • search with Semantic, Content and Location options.(Req:1.1.7.1.)

Method:

changePassword() (Requirements 1.1.2.2.3) getFollowers(signedUser array. Requirements 1.2.8.3.1) follow() (Requirements 1.2.8.3.1) confirmAccount() (Requirement: 1.2.10.1) getTimeline() createPage()(Requirenment 1.1.6.1.1.)


Guest(Class inherits User):

Property:

  • None

Method:

  • signUp(userInfo) (Req: 1.1.2.1.1 and 1.1.2.1.2)
  • login(userInfo) (Req: 1.1.2.2.1 and 1.1.2.2.2)

Event(Class)

Property:

  • location
  • price
  • name
  • willAttendUser (Req: 1.2.6.1, 1.2.6.3)
  • maybeAttendUser (Req: 1.2.6.1, 1.2.6.3)
  • notAttendUser (Req: 1.2.6.1, 1.2.6.3)
  • attendedUser (Req: 1.2.6.2)
  • notAttendedUser (Req: 1.2.6.2)
  • commentList
  • voteList

Method:

create(eventInfo) (Req: 1.1.3.3.1) delete() edit()


Notification(Class)

Property:

notification_type (Requirements 1.2.9.2) from(signedUser object Requirements 1.2.9.2.2 1.2.9.2.3 1.2.9.2.4) event(event object Requirements 1.2.9.2.1)

Method:

notify() (Requirements 1.2.9.2)


Comment(Class)

Property:

voteList user

Methods:

delete() edit()


Settings(Class)

Properties:

isPrivate (Req: 1.1.3.2.2, 1.2.10.3, 2.7.1.1 ) theme(Requirement: 2.1.4 ) language (Requirement: 2.12.1)

Methods:

changeTheme() (Requirement 2.1.4 ) changePrivate() (Requirement: 1.2.10.3 ) changeLanguage() (Requirement: 2.12.1)


Feed(Class)

Property:

eventList (array of events to be displayed:Requirements 1.2.11.1.2 and 1.2.11.1.3) feedType(Requirements 1.2.11.1.1.)

Method:

update() (updates the content of the eventList Requirements :1.2.11.2 and 1.2.11.3)


Vote(Class)

Property:

blockedUsers (this signedUsers will be prevented from seeing this vote.Requirement: 1.2.8.3.1) votes (vote list. Requirements: 1.2.8.5.1)

Method

hide() (Requirements: 1.2.8.5.1)


Search(Class)

Properties:

  • searchType (Req: 1.2.1.1)

Methods:

  • search() (Req: 1.2.1, 1.2.1.2)

Recommender

Properties:

  • notification (req 1.2.2)

Methods:

  • recommend(signedUser) ( Req 1.2.2)

Ranker

Properties

parameterList (Req: 1.2.3.3)

Methods

rank(User) (Req: 1.2.3.3)


Unmet Requirements

  • 1.2.10.1 (this does not imply a property, method or an object)
  • 1.2.10.2 (this is not a real property of settings it will be handled on front-end)
  • **1.2.9.1 ** (this does not imply a property, method or an object)
  • 1.2.9.3 (this does not imply a property, method or an object)
  • 1.2.8.1 (since we decide we do not include objects from data access layer)
  • 1.2.8.2 (since we decide we do not include objects from data access layer)
  • 1.2.8.4.1 (what does this requirement even mean?)
  • 1.2.7.1 (since we decide we do not include objects from data access layer)
  • 1.2.7.2 (since we decide we do not include objects from data access layer)
  • 1.2.7.3 (since we decide we do not include objects from data access layer)
  • 1.2.2 (system objects are not determined.)
  • 1.2.3 (system objects are not determined.)
  • 1.2.4 (admin panel is not specified enough)
  • 1.2.5 (will be added to various objects)
  • non-functional requirements other than 2.1.4 , 2.6.1, 2.7.1.1 and 2.12.1

Clone this wiki locally