Introduction:
I am working on an API that provides access to Picasa, Flickr, and other image services.
I have a WebAlbum class (it provides access to attached photos, albums, if allowed, and some meta information).
My API allows the user not only to read albums, but also to create new albums. In general, an API user must use the factory method to create a new album, which creates the album and then calls the WebGallery#addAlbum (newAlbum) .
But Flickr does not allow you to create empty albums, this requires at least one predefined photo in any new album (possibly to enjoy viewing the album). In Flickr terms, this is the first photo called Primary Photo . Therefore, to create an album for Flickr, the user must use the factory method, then add the image to the new album, and then call WebGallery#addAlbum (newAlbum) .
Problem:
The WebAlbum class currently has this method.
public interface WebAlbum { ... public boolean requiresPrimaryPhoto (); }
I can’t leave this name because PrimaryPhoto is just a Flickr term. I can change it to
public interface WebAlbum { ...
Please suggest a shorter name with the same meaning.
source share