Index

A C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

accepted() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Returns the value of the accepted record component.
ACTIVE - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Newly created, being shown to initial audience
affinities() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Returns the value of the affinities record component.
AffinitySummary - Record Class in org.gaardeon.dialek.shared.scoring
A lightweight summary of a user's affinities, computed client-side and sent to the server when requesting a post package.
AffinitySummary(UserId, List, List) - Constructor for record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Creates an instance of a AffinitySummary record class.
alreadySeen() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Returns the value of the alreadySeen record component.
assignedAt() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns the value of the assignedAt record component.
AUDIENCE_BY_LEVEL - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
AUDIENCE_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
AUDIENCE_BY_USER - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
audienceCap() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns the value of the audienceCap record component.
AUTHOR_AFFINITY - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
 
authorId() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the authorId record component.
authorId() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the authorId record component.
authorId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns the value of the authorId record component.
authorId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns the value of the authorId record component.

C

code() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Returns the value of the code record component.
comment() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentResponse
Returns the value of the comment record component.
Comment(Model.CommentId, Model.PostId, Model.CommentId, UserId, String, Instant, int, int, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.Comment
Creates an instance of a Comment record class.
COMMENT_BY_AUTHOR - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
COMMENT_BY_ID - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
COMMENT_BY_PARENT - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
COMMENT_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
COMMENT_VOTE_BY_COMMENT - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
COMMENT_VOTE_BY_VOTER - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
commentId() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the commentId record component.
commentId() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns the value of the commentId record component.
commentId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns the value of the commentId record component.
CommentId() - Constructor for record class org.gaardeon.dialek.shared.model.Model.CommentId
 
CommentId(UUID) - Constructor for record class org.gaardeon.dialek.shared.model.Model.CommentId
Creates an instance of a CommentId record class.
comments() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Returns the value of the comments record component.
comments() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Returns the value of the comments record component.
CommentSortPref(Model.PostId, Model.CommentSortOrder) - Constructor for record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Creates an instance of a CommentSortPref record class.
commentVote(UserId, Model.CommentId, boolean) - Static method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Vote on a comment
CommentVote(UserId, Model.CommentId, boolean, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.CommentVote
Creates an instance of a CommentVote record class.
content() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the content record component.
content() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the content record component.
content() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns the value of the content record component.
content() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns the value of the content record component.
count() - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Returns the value of the count record component.
count() - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Returns the value of the count record component.
count() - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Returns the value of the count record component.
count() - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Returns the value of the count record component.
create() - Static method in record class org.gaardeon.dialek.shared.model.UserId
 
CreateCommentRequest(Model.PostId, Model.CommentId, UserId, String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Creates an instance of a CreateCommentRequest record class.
CreateCommentResponse(Model.Comment) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentResponse
Creates an instance of a CreateCommentResponse record class.
createdAt() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the createdAt record component.
createdAt() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the createdAt record component.
CreatePostRequest(UserId, String, String, List) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Creates an instance of a CreatePostRequest record class.
CreatePostResponse(Model.Post) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostResponse
Creates an instance of a CreatePostResponse record class.

D

DataStoreId - Interface in org.gaardeon.dialek.shared.model
 
decrement() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
 
decrement() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
 
DEFAULT_IMPUTED_ZEROS - Static variable in record class org.gaardeon.dialek.shared.model.Model.Comment
 
DEFAULT_IMPUTED_ZEROS - Static variable in record class org.gaardeon.dialek.shared.model.Model.Post
 
DEFAULTS - Static variable in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Default 5-level configuration.
displayName() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns the value of the displayName record component.
displayName() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Returns the value of the displayName record component.
downVotes() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the downVotes record component.
downVotes() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the downVotes record component.
DownvoteTally(UserId, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Creates an instance of a DownvoteTally record class.
DROPPED - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Failed to reach threshold, will no longer be shown

E

equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.CommentId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.PostHidden
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.PostId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.PostSeen
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.Tag
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.model.UserId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Indicates whether some other object is "equal to" this one.
error() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Returns the value of the error record component.
ErrorResponse(String, int) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Creates an instance of a ErrorResponse record class.
EXPIRED - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Expired due to quiescence
expiresAt() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the expiresAt record component.

F

FeedRequest(UserId, AffinitySummary, List) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Creates an instance of a FeedRequest record class.
FeedResponse(List, List) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Creates an instance of a FeedResponse record class.
FetchCommentsRequest(Model.PostId, Model.CommentId, int, int) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Creates an instance of a FetchCommentsRequest record class.
FetchCommentsResponse(List, boolean) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Creates an instance of a FetchCommentsResponse record class.
forLevel(int) - Static method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
 

G

GRADUATING - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Graduated to next level, acquiring new audience

H

hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentId
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.PostHidden
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.PostId
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.PostSeen
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.Tag
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.model.UserId
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Returns a hash code value for this object.
hashCode() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns a hash code value for this object.
hasMore() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Returns the value of the hasMore record component.
HIDDEN_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
hiddenAt() - Method in record class org.gaardeon.dialek.shared.model.Model.PostHidden
Returns the value of the hiddenAt record component.

I

imputedZeros() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the imputedZeros record component.
imputedZeros() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the imputedZeros record component.
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
 
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
 
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
 
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
 
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
 
increment() - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
 
isPostVote() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
 

J

joinedAt() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns the value of the joinedAt record component.

L

least() - Method in record class org.gaardeon.dialek.shared.model.UserId
Returns the value of the least record component.
level() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the level record component.
level() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns the value of the level record component.
level() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns the value of the level record component.
LevelConfig - Record Class in org.gaardeon.dialek.shared.scoring
Defines the level graduation system.
LevelConfig(int, int, double, Duration, int) - Constructor for record class org.gaardeon.dialek.shared.scoring.LevelConfig
Creates an instance of a LevelConfig record class.
lifecycle() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the lifecycle record component.
limit() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns the value of the limit record component.
LoginRequest(String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.LoginRequest
Creates an instance of a LoginRequest record class.
LoginResponse(UserId, String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Creates an instance of a LoginResponse record class.

M

maxLevel() - Static method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
 
minimumVotesForPromotion() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns the value of the minimumVotesForPromotion record component.
Model - Class in org.gaardeon.dialek.shared.model
Core domain records for Dialek.
Model.Comment - Record Class in org.gaardeon.dialek.shared.model
A comment on a post, or a reply to another comment. parentCommentId is null for top-level comments.
Model.CommentId - Record Class in org.gaardeon.dialek.shared.model
 
Model.CommentSortOrder - Enum Class in org.gaardeon.dialek.shared.model
 
Model.CommentSortPref - Record Class in org.gaardeon.dialek.shared.model
Per-post sort preference for how to order comments on a specific post.
Model.CommentVote - Record Class in org.gaardeon.dialek.shared.model
A vote on a comment.
Model.DownvoteTally - Record Class in org.gaardeon.dialek.shared.model
Running tally of how many times we've downvoted a specific other user.
Model.NetTagTally - Record Class in org.gaardeon.dialek.shared.model
 
Model.NetVoteTally - Record Class in org.gaardeon.dialek.shared.model
 
Model.Post - Record Class in org.gaardeon.dialek.shared.model
A discussion post.
Model.PostAudienceMember - Record Class in org.gaardeon.dialek.shared.model
Tracks that a user has been assigned to see a post at a given level.
Model.PostHidden - Record Class in org.gaardeon.dialek.shared.model
Tracks that we have hidden a specific post.
Model.PostId - Record Class in org.gaardeon.dialek.shared.model
 
Model.PostLifecycle - Enum Class in org.gaardeon.dialek.shared.model
Lifecycle states for a post as it moves through the system.
Model.PostSeen - Record Class in org.gaardeon.dialek.shared.model
Tracks that we have seen a specific post.
Model.PostVote - Record Class in org.gaardeon.dialek.shared.model
A vote on a post.
Model.Tag - Record Class in org.gaardeon.dialek.shared.model
 
Model.TagDownvoteTally - Record Class in org.gaardeon.dialek.shared.model
Running tally of downvotes on posts with a specific tag.
Model.TagUpvoteTally - Record Class in org.gaardeon.dialek.shared.model
Running tally of upvotes we've given on posts with a specific tag.
Model.UpvoteTally - Record Class in org.gaardeon.dialek.shared.model
Running tally of how many times we've upvoted a specific other user.
Model.UserProfile - Record Class in org.gaardeon.dialek.shared.model
A user's public profile.
most() - Method in record class org.gaardeon.dialek.shared.model.UserId
Returns the value of the most record component.

N

name() - Method in record class org.gaardeon.dialek.shared.model.Model.Tag
Returns the value of the name record component.
NET_VOTE_TALLY_BY_USER - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
netCount() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Returns the value of the netCount record component.
netCount() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Returns the value of the netCount record component.
NetTagTally(Model.Tag, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Creates an instance of a NetTagTally record class.
NetVoteTally(UserId, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Creates an instance of a NetVoteTally record class.
NEWEST_FIRST - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
 

O

of(String) - Static method in record class org.gaardeon.dialek.shared.model.Model.CommentId
 
of(String) - Static method in record class org.gaardeon.dialek.shared.model.Model.PostId
 
offset() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns the value of the offset record component.
ok() - Static method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
 
OLDEST_FIRST - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
 
org.gaardeon.dialek.client - module org.gaardeon.dialek.client
 
org.gaardeon.dialek.server - module org.gaardeon.dialek.server
 
org.gaardeon.dialek.shared - module org.gaardeon.dialek.shared
 
org.gaardeon.dialek.shared.model - package org.gaardeon.dialek.shared.model
 
org.gaardeon.dialek.shared.protocol - package org.gaardeon.dialek.shared.protocol
 
org.gaardeon.dialek.shared.scoring - package org.gaardeon.dialek.shared.scoring
 
otherUserId() - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Returns the value of the otherUserId record component.
otherUserId() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Returns the value of the otherUserId record component.
otherUserId() - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Returns the value of the otherUserId record component.

P

parentCommentId() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the parentCommentId record component.
parentCommentId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns the value of the parentCommentId record component.
parentCommentId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns the value of the parentCommentId record component.
post() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostResponse
Returns the value of the post record component.
post() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Returns the value of the post record component.
Post(Model.PostId, UserId, String, String, List, Instant, int, int, int, int, Model.PostLifecycle, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.Post
Creates an instance of a Post record class.
POST_BY_AUTHOR - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_BY_EXPIRY - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_BY_ID - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_BY_LEVEL - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_BY_LIFECYCLE - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_BY_TAG - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_VOTE_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
POST_VOTE_BY_VOTER - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
PostAudienceMember(Model.PostId, UserId, int, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Creates an instance of a PostAudienceMember record class.
PostHidden(Model.PostId, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostHidden
Creates an instance of a PostHidden record class.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostHidden
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostSeen
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns the value of the postId record component.
postId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns the value of the postId record component.
PostId() - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostId
 
PostId(UUID) - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostId
Creates an instance of a PostId record class.
posts() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Returns the value of the posts record component.
PostSeen(Model.PostId, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostSeen
Creates an instance of a PostSeen record class.
postVote(UserId, Model.PostId, boolean) - Static method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Vote on a post
PostVote(UserId, Model.PostId, boolean, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.PostVote
Creates an instance of a PostVote record class.
PostWithComments(Model.Post, List, int) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Creates an instance of a PostWithComments record class.
PROFILE_BY_ID - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
PROFILE_BY_USERNAME - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
promotionThreshold() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns the value of the promotionThreshold record component.
Protocol - Class in org.gaardeon.dialek.shared.protocol
Wire protocol records for the Dialek client-server API.
Protocol.CreateCommentRequest - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.CreateCommentResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.CreatePostRequest - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.CreatePostResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.ErrorResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.FeedRequest - Record Class in org.gaardeon.dialek.shared.protocol
Client requests a package of posts.
Protocol.FeedResponse - Record Class in org.gaardeon.dialek.shared.protocol
Server responds with a mix of posts from all levels, plus user profiles for all authors referenced.
Protocol.FetchCommentsRequest - Record Class in org.gaardeon.dialek.shared.protocol
Request more comments for a post (pagination / deeper threading).
Protocol.FetchCommentsResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.LoginRequest - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.LoginResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.PostWithComments - Record Class in org.gaardeon.dialek.shared.protocol
A post bundled with its top-level comment tree (one level deep for initial load).
Protocol.RegisterRequest - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.RegisterResponse - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.VoteRequest - Record Class in org.gaardeon.dialek.shared.protocol
 
Protocol.VoteResponse - Record Class in org.gaardeon.dialek.shared.protocol
 

Q

qualifiesForPromotion(double, int) - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns true if the given score and vote count qualifies for promotion to the next level.

R

reason() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Returns the value of the reason record component.
referencedUsers() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Returns the value of the referencedUsers record component.
RegisterRequest(String, String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Creates an instance of a RegisterRequest record class.
RegisterResponse(UserId, String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Creates an instance of a RegisterResponse record class.
rejected(String) - Static method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
 

S

score() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
 
score() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
 
SCORE_DESC - Enum constant in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
 
SEEN_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
seenAt() - Method in record class org.gaardeon.dialek.shared.model.Model.PostSeen
Returns the value of the seenAt record component.
Selectors - Class in org.gaardeon.dialek.shared.model
Pre-built Relatable selectors for Dialek model records.
SORT_PREF_BY_POST - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
sortOrder() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Returns the value of the sortOrder record component.

T

tag() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Returns the value of the tag record component.
tag() - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Returns the value of the tag record component.
tag() - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Returns the value of the tag record component.
Tag(String) - Constructor for record class org.gaardeon.dialek.shared.model.Model.Tag
Creates an instance of a Tag record class.
TAG_VOTE_BY_TAG - Static variable in class org.gaardeon.dialek.shared.model.Selectors
 
tagAffinities() - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Returns the value of the tagAffinities record component.
TagDownvoteTally(Model.Tag, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Creates an instance of a TagDownvoteTally record class.
tags() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the tags record component.
tags() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns the value of the tags record component.
TagUpvoteTally(Model.Tag, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Creates an instance of a TagUpvoteTally record class.
timeToLive() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns the value of the timeToLive record component.
title() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the title record component.
title() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns the value of the title record component.
token() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Returns the value of the token record component.
token() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Returns the value of the token record component.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentId
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentSortPref
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.DownvoteTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.NetTagTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.NetVoteTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.PostHidden
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.PostId
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.PostSeen
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.Tag
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.TagDownvoteTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.TagUpvoteTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.model.UserId
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreateCommentResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.CreatePostResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.ErrorResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FetchCommentsResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Returns a string representation of this record class.
toString() - Method in record class org.gaardeon.dialek.shared.scoring.LevelConfig
Returns a string representation of this record class.
totalCommentCount() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.PostWithComments
Returns the value of the totalCommentCount record component.

U

upvote() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns the value of the upvote record component.
upvote() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns the value of the upvote record component.
upvote() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns the value of the upvote record component.
upVotes() - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
Returns the value of the upVotes record component.
upVotes() - Method in record class org.gaardeon.dialek.shared.model.Model.Post
Returns the value of the upVotes record component.
UpvoteTally(UserId, int) - Constructor for record class org.gaardeon.dialek.shared.model.Model.UpvoteTally
Creates an instance of a UpvoteTally record class.
userAffinities() - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Returns the value of the userAffinities record component.
userId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostAudienceMember
Returns the value of the userId record component.
userId() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns the value of the userId record component.
userId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.FeedRequest
Returns the value of the userId record component.
userId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginResponse
Returns the value of the userId record component.
userId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterResponse
Returns the value of the userId record component.
userId() - Method in record class org.gaardeon.dialek.shared.scoring.AffinitySummary
Returns the value of the userId record component.
UserId - Record Class in org.gaardeon.dialek.shared.model
Unique user identity.
UserId(long, long) - Constructor for record class org.gaardeon.dialek.shared.model.UserId
Creates an instance of a UserId record class.
UserId(UUID) - Constructor for record class org.gaardeon.dialek.shared.model.UserId
 
username() - Method in record class org.gaardeon.dialek.shared.model.Model.UserProfile
Returns the value of the username record component.
username() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.LoginRequest
Returns the value of the username record component.
username() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.RegisterRequest
Returns the value of the username record component.
UserProfile(UserId, String, String, Instant) - Constructor for record class org.gaardeon.dialek.shared.model.Model.UserProfile
Creates an instance of a UserProfile record class.
uuid() - Method in interface org.gaardeon.dialek.shared.model.DataStoreId
 
uuid() - Method in record class org.gaardeon.dialek.shared.model.UserId
 

V

value() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentId
Returns the value of the value record component.
value() - Method in record class org.gaardeon.dialek.shared.model.Model.PostId
Returns the value of the value record component.
valueOf(String) - Static method in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.gaardeon.dialek.shared.model.Model.CommentSortOrder
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.gaardeon.dialek.shared.model.Model.PostLifecycle
Returns an array containing the constants of this enum class, in the order they are declared.
votedAt() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns the value of the votedAt record component.
votedAt() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns the value of the votedAt record component.
VoteRequest(UserId, Model.PostId, Model.CommentId, boolean) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Creates an instance of a VoteRequest record class.
VoteResponse(boolean, String) - Constructor for record class org.gaardeon.dialek.shared.protocol.Protocol.VoteResponse
Creates an instance of a VoteResponse record class.
voterId() - Method in record class org.gaardeon.dialek.shared.model.Model.CommentVote
Returns the value of the voterId record component.
voterId() - Method in record class org.gaardeon.dialek.shared.model.Model.PostVote
Returns the value of the voterId record component.
voterId() - Method in record class org.gaardeon.dialek.shared.protocol.Protocol.VoteRequest
Returns the value of the voterId record component.

W

withLevel(int, Instant) - Method in record class org.gaardeon.dialek.shared.model.Model.Post
 
withLifecycle(Model.PostLifecycle) - Method in record class org.gaardeon.dialek.shared.model.Model.Post
 
withVote(boolean) - Method in record class org.gaardeon.dialek.shared.model.Model.Comment
 
withVote(boolean) - Method in record class org.gaardeon.dialek.shared.model.Model.Post
 
A C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values