se.datadosen.jalbum
Class Notifier

java.lang.Object
  extended by se.datadosen.jalbum.Notifier

public class Notifier
extends java.lang.Object


Constructor Summary
Notifier(JAlbumContext context)
           
 
Method Summary
 java.lang.String albumAdded(AccountProfile account, java.lang.String albumUrl, AlbumObject root)
           
 void albumAddedBg(AccountProfile account, java.lang.String albumUrl, AlbumObject root)
           
 java.lang.String albumDeleted(AccountProfile account, java.lang.String oldUrl)
           
 void albumDeletedBg(AccountProfile account, java.lang.String oldUrl)
           
 java.lang.String albumMoved(AccountProfile account, java.lang.String oldUrl, java.lang.String newUrl)
           
 void albumMovedBg(AccountProfile account, java.lang.String oldUrl, java.lang.String newUrl)
           
 boolean allowedToNotify(AccountProfile account)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notifier

public Notifier(JAlbumContext context)
         throws ElementException,
                java.io.IOException
Throws:
ElementException
java.io.IOException
Method Detail

allowedToNotify

public boolean allowedToNotify(AccountProfile account)

albumAdded

public java.lang.String albumAdded(AccountProfile account,
                                   java.lang.String albumUrl,
                                   AlbumObject root)
                            throws java.io.IOException
Throws:
java.io.IOException

albumAddedBg

public void albumAddedBg(AccountProfile account,
                         java.lang.String albumUrl,
                         AlbumObject root)

albumDeleted

public java.lang.String albumDeleted(AccountProfile account,
                                     java.lang.String oldUrl)
                              throws java.io.IOException
Throws:
java.io.IOException

albumDeletedBg

public void albumDeletedBg(AccountProfile account,
                           java.lang.String oldUrl)

albumMoved

public java.lang.String albumMoved(AccountProfile account,
                                   java.lang.String oldUrl,
                                   java.lang.String newUrl)
                            throws java.io.IOException
Throws:
java.io.IOException

albumMovedBg

public void albumMovedBg(AccountProfile account,
                         java.lang.String oldUrl,
                         java.lang.String newUrl)