org.shiftone.memento.manip
Class PhotoLoad

java.lang.Object
  extended byorg.shiftone.memento.manip.PhotoLoad

public class PhotoLoad
extends java.lang.Object


Field Summary
static org.apache.log4j.Logger LOG
           
 
Constructor Summary
PhotoLoad()
           
 
Method Summary
static int importFile(int albumId, int storageId, java.io.File imgFile, java.lang.String description)
           
static boolean shouldLoad(java.io.File imgFile)
           
static void transferAlbum(int photoId, int albumId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

PhotoLoad

public PhotoLoad()
Method Detail

shouldLoad

public static boolean shouldLoad(java.io.File imgFile)
                          throws StoreException
Throws:
StoreException

importFile

public static int importFile(int albumId,
                             int storageId,
                             java.io.File imgFile,
                             java.lang.String description)
                      throws StoreException
Throws:
StoreException

transferAlbum

public static void transferAlbum(int photoId,
                                 int albumId)
                          throws StoreException
Throws:
StoreException