| Package | Description |
|---|---|
| org.attribyte.wp.db | |
| org.attribyte.wp.model |
| Modifier and Type | Method and Description |
|---|---|
User |
DB.createUser(User user,
java.lang.String userPass)
Creates a user.
|
User |
DB.resolveUser(long userId)
Resolves a user by id, possibly with the internal cache.
|
User |
DB.resolveUser(java.lang.String username)
Resolves a user by username, possibly with the internal cache.
|
User |
DB.selectUser(long userId)
Selects a user from the database.
|
User |
DB.selectUser(java.lang.String username)
Selects a user by username.
|
| Modifier and Type | Method and Description |
|---|---|
User |
DB.createUser(User user,
java.lang.String userPass)
Creates a user.
|
| Modifier and Type | Field and Description |
|---|---|
User |
Post.author
The author.
|
| Modifier and Type | Method and Description |
|---|---|
User |
Post.Builder.getAuthor()
Gets the author.
|
User |
User.withId(long id)
Creates a user with a new id.
|
User |
User.withMetadata(java.util.List<Meta> meta)
Creates a user with added metadata.
|
| Modifier and Type | Method and Description |
|---|---|
Post.Builder |
Post.Builder.setAuthor(User author)
Sets the author.
|
Post |
Post.withAuthor(User user)
Adds an author to a post.
|