Remove Identified interface
[Sone.git] / src / main / java / net / pterodactylus / sone / data / Image.java
index e3e1b4d..6e8016e 100644 (file)
@@ -22,7 +22,7 @@ package net.pterodactylus.sone.data;
  *
  * @author <a href="mailto:d.roden@xplosion.de">David Roden</a>
  */
-public interface Image extends Identified, Fingerprintable {
+public interface Image extends Fingerprintable {
 
        /**
         * Returns the ID of this image.
@@ -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 { }
+
        }
 
 }