Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // handle photos from certain users, photos with a specific tag, etc.
- interface AlbumWidget {
- }
- //
- interface Photo {
- User getOwner();
- List<String> getTags();
- int getRating();
- void addTag();
- void removeTag();
- }
- interface PhotoWidget {
- }
- // functionality for a user
- interface User {
- List<Photo> getPhotos();
- List<Photo> getPrivatePhotos();
- List<Photo> getPublicPhotos();
- List<Photo> getPhotosByTag(String tag);
- List<Device> getDevices(); //Possibly?
- void addPhoto();
- void removePhoto();
- void addDevice();
- void removeDevice();
- }
- // Handles the device, if we are going to do that.
- interface Device {
- String getMacAddress();
- String getOperatingSystem();
- }
- interface UserWidget {
- }
Add Comment
Please, Sign In to add comment