M251: Object Oriented Programming Using Java - IT Assignment Help

Download Solution Order New Solution
Assignment Task:

Overview 

Social media sites are based on user-generated content such as text posts, digital photos, videos,  etc. Many companies set up business on different social media sites such as Facebook, Twitter,  Instagram and other social networks in pursuit of new customers. Message post is one of the successful strategies to attract more customers. These posts should satisfy a character limit restriction on the respective social media site. It is also recommended to be of some optimal character range because people like when a message makes its point quickly and concisely. Now, a company wants to keep track of all employees’ social media business posts. So, in this  TMA you’re required to implement a Post tracking Application. The requirements for this  application are in the following phases: 

Phase 1: 

Create a separate class each in a .java file to represent a company, an employee and a post. A company has name and a list of employees. Each employee has an ID number, name, and a list  of business posts. Initially the list is empty. 

A post can be a Facebook text post, a Tweet on Twitter, LinkedIn update or Instagram caption.  In order to receive more users’ engagement, a post should be around ideal character count and  should not exceed the maximum character limit posed by the social media site. The social media  post length characteristics are as follows: 

Social media Ideal character count Maximum character limit Facebook post 40-80 characters 63,206 characters Twitter tweet 120-140 characters 280 characters LinkedIn update 75-100 characters 700 characters Instagram caption 138-150 characters 2200 characters 

Create a class for each post type and define necessary attributes and methods. Include a method  to determine whether the post is ideal or beyond the limit based on the given restrictions by each  social media site.

Each class must store its state in private variables. All required access is done through public  methods. The public methods which you must implement allow the user to do the following: 

- Initiate, get and set the state of any created object. 

- Create a new company and give it a name. 

- Add an employee to the company if it is not already in the employees list.

- Dump the company structure into text.

The text should include company name and  employees list which shows his/her post details along with a status field that shows  whether it is too short, ideal or beyond the character limit based on the given post  characteristics. 

- Save the company information into a file 

If the user attempts do an operation that will violate the state of objects, you must check for it.  In that case, the operation should be ignored and the application should give back an error  message. 

Phase 2: 

The application should use a text file to capture that whole company structure. To do this, add  two methods to your company class to save and load the created structure and its content into  a text file so that it is restored for next run time. 

Java provides a facility to create your own exceptions which are basically derived classes of  Exception. Write a class that defines a duplicate exception. The duplicate exception will be  thrown if employees are duplicated in the employee list. 

Phase 3: 

The application has to be a GUI (Graphical User Interface) application. Create a window that  consists of the window title: Title of your project. Design your window by using minimum four  different user interface controls like labels, text field, buttons, text area, etc.  

Finally, design and implement a separate testing class or a public method to test the designed  classes and check if classes meet the requirements.  

 

This M251: IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.