4A Server -
2.0
|
Class representing item of subscripted or unsubscripted sources list. More...
Public Member Functions | |
Integer | getId () |
void | setId (Integer id) |
Integer | getStoryScopeId () |
void | setStoryScopeId (Integer id) |
AnnotType | getAnnotationType () |
void | setAnnotationType (AnnotType type) |
User | getUser () |
void | setUser (User user) |
String | getSource () |
void | setSource (String source) |
int | getType () |
void | setType (int type) |
int | hashCode () |
boolean | equals (Object object) |
String | toString () |
Static Public Attributes | |
static final int | SUBSCRIBED = 0 |
static final int | UNSUBSCRIBED = 1 |
Private Attributes | |
Integer | id |
Integer | storyScope |
AnnotType | annotationType |
User | user |
String | source |
int | polarity |
Class representing item of subscripted or unsubscripted sources list.
This class represent item of subscripted or unsubscripted sources list and is used for StoryscopeInterfaceModule needs.
Definition at line 47 of file SubscribedItem.java.
boolean cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.equals | ( | Object | object | ) |
Compares this with other object and returns, whether objects are same type and have same id.
object | Object to compare with |
Definition at line 209 of file SubscribedItem.java.
AnnotType cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getAnnotationType | ( | ) |
Gets annotation type that is subscribed (or unsubscribed)
Definition at line 127 of file SubscribedItem.java.
Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getId | ( | ) |
Gets id of subscription
Definition at line 91 of file SubscribedItem.java.
String cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getSource | ( | ) |
Gets source that is subscribed (or unsubscribed)
Definition at line 163 of file SubscribedItem.java.
Integer cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getStoryScopeId | ( | ) |
Gets id of Story Space that sunscription belongs
Definition at line 109 of file SubscribedItem.java.
int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getType | ( | ) |
Gets type of subscription
Definition at line 181 of file SubscribedItem.java.
User cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.getUser | ( | ) |
Gets user which is subscribed (or unsubscribed)
Definition at line 145 of file SubscribedItem.java.
int cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.hashCode | ( | ) |
Definition at line 195 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setAnnotationType | ( | AnnotType | type | ) |
Sets annotation type that is subscribed (or unsubscribed)
type | annotation type that is subscribed (or unsubscribed) |
Definition at line 136 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setId | ( | Integer | id | ) |
Sets id of subscription
id | id of subscription |
Definition at line 100 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setSource | ( | String | source | ) |
Sets source that is subscribed (or unsubscribed)
source | source that is subscribed (or unsubscribed) |
Definition at line 172 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setStoryScopeId | ( | Integer | id | ) |
Sets id of Story Space that sunscription belongs
id | id of Story Space that sunscription belongs |
Definition at line 118 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setType | ( | int | type | ) |
Sets type of subscription
type | type of subscription |
Definition at line 190 of file SubscribedItem.java.
void cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.setUser | ( | User | user | ) |
Sets user which is subscribed (or unsubscribed)
user | user which is subscribed (or unsubscribed) |
Definition at line 154 of file SubscribedItem.java.
String cz.vutbr.fit.knot.annotations.modules.StoryscopeInterface.SubscribedItem.toString | ( | ) |
Definition at line 221 of file SubscribedItem.java.
|
private |
Type of annotation that story space wants (or don't wants) recive
Definition at line 63 of file SubscribedItem.java.
|
private |
ID of subscribed item
Definition at line 53 of file SubscribedItem.java.
|
private |
Type of subscription (0 = unsubscribed, 1 = subscribed)
Definition at line 78 of file SubscribedItem.java.
|
private |
Source which story space wants subscribe or unsubscribe
Definition at line 73 of file SubscribedItem.java.
|
private |
ID of story space that item belongs
Definition at line 58 of file SubscribedItem.java.
|
static |
Indicator of subscribed type
Definition at line 81 of file SubscribedItem.java.
|
static |
Indicator of unsubscribed type
Definition at line 83 of file SubscribedItem.java.
|
private |
User which story space wants subscribe or unsubscribe
Definition at line 68 of file SubscribedItem.java.