1 / 12

Blog System

Blog System. Based on Learning UML 2.0. AuthorCredentialsDB. EmailSystem. + checkAuthorDetails (author : AuthoDetails ) : boolean. + sendEmail (email : Email) : void. 1. -- emailSystem. 1. -- authorCredentialsDB. ContentManagementSystem. AuthorDetails.

franz
Download Presentation

Blog System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Blog System Based on Learning UML 2.0

  2. AuthorCredentialsDB EmailSystem + checkAuthorDetails(author : AuthoDetails) : boolean + sendEmail(email : Email) : void 1 -- emailSystem 1 -- authorCredentialsDB ContentManagementSystem AuthorDetails + setAuthorCredentialsDB(newAuthorCredentialsDB : AuthorCredentialsDB) : void +setEmailSystem(newEmailSystem : EmailSystem) : void + setContentDB(newContentDB : ContentDB) : void + createNewBlogAccount() : void + selectBlogAccountType(type : String) : void + enterAuthorDetails(author : AuthorDetails) : void + submitEntry(text : String) : void# createNewRegularBlogAccount(author : AuthorDetails) : Account # emailBlogDetails(account : Account) : void # isValidEntry(text : String) : boolean # showBadFormtMessage() : void Account Email Entry -- contentDB 1 ContentDB + addContent(entry: Entry, authorDetails : AuthorDetails) : void

  3. Use Case – Create Blog Account Use Case – Create Blog Account Main Scenario Administrator asks the system to create a new blog account. Administrator selects an account type. The Administrator enters the author’s details. The author’s details are verified using the Author Credentials Database. The new blog account is created. A summary of the new blog account’s details are emailed to the author. Alternative: Bad Credentials 4. The Author Credentials Database does not verify the author’s details. 5. The author’s new blog account application is rejected.

  4. AuthorCredentialsDB EmailSystem + checkAuthorDetails(author : AuthoDetails) : boolean + sendEmail(email : Email) : void 1 -- emailSystem 1 -- authorCredentialsDB ContentManagementSystem + setAuthorCredentialsDB(newAuthorCredentialsDB : AuthorCredentialsDB) : void + setEmailSystem(newEmailSystem : EmailSystem) : void + createNewBlogAccount() : void + selectBlogAccountType(type : String) : void + enterAuthorDetails(author : AuthorDetails) : void# createBlogAccount(author : AuthorDetails) : Account # emailBlogDetails(account : Account) : void AuthorDetails Email Account

  5. Use Case – Create Blog Entry Use Case – Create Blog Account Main Scenario Author asks the system to create a new blog entry. Author enters text. Author presses “Submit”. System verifies text is properly formatted. System creates a new entry for the author. Alternative: Author Cancels 3. Author presses “Cancel”. 4. System returns to Author Screen. Alternative: Bad Text 3. System determines text is not properly formatted. 4. System shows “bad format” message for 5 seconds. Rejoin main scenario at step 2.

  6. Email Account AuthorCredentialsDB EmailSystem + checkAuthorDetails(author : AuthoDetails) : boolean + sendEmail(email : Email) : void 1 -- emailSystem 1 -- authorCredentialsDB ContentManagementSystem AuthorDetails + setAuthorCredentialsDB(newAuthorCredentialsDB : AuthorCredentialsDB) : void +setEmailSystem(newEmailSystem : EmailSystem) : void + setContentDB(newContentDB : ContentDB) : void + createNewBlogAccount() : void + selectBlogAccountType(type : String) : void + enterAuthorDetails(author : AuthorDetails) : void + submitEntry(text : String) : void# createNewRegularBlogAccount(author : AuthorDetails) : Account # emailBlogDetails(account : Account) : void # isValidEntry(text : String) : boolean # showBadFormtMessage() : void Account Email Entry -- contentDB 1 ContentDB + addContent(entry: Entry, authorDetails : AuthorDetails) : void

  7. Use Case – Create Blog Account Use Case – Create Blog Account Main Scenario Administrator asks the system to create a new blog account. Administrator selects an account type. The Administrator enters the author’s details. The author’s details are verified using the Author Credentials Database. The new blog account is created. A summary of the new blog account’s details are emailed to the author. Alternative: Bad Credentials 4. The Author Credentials Database does not verify the author’s details. 5. The author’s new blog account application is rejected.

  8. Email Account AuthorCredentialsDB EmailSystem + checkAuthorDetails(author : AuthoDetails) : boolean + sendEmail(email : Email) : void 1 -- emailSystem 1 -- authorCredentialsDB ContentManagementSystem AuthorDetails + setAuthorCredentialsDB(newAuthorCredentialsDB : AuthorCredentialsDB) : void +setEmailSystem(newEmailSystem : EmailSystem) : void + setContentDB(newContentDB : ContentDB) : void + createNewBlogAccount() : void + selectBlogAccountType(type : String) : void + enterAuthorDetails(author : AuthorDetails) : void + submitEntry(text : String) : void# createNewRegularBlogAccount(author : AuthorDetails) : Account # emailBlogDetails(account : Account) : void # isValidEntry(text : String) : boolean # showBadFormtMessage() : void Account Email Entry -- contentDB 1 ContentDB + addContent(entry: Entry, authorDetails : AuthorDetails) : void

  9. Sequence Diagram – Create Blog Account

  10. Use Case – Create Blog Entry Use Case – Create Blog Account Main Scenario Author asks the system to create a new blog entry. Author enters text. Author presses “Submit”. System verifies text is properly formatted. System creates a new entry for the author. Alternative: Author Cancels 3. Author presses “Cancel”. 4. System returns to Author Screen. Alternative: Bad Text 3. System determines text is not properly formatted. 4. System shows “bad format” message for 5 seconds. Rejoin main scenario at step 2.

  11. Email Account AuthorCredentialsDB EmailSystem + checkAuthorDetails(author : AuthoDetails) : boolean + sendEmail(email : Email) : void 1 -- emailSystem 1 -- authorCredentialsDB ContentManagementSystem AuthorDetails + setAuthorCredentialsDB(newAuthorCredentialsDB : AuthorCredentialsDB) : void +setEmailSystem(newEmailSystem : EmailSystem) : void + setContentDB(newContentDB : ContentDB) : void + createNewBlogAccount() : void + selectBlogAccountType(type : String) : void + enterAuthorDetails(author : AuthorDetails) : void + submitEntry(text : String) : void# createNewRegularBlogAccount(author : AuthorDetails) : Account # emailBlogDetails(account : Account) : void # isValidEntry(text : String) : boolean # showBadFormtMessage() : void Account Email Entry -- contentDB 1 ContentDB + addContent(entry: Entry, authorDetails : AuthorDetails) : void

  12. Sequence Diagram – Create Entry

More Related