Use unique IDs for images
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Image.java
index e3e1b4d..f2ef88d 100644 (file)
@@ -30,6 +30,7 @@ public interface Image extends Identified, Fingerprintable {
         * @return The ID of this image
         */
        String getId();
+       String getInternalId();
 
        /**
         * Returns the Sone this image belongs to.
@@ -134,6 +135,8 @@ public interface Image extends Identified, Fingerprintable {
 
                Image update() throws IllegalStateException;
 
+               class ImageTitleMustNotBeEmpty extends IllegalStateException { }
+
        }
 
 }