| Package | Description |
|---|---|
| org.attribyte.wp.db | |
| org.attribyte.wp.model |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
DB.selectPostIds(Post.Type type,
Post.Status status,
java.util.Collection<TaxonomyTerm> terms,
Post.Sort sort,
Paging paging)
Selects a page of posts with a specified type.
|
java.util.List<Post> |
DB.selectPosts(Post.Type type,
Post.Status status,
Post.Sort sort,
Paging paging,
boolean withResolve)
Selects a page of posts with a specified type.
|
| Modifier and Type | Field and Description |
|---|---|
Post.Status |
Post.status
The status.
|
| Modifier and Type | Method and Description |
|---|---|
static Post.Status |
Post.Status.fromString(java.lang.String str)
Creates status from a string.
|
Post.Status |
Post.Builder.getStatus()
Gets the status.
|
static Post.Status |
Post.Status.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Post.Status[] |
Post.Status.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Post.Builder |
Post.Builder.setStatus(Post.Status status)
Sets the status.
|