View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

OCOPB Class Descriptions

Article

An article contains a story and an image. It combines both of these to form a finished submission to its DepartmentEditor.
CRC card is here –> CRC page1

In the long run, this idea was scrapped, and story was modified to include everything, because this extra level of assembling seemed useless.


Company

A company sets up the newspaper making process. It does this by developing Departments, Main Editors, and the Presses.
Company also translates the choices saved by Selections.
CRC card is here –> CRC page1

As we were working, a higher level of authority was needed, something to help run things from up on high, and after much brainstorming, we decided on the Company because every newspaper is run or funded by some source, who takes care of marketing and finding out what the user/ customer needs. Thus we let the company take care of this, and then delegate to the newspaper departments and down to get the actual job done. It ended up working quite nicely.


Department

A department is the part of the a company that represents each news source. It has its own DepartmentEditor. It sets up the
individual Topics offered under each website.
CRC card is here –> CRC page1

The idea of departments seemed quite essential, and made the reporter's job of selecting the proper parser much easier. This is because the reporter would only look in the CNN parsers if he was in a CNN department.

DepartmentEditor

A department Editor receives Stories and images from it's Personnel and formats them to create Articles. It sends these Articles
to the MainEditor to be compiled into the final procuct.
CRC card is here –> CRC page1

This is another of our middle man type problems we got marked off on. The editors in general were not used all that much, except to assemble the stories that do get printed as a ordered collection, with the first page stories first. It was argued that the editor does format how they fit on the page, but being that this dealt with the physical ( well PS copy ) of the paper, but presses won out and got the formatting and PS responsibilities.


Information ( here we got an big X on our design )

Information creates the first option of generating a Newspaper or selecting preferences. It also holds most of the functionality
for the windows and buttons for the user interface.

This was our answer to "where would this go?", we just threw it in Information. It held some vital blocks of code, that just did
not belong in other areas, like a SystemWindow or Button.
CRC card is here –> CRC page1


MainEditor ( here we got points off, saying to avoid the "middle-man")

A MainEditor is part of the company. It learns about the primary category from the Company in order to determine the order
of pages of the newspaper. It recieves Articles from the various DepartmentEditors and formats them to the form of the final
product. It sends this final product to the Press for final printing.

It is true that this is a middleman, and in fact, was not used in the final product.
CRC card is here –> CRC page2

Newspaper

Newspaper has a start method that tells Information to start the setup process of choosing an option.
CRC card is here –> CRC page2


OptionsWindow

OptionsWindow is a part of WindowHolder. From Information, it learns who its components and their capabilities are. It is
also able to display itself.
CRC card is here –> CRC page2


Personnel

Personnel is an abstract class that knows its departmentEditor. Its subclasses are Photographer and Reporter. It is able to
submit things to the Department Editor.
CRC card is here –> CRC page2


Photographer

A Photographer knows how to grab images from the web. It is a subclass of Personnel and thus also knows how to submit its
image to its department editor.
CRC card is here –> CRC page2


Press

A press is part of the company. It receives the final product fromt eh MainEditor adn formats this product in order to be
printed, displayed or sent to file.
CRC card is here –> CRC page3


Reporter

A reporter knows how to grab stories from the web. It is a subclass of Personnel and thus also knows how to submit its Story
to its DepartmentEditor.
CRC card is here –> CRC page3


Selections

Selections is responsible for reading the text file that represents the user's seletion of news sources and primary category and
saving these choices.
CRC card is here –> CRC page3


Story

A story contains a headline, byline and the main body of the text. It is created by a reporter, using data from a webpage.
CRC card is here –> CRC page3


Topic ( here we got another mark, for being unclear wheter or not this is part of the UI or webinterface)

A Topic represents a part of the department responsible for a particular section offered under each news source. It creates its
necessary personnel made up of a Reporter and a Photobrapher.

This one actually does deal with the Web Interface.
CRC card is here –> CRC page3


Website ( here we got another mark, for being unclear wheter or not this is part of the UI or webinterface)

Website represents each news source that is offered to the user. It holds all of its possible Topics that can be selected.

This deals with the UI end and has all the options needed to start.
CRC card is here –> CRC page4


WindowHolder

WindowHolder contains related sequences of OptionsWindows for the user interface that will guide the user through the Newspaper selection and generation process.
CRC card is here –> CRC page4

Link to this Page