PictureJavadoc

code format="java" package faceplace;

/**
 * Extends the CommentablePost class to allow it to represent a
 * picture to be displayed on the faceplace webapp as part of a
 * picture album and be commented upon as well as allow users
 * to be 'tagged' in the picture.
 * @author David

import java.util.Date; import java.lang.Long;

public class Picture extends CommentablePost {

private String pictureLocation; private ArrayList taggedUsers;

Picture(String location, String text, String author) {

}

/**    public void addTag(User user) {
 * Adds a User object to the list of tagged Users.
 * This represents the specified User as being in
 * the picture.
 * @params user a User object that is to be added to the
 * ArrayList of tagged User objects.

}

/**    public void removeTag(User user) {
 * Removes a specified User object from the list of
 * tagged User objects.
 * @params user a User object that is to be removed from
 * the ArrayList of tagged User objects.

}

/** public String display {
 * Returns a String containing the HTML formatted text for
 * displaying a Picture and all it's comments.
 * @returns a String with HMTML formatting that can be
 * printed out in a JSP to represent a Picture
 * on a website. This is specifically for the faceplace webapp.

}

}

code