Mercurial Hosting > nabble
comparison src/nabble/model/Subscription.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 package nabble.model; | |
2 | |
3 | |
4 public interface Subscription { | |
5 | |
6 public enum To { DESCENDANTS, CHILDREN }; | |
7 | |
8 public enum Type { INSTANT, DAILY_DIGEST }; | |
9 | |
10 public User getSubscriber(); | |
11 public Node getNode(); | |
12 public To getTo(); | |
13 public void setTo(To to); | |
14 public Type getType(); | |
15 public void setType(Type type); | |
16 public void delete(); | |
17 } |