Authorized album is now working fully.
[photos] / src / main / java / org / wamblee / photos / model / PhotoEntry.java
index b360eafe9235fa36c55375ad11e538635cd491d8..11c2f485eff10f2281731f3577ba8dcf1390d3c2 100644 (file)
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 package org.wamblee.photos.model;
 
+import java.io.Serializable;
+
 /**
- * Represents an entry inside a photo album. 
+ * Represents an entry inside a photo album.
  */
-public interface PhotoEntry extends Comparable<PhotoEntry> {
-       
-       /**
-        * Photo entry id. 
-        * @return Id of the entry. 
-        */
-       String getId(); 
-       
-       /**
-        * Gets the path of the given photo with respect to the 
-        * root album. The path will start with a "/".  
-        */
-       String getPath(); 
+public interface PhotoEntry extends Comparable<PhotoEntry>, Serializable {
+
+    /**
+     * Photo entry id.
+     * 
+     * @return Id of the entry.
+     */
+    String getId();
+
+    /**
+     * Gets the path of the given photo with respect to the root album. The path
+     * will start with a "/".
+     */
+    String getPath();
 }