| Package | Description |
|---|---|
| org.attribyte.wp.db | |
| org.attribyte.wp.model |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Post> |
DB.selectAuthorPosts(long userId,
Post.Sort sort,
Paging paging,
boolean withResolve)
Selects a page of posts for an author.
|
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 | Method and Description |
|---|---|
static Post.Sort |
Post.Sort.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Post.Sort[] |
Post.Sort.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|