Mercurial Hosting > nabble
comparison src/nabble/model/export/Import.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children | 72765b66e2c3 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
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 } |