| Package | Description |
|---|---|
| org.attribyte.wp.db | |
| org.attribyte.wp.model |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Meta> |
DB.selectPostMeta(long postId)
Selects metadata for a post.
|
java.util.List<Meta> |
DB.userMetadata(long userId)
Selects metadata for a user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DB.setPostMeta(long postId,
java.util.List<Meta> postMeta)
Sets metadata for a post.
|
| Modifier and Type | Field and Description |
|---|---|
com.google.common.collect.ImmutableList<Meta> |
Post.metadata
Metadata associated with the user.
|
com.google.common.collect.ImmutableList<Meta> |
User.metadata
Metadata associated with the user.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Meta> |
Post.Builder.getMetadata()
Gets the metadata.
|
| Modifier and Type | Method and Description |
|---|---|
Post.Builder |
Post.Builder.setMetadata(java.util.List<Meta> metadata)
Sets the metadata.
|
Post |
Post.withMetadata(java.util.List<Meta> metadata)
Adds metadata to a post.
|
User |
User.withMetadata(java.util.List<Meta> meta)
Creates a user with added metadata.
|
| Constructor and Description |
|---|
User(long id,
java.lang.String username,
java.lang.String displayName,
java.lang.String email,
long createTimestamp,
java.util.Collection<Meta> metadata)
Creates a user.
|