Skip navigation links
A B C D E F G I K L M N O P R S T U V W 

A

addTaxonomyTerm(TaxonomyTerm) - Method in class org.attribyte.wp.model.Post.Builder
Adds a taxonomy term.
attributes - Variable in class org.attribyte.wp.model.Shortcode
The attributes.
author - Variable in class org.attribyte.wp.model.Post
The author.
authorId - Variable in class org.attribyte.wp.model.Post
The author id.

B

baseURL - Variable in class org.attribyte.wp.model.Site
The base (home) URL for the site.
Blog - Class in org.attribyte.wp.model
An immutable blog.
Blog(long, long, String, String, long, long) - Constructor for class org.attribyte.wp.model.Blog
Creates a blog.
build() - Method in class org.attribyte.wp.model.Post.Builder
Builds an immutable post.
buildPermalink(Post) - Method in class org.attribyte.wp.model.Site
Builds the permalink for a post from this site.

C

categories() - Method in class org.attribyte.wp.model.Post
An immutable list of categories associated with this post.
CATEGORY_TAXONOMY - Static variable in class org.attribyte.wp.Util
The taxonomy for categories.
children - Variable in class org.attribyte.wp.model.Post
A list of children.
clearPostMeta(long) - Method in class org.attribyte.wp.db.DB
Clears all metadata for a post.
clearPostTerm(long, long) - Method in class org.attribyte.wp.db.DB
Clears a single taxonomy term associated with a post.
clearPostTerms(long) - Method in class org.attribyte.wp.db.DB
Clears all terms associated with a post.
clearPostTerms(long, String) - Method in class org.attribyte.wp.db.DB
Clears all terms associated with a post with a specified taxonomy.
commentCount - Variable in class org.attribyte.wp.model.Post
The comment count.
content - Variable in class org.attribyte.wp.model.Post
The content.
content - Variable in class org.attribyte.wp.model.Shortcode
The content.
createTaxonomyTerm(String, String, String, String) - Method in class org.attribyte.wp.db.DB
Creates a taxonomy term.
createTerm(String, String) - Method in class org.attribyte.wp.db.DB
Creates a term.
createTimestamp - Variable in class org.attribyte.wp.model.User
The time user was created.
createUser(User, String) - Method in class org.attribyte.wp.db.DB
Creates a user.

D

DB - Class in org.attribyte.wp.db
 
DB(ConnectionSupplier, long, Set<String>, Duration, Duration) - Constructor for class org.attribyte.wp.db.DB
Creates a database with the default metric source.
DB(ConnectionSupplier, long, Set<String>, Duration, Duration, MetricSource) - Constructor for class org.attribyte.wp.db.DB
Creates a database.
DEFAULT - Static variable in interface org.attribyte.wp.db.MetricSource
 
defaultCategory - Variable in class org.attribyte.wp.model.Site
The default category.
deleteChildren(long) - Method in class org.attribyte.wp.db.DB
Deletes all children.
deletePost(long) - Method in class org.attribyte.wp.db.DB
Deletes a post with a specified id, including all associated metadata.
description - Variable in class org.attribyte.wp.model.Site
The site description.
description - Variable in class org.attribyte.wp.model.TaxonomyTerm
The description of the term as it appears in the taxonomy.
displayName - Variable in class org.attribyte.wp.model.User
The display name.
displayName() - Method in class org.attribyte.wp.model.User
The display name, if set, otherwise the username.
domain - Variable in class org.attribyte.wp.model.Blog
The domain.

E

email - Variable in class org.attribyte.wp.model.User
The email.
endIsOpen - Variable in class org.attribyte.wp.model.Paging
The end timestamp of this interval is open (excluded).
escapeAttribute(String) - Static method in class org.attribyte.wp.model.Shortcode
Escapes an attribute value.
excerpt - Variable in class org.attribyte.wp.model.Post
The excerpt.

F

FEATURED_IMAGE_KEY - Static variable in class org.attribyte.wp.Util
The key for featured images added as post metadata.
fromString(String) - Static method in enum org.attribyte.wp.model.Post.CommentStatus
Creates comment status from a string.
fromString(String) - Static method in enum org.attribyte.wp.model.Post.Status
Creates status from a string.
fromString(String) - Static method in enum org.attribyte.wp.model.Post.Type
Creates a post type from a string.

G

getAuthor() - Method in class org.attribyte.wp.model.Post.Builder
Gets the author.
getAuthorId() - Method in class org.attribyte.wp.model.Post.Builder
Gets the author id.
getChildren() - Method in class org.attribyte.wp.model.Post.Builder
Gets the children.
getCommentCount() - Method in class org.attribyte.wp.model.Post.Builder
Gets the comment count.
getConnection() - Method in class org.attribyte.wp.db.SimpleConnectionSource
 
getContent() - Method in class org.attribyte.wp.model.Post.Builder
Gets the content.
getExcerpt() - Method in class org.attribyte.wp.model.Post.Builder
Ges the excerpt.
getGUID() - Method in class org.attribyte.wp.model.Post.Builder
Gets the GUID.
getId() - Method in class org.attribyte.wp.model.Post.Builder
Gets the id.
getMetadata() - Method in class org.attribyte.wp.model.Post.Builder
Gets the metadata.
getMetrics() - Method in class org.attribyte.wp.db.DB
 
getMetrics() - Method in class org.attribyte.wp.db.Metrics
 
getMimeType() - Method in class org.attribyte.wp.model.Post.Builder
Gets the mime type.
getModifiedTimestamp() - Method in class org.attribyte.wp.model.Post.Builder
Gets the last modified timestamp.
getParentId() - Method in class org.attribyte.wp.model.Post.Builder
Gets the parent id.
getPublishTimestamp() - Method in class org.attribyte.wp.model.Post.Builder
Gets the publish timestamp.
getSlug() - Method in class org.attribyte.wp.model.Post.Builder
Gets the slug.
getStatus() - Method in class org.attribyte.wp.model.Post.Builder
Gets the status.
getTitle() - Method in class org.attribyte.wp.model.Post.Builder
Gets the title.
getType() - Method in class org.attribyte.wp.model.Post.Builder
Gets the post type.
guid - Variable in class org.attribyte.wp.model.Post
The GUID.

I

id - Variable in class org.attribyte.wp.model.Blog
The blog id.
id - Variable in class org.attribyte.wp.model.Meta
The unique id.
id - Variable in class org.attribyte.wp.model.Post
The unique id.
id - Variable in class org.attribyte.wp.model.Site
The site id.
id - Variable in class org.attribyte.wp.model.TaxonomyTerm
The id assigned to the term in the taxonomy.
id - Variable in class org.attribyte.wp.model.Term
The id.
id - Variable in class org.attribyte.wp.model.User
The user id.
ImageAttachment - Class in org.attribyte.wp.model
A post that represents an image attachment.
ImageAttachment(Post) - Constructor for class org.attribyte.wp.model.ImageAttachment
Creates an image attachment from a post.
ImageAttachment(Post, String, String, String, String) - Constructor for class org.attribyte.wp.model.ImageAttachment
Creates an image attachment with unassigned id.
ImageAttachment(Post, long, String, String, String, String) - Constructor for class org.attribyte.wp.model.ImageAttachment
Creates an image attachment with assigned id.
insertPost(Post, TimeZone) - Method in class org.attribyte.wp.db.DB
Inserts a post.
interval - Variable in class org.attribyte.wp.model.Paging
The time interval, if any.

K

key - Variable in class org.attribyte.wp.model.Meta
The key.

L

limit - Variable in class org.attribyte.wp.model.Paging
The maximum items returned.

M

Meta - Class in org.attribyte.wp.model
Metadata associated with a post, user, or other object.
Meta(String, String) - Constructor for class org.attribyte.wp.model.Meta
Creates metadata with no assigned id.
Meta(long, String, String) - Constructor for class org.attribyte.wp.model.Meta
Creates metadata.
metadata - Variable in class org.attribyte.wp.model.Post
Metadata associated with the user.
metadata - Variable in class org.attribyte.wp.model.User
Metadata associated with the user.
Metrics - Class in org.attribyte.wp.db
Timers, meters, etc.
MetricSource - Interface in org.attribyte.wp.db
A source for metrics.
mimeType - Variable in class org.attribyte.wp.model.Post
The mime type.
modifiedNow() - Method in class org.attribyte.wp.model.Post
Changes the modified time of a post to the current time.
modifiedTimestamp - Variable in class org.attribyte.wp.model.Post
The modified timestamp.

N

name - Variable in class org.attribyte.wp.model.Shortcode
The name.
name - Variable in class org.attribyte.wp.model.Term
The name.
newBuilder() - Static method in class org.attribyte.wp.model.Post
Creates an immutable post builder.
newBuilder(Post) - Static method in class org.attribyte.wp.model.Post
Creates an immutable post builder with data from an existing post.
newMeter() - Method in interface org.attribyte.wp.db.MetricSource
Creates a new meter.
newTimer() - Method in interface org.attribyte.wp.db.MetricSource
Creates a new timer.

O

org.attribyte.wp - package org.attribyte.wp
 
org.attribyte.wp.db - package org.attribyte.wp.db
 
org.attribyte.wp.model - package org.attribyte.wp.model
 
overrideWith(Site) - Method in class org.attribyte.wp.model.Site
Overrides values in this site with those in another, if set.

P

Paging - Class in org.attribyte.wp.model
Paging constraint.
Paging(int, int, Interval, boolean, boolean) - Constructor for class org.attribyte.wp.model.Paging
Creates paging within an interval.
Paging(int, int, Interval) - Constructor for class org.attribyte.wp.model.Paging
Creates paging within an interval.
Paging(int, int) - Constructor for class org.attribyte.wp.model.Paging
Creates simple paging.
parentId - Variable in class org.attribyte.wp.model.Post
The parent id.
parentId - Variable in class org.attribyte.wp.model.TaxonomyTerm
The parent taxonomy id, if any.
parse(String) - Static method in class org.attribyte.wp.model.Shortcode
Parses a shortcode
path - Variable in class org.attribyte.wp.model.Blog
The blog path.
path() - Method in class org.attribyte.wp.model.ImageAttachment
Gets the image path.
permalinkStructure - Variable in class org.attribyte.wp.model.Site
The permalink format string.
positionalValue(int) - Method in class org.attribyte.wp.model.Shortcode
Gets a positional attribute value.
positionalValues() - Method in class org.attribyte.wp.model.Shortcode
Gets a list of any positional values.
Post - Class in org.attribyte.wp.model
An immutable post.
Post.Builder - Class in org.attribyte.wp.model
Builds an immutable post.
Post.CommentStatus - Enum in org.attribyte.wp.model
 
Post.Sort - Enum in org.attribyte.wp.model
Post sort methods.
Post.Status - Enum in org.attribyte.wp.model
Post status.
Post.Type - Enum in org.attribyte.wp.model
The post type.
publishTimestamp - Variable in class org.attribyte.wp.model.Post
The publish timestamp.

R

registeredTimestamp - Variable in class org.attribyte.wp.model.Blog
The time the blog was registered.
resolve(Post.Builder) - Method in class org.attribyte.wp.db.DB
Resolves user, author, terms and meta for a post.
resolveTaxonomyTerm(String, String) - Method in class org.attribyte.wp.db.DB
Resolves a taxonomy term, creating if required.
resolveTaxonomyTerm(long) - Method in class org.attribyte.wp.db.DB
Resolves a taxonomy term by id.
resolveUser(long) - Method in class org.attribyte.wp.db.DB
Resolves a user by id, possibly with the internal cache.
resolveUser(String) - Method in class org.attribyte.wp.db.DB
Resolves a user by username, possibly with the internal cache.

S

selectAuthorPosts(long, Post.Sort, Paging, boolean) - Method in class org.attribyte.wp.db.DB
Selects a page of posts for an author.
selectChildren(long, boolean) - Method in class org.attribyte.wp.db.DB
Gets all children for a post.
selectModifiedPosts(Post.Type, long, long, int, boolean) - Method in class org.attribyte.wp.db.DB
Selects recently modified posts, in ascending order after a specified timestamp and id.
selectOption(String) - Method in class org.attribyte.wp.db.DB
Gets a configuration option.
selectOption(String, String) - Method in class org.attribyte.wp.db.DB
Gets a configuration option with a default value.
selectPost(long) - Method in class org.attribyte.wp.db.DB
Selects a post by id.
selectPostIds(Post.Type, Post.Status, Collection<TaxonomyTerm>, Post.Sort, Paging) - Method in class org.attribyte.wp.db.DB
Selects a page of posts with a specified type.
selectPostMeta(long) - Method in class org.attribyte.wp.db.DB
Selects metadata for a post.
selectPosts(Post.Type, Post.Status, Post.Sort, Paging, boolean) - Method in class org.attribyte.wp.db.DB
Selects a page of posts with a specified type.
selectPosts(String, boolean) - Method in class org.attribyte.wp.db.DB
Selects all posts with a "slug".
selectPostTerms(long) - Method in class org.attribyte.wp.db.DB
Selects all terms associated with a post for any taxonomy.
selectPostTerms(long, String) - Method in class org.attribyte.wp.db.DB
Selects all terms associated with a post.
selectPostTermsSQL - Variable in class org.attribyte.wp.db.DB
 
selectPublicBlogs() - Method in class org.attribyte.wp.db.DB
Selects all public, enabled blogs.
selectSite() - Method in class org.attribyte.wp.db.DB
Selects the site metadata from the options table.
selectTaxonomyTerm(String, String) - Method in class org.attribyte.wp.db.DB
Selects a taxonomy term.
selectTerm(long) - Method in class org.attribyte.wp.db.DB
Selects a term by id.
selectTermIds(String) - Method in class org.attribyte.wp.db.DB
Selects the term ids for all with the specified name.
selectUser(String) - Method in class org.attribyte.wp.db.DB
Selects a user by username.
selectUser(long) - Method in class org.attribyte.wp.db.DB
Selects a user from the database.
setAuthor(User) - Method in class org.attribyte.wp.model.Post.Builder
Sets the author.
setAuthorId(long) - Method in class org.attribyte.wp.model.Post.Builder
Sets the author id.
setChildren(List<Post>) - Method in class org.attribyte.wp.model.Post.Builder
Sets the children.
setCommentCount(int) - Method in class org.attribyte.wp.model.Post.Builder
Sets the comment count.
setContent(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the content.
setExcerpt(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the excerpt.
setGUID(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the GUID.
setId(long) - Method in class org.attribyte.wp.model.Post.Builder
Sets the id.
setMetadata(List<Meta>) - Method in class org.attribyte.wp.model.Post.Builder
Sets the metadata.
setMimeType(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the mime type.
setModifiedTimestamp(long) - Method in class org.attribyte.wp.model.Post.Builder
Sets the last modified timestamp.
setParentId(long) - Method in class org.attribyte.wp.model.Post.Builder
Sets the parent id.
setPostMeta(long, List<Meta>) - Method in class org.attribyte.wp.db.DB
Sets metadata for a post.
setPostTerms(long, String, List<String>) - Method in class org.attribyte.wp.db.DB
Sets terms associated with a post, replacing any existing terms with the specified taxonomy.
setPublishTimestamp(long) - Method in class org.attribyte.wp.model.Post.Builder
Sets the publish timestamp.
setSlug(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the slug.
setStatus(Post.Status) - Method in class org.attribyte.wp.model.Post.Builder
Sets the status.
setTaxonomyTerms(List<TaxonomyTerm>) - Method in class org.attribyte.wp.model.Post.Builder
Sets terms for a taxonomy, replacing any existing.
setTitle(String) - Method in class org.attribyte.wp.model.Post.Builder
Sets the title.
setType(Post.Type) - Method in class org.attribyte.wp.model.Post.Builder
Sets the post type.
Shortcode - Class in org.attribyte.wp.model
A shortcode.
Shortcode(String, Map<String, String>) - Constructor for class org.attribyte.wp.model.Shortcode
Creates a shortcode without content.
Shortcode(String, Map<String, String>, String) - Constructor for class org.attribyte.wp.model.Shortcode
Creates a shortcode with content.
SimpleConnectionSource - Class in org.attribyte.wp.db
Creates a new connection on every invocation.
SimpleConnectionSource(Properties) - Constructor for class org.attribyte.wp.db.SimpleConnectionSource
Creates a simple connection source.
Site - Class in org.attribyte.wp.model
An immutable site.
Site(Properties) - Constructor for class org.attribyte.wp.model.Site
Creates site metadata from properties.
Site(long, String, String, String, String, Term) - Constructor for class org.attribyte.wp.model.Site
Creates a site.
siteId - Variable in class org.attribyte.wp.db.DB
The site id.
siteId - Variable in class org.attribyte.wp.model.Blog
The associated site id.
slug - Variable in class org.attribyte.wp.model.Post
The slug.
slug - Variable in class org.attribyte.wp.model.Term
The slug.
slug - Variable in class org.attribyte.wp.model.User
A slug for the author.
slugify(String) - Static method in class org.attribyte.wp.Util
Creates a slug from a string.
start - Variable in class org.attribyte.wp.model.Paging
The start index.
startIsOpen - Variable in class org.attribyte.wp.model.Paging
The start timestamp of this interval is open (excluded).
status - Variable in class org.attribyte.wp.model.Post
The status.

T

TAG_TAXONOMY - Static variable in class org.attribyte.wp.Util
The taxonomy for tags.
tags() - Method in class org.attribyte.wp.model.Post
An immutable list of tags associated with this post.
taxonomy - Variable in class org.attribyte.wp.model.TaxonomyTerm
The taxonomy.
TaxonomyTerm - Class in org.attribyte.wp.model
A term as referenced in a taxonomy.
TaxonomyTerm(long, String, Term, String) - Constructor for class org.attribyte.wp.model.TaxonomyTerm
Creates a term in a taxonomy with no parent.
TaxonomyTerm(long, String, Term, String, long) - Constructor for class org.attribyte.wp.model.TaxonomyTerm
Creates a term in a taxonomy with a parent.
taxonomyTerms - Variable in class org.attribyte.wp.model.Post
A map of taxonomy terms vs taxonomy name.
term - Variable in class org.attribyte.wp.model.TaxonomyTerm
The associated term.
Term - Class in org.attribyte.wp.model
An immutable term.
Term(long, String, String) - Constructor for class org.attribyte.wp.model.Term
Creates a term.
terms(String) - Method in class org.attribyte.wp.model.Post
An immutable list of terms associated with this post from a specified taxonomy.
title - Variable in class org.attribyte.wp.model.Post
The title.
title - Variable in class org.attribyte.wp.model.Site
The site title.
toString() - Method in class org.attribyte.wp.model.Shortcode
 
type - Variable in class org.attribyte.wp.model.Post
The post type.

U

updatedTimestamp - Variable in class org.attribyte.wp.model.Blog
The time the blog was last updated.
updatePost(Post, TimeZone) - Method in class org.attribyte.wp.db.DB
Updates a post.
User - Class in org.attribyte.wp.model
An immutable user.
User(long, String, String, String, long, Collection<Meta>) - Constructor for class org.attribyte.wp.model.User
Creates a user.
userMetadata(long) - Method in class org.attribyte.wp.db.DB
Selects metadata for a user.
username - Variable in class org.attribyte.wp.model.User
The username.
Util - Class in org.attribyte.wp
 
Util() - Constructor for class org.attribyte.wp.Util
 

V

value - Variable in class org.attribyte.wp.model.Meta
The value.
valueOf(String) - Static method in enum org.attribyte.wp.model.Post.CommentStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.attribyte.wp.model.Post.Sort
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.attribyte.wp.model.Post.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.attribyte.wp.model.Post.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.attribyte.wp.model.Post.CommentStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.attribyte.wp.model.Post.Sort
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.attribyte.wp.model.Post.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.attribyte.wp.model.Post.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAuthor(User) - Method in class org.attribyte.wp.model.Post
Adds an author to a post.
withChildren(List<Post>) - Method in class org.attribyte.wp.model.Post
Adds children to a post.
withContent(String) - Method in class org.attribyte.wp.model.Post
Replaces post content.
withContent(String) - Method in class org.attribyte.wp.model.Shortcode
Adds content to a shortcode.
withId(long) - Method in class org.attribyte.wp.model.Post
Adds an id to a post.
withId(long) - Method in class org.attribyte.wp.model.User
Creates a user with a new id.
withMetadata(List<Meta>) - Method in class org.attribyte.wp.model.Post
Adds metadata to a post.
withMetadata(List<Meta>) - Method in class org.attribyte.wp.model.User
Creates a user with added metadata.
withOpenEnd(boolean) - Method in class org.attribyte.wp.model.Paging
Creates paging with an open end.
withOpenStart(boolean) - Method in class org.attribyte.wp.model.Paging
Creates paging with an open start.
withParent(long) - Method in class org.attribyte.wp.model.Post
Adds a parent id to a post.
withTaxonomyTerms(Map<String, List<TaxonomyTerm>>) - Method in class org.attribyte.wp.model.Post
Adds taxonomy terms to a post.
A B C D E F G I K L M N O P R S T U V W 
Skip navigation links