Notify.java :  » Wiki-Engine » VeryQuickWiki » vqwiki » Java Open Source

Java Open Source » Wiki Engine » VeryQuickWiki 
VeryQuickWiki » vqwiki » Notify.java
package vqwiki;

import java.util.Collection;
import java.util.Locale;

/**
 * Stores a list of usernames for each topic page in the VQWiki
 * system, so that an email can be sent to their registered
 * addresses when changes are made to the associated topic page.
 *
 * @author Robert E Brewer
 * @version 0.1
 */
public interface Notify {

    /**
     *
     */
    public void addMember(String userName) throws Exception;

    /**
     *
     */
    public void removeMember(String userName) throws Exception;

    /**
     *
     */
    public boolean isMember(String userName) throws Exception;

    /**
     *
     */
    public Collection getMembers() throws Exception;

    /**
     *
     */
    public boolean sendNotifications(String rootPath, Locale locale) throws Exception;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.