0
|
1 package nabble.model.export;
|
|
2
|
|
3 import java.rmi.Remote;
|
|
4 import java.rmi.RemoteException;
|
|
5 import java.util.Date;
|
|
6
|
|
7
|
|
8 public interface Import extends Remote {
|
|
9 public static final class BadLink extends Exception {}
|
|
10 public long getNodeId(String permalink) throws RemoteException, BadLink;
|
|
11 public String importNode(NodeData nodeData) throws RemoteException;
|
|
12 public void setMailingList(Long nodeId) throws RemoteException;
|
|
13 public void subscribe(long nodeId) throws RemoteException;
|
|
14 public void setExportOwner(long nodeId,String exportOwner) throws RemoteException;
|
|
15 public void addUser(String name, String email, String password, Date registrationDate, String smallAvatarUrl, String bigAvatarUrl) throws RemoteException;
|
|
16 public void close() throws RemoteException;
|
|
17
|
|
18 /** FOR OLD NABBLE ONLY -- TO BE REMOVED SOON */
|
|
19 public void addUser0(String name, String email, String password, long registrationDate) throws RemoteException;
|
|
20 }
|