Interface ObjectTypes
-
@ProviderType public interface ObjectTypes
Defines the well known object types as specified in http://activitystrea.ms/specs/json/schema/activity-schema.html#object-types
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALERT
Represents any kind of significant notification.static java.lang.String
APPLICATION
Represents any kind of software application.static java.lang.String
ARTICLE
Represents objects such as news articles, knowledge base entries, or other similar construct.static java.lang.String
AUDIO
Represents audio content of any kind.static java.lang.String
BADGE
Represents a badge or award granted to an object (typically a person object)static java.lang.String
BINARY
Objects of this type are used to carry arbitrary Base64-encoded binary data within an Activity Stream object.static java.lang.String
BOOKMARK
Represents a pointer to some URL -- typically a web page.static java.lang.String
COLLECTION
Represents a generic collection of objects of any type.static java.lang.String
COMMENT
Represents a textual response to another object.static java.lang.String
DEVICE
Represents a device of any sort.static java.lang.String
EVENT
Represents an event that occurs at a certain location during a particular period of time.static java.lang.String
FILE
Represents any form of document or file.static java.lang.String
GAME
Represents a game or competition of any kind.static java.lang.String
GROUP
Represents a grouping of objects in which member objects can join or leave.static java.lang.String
IMAGE
Represents a graphical image.static java.lang.String
ISSUE
Represents a report about a problem or situation that needs to be resolved.static java.lang.String
JOB
Represents information about a job or a job posting.static java.lang.String
NOTE
Represents a short-form text message.static java.lang.String
OFFER
Represents an offer of any kind.static java.lang.String
ORGANIZATION
Represents an organization of any kind.static java.lang.String
PAGE
Represents an area, typically a web page, that is representative of, and generally managed by a particular entity.static java.lang.String
PERSON
Represents an individual person.static java.lang.String
PLACE
Represents a physical location.static java.lang.String
PROCESS
Represents any form of process.static java.lang.String
PRODUCT
Represents a commercial good or service.static java.lang.String
QUESTION
Represents a question or a poll.static java.lang.String
REVIEW
Represents a primarily prose-based commentary on another object.static java.lang.String
SERVICE
Represents any form of hosted or consumable service that performs some kind of work or benefit for other entities.static java.lang.String
TASK
Represents an activity that has yet to be completed.static java.lang.String
VIDEO
Represents video content of any kind.
-
-
-
Field Detail
-
ALERT
static final java.lang.String ALERT
Represents any kind of significant notification.- See Also:
- Constant Field Values
-
APPLICATION
static final java.lang.String APPLICATION
Represents any kind of software application.- See Also:
- Constant Field Values
-
ARTICLE
static final java.lang.String ARTICLE
Represents objects such as news articles, knowledge base entries, or other similar construct. Such objects generally consist of paragraphs of text, in some cases incorporating embedded media such as photos and inline hyperlinks to other resources.- See Also:
- Constant Field Values
-
AUDIO
static final java.lang.String AUDIO
Represents audio content of any kind. Objects of this type MAY contain an additional property as specified in Section 3.1.- See Also:
- Constant Field Values
-
BADGE
static final java.lang.String BADGE
Represents a badge or award granted to an object (typically a person object)- See Also:
- Constant Field Values
-
BINARY
static final java.lang.String BINARY
Objects of this type are used to carry arbitrary Base64-encoded binary data within an Activity Stream object. It is primarily intended to attach binary data to other types of objects through the use of the attachments property. Objects of this type will contain the additional properties specified in Section 3.2.- See Also:
- Constant Field Values
-
BOOKMARK
static final java.lang.String BOOKMARK
Represents a pointer to some URL -- typically a web page. In most cases, bookmarks are specific to a given user and contain metadata chosen by that user. Bookmark Objects are similar in principle to the concept of bookmarks or favorites in a web browser. A bookmark represents a pointer to the URL, not the URL or the associated resource itself. Objects of this type SHOULD contain an additional targetUrl property whose value is a String containing the IRI of the target of the bookmark.- See Also:
- Constant Field Values
-
COLLECTION
static final java.lang.String COLLECTION
Represents a generic collection of objects of any type. This object type can be used, for instance, to represent a collection of files like a folder; a collection of photos like an album; and so forth. Objects of this type MAY contain an additional objectTypes property whose value is an Array of Strings specifying the expected objectType of objects contained within the collection.- See Also:
- Constant Field Values
-
COMMENT
static final java.lang.String COMMENT
Represents a textual response to another object. Objects of this type MAY contain an additional inReplyTo property whose value is an Array of one or more other Activity Stream Objects for which the object is to be considered a response.- See Also:
- Constant Field Values
-
DEVICE
static final java.lang.String DEVICE
Represents a device of any sort.- See Also:
- Constant Field Values
-
EVENT
static final java.lang.String EVENT
Represents an event that occurs at a certain location during a particular period of time. Objects of this type MAY contain the additional properties specified in Section 3.3.- See Also:
- Constant Field Values
-
FILE
static final java.lang.String FILE
Represents any form of document or file. Objects of this type MAY contain an additional fileUrl property whose value a dereferenceable IRI that can be used to retrieve the file; and an additional mimeType property whose value is the MIME type of the file described by the object.- See Also:
- Constant Field Values
-
GAME
static final java.lang.String GAME
Represents a game or competition of any kind.- See Also:
- Constant Field Values
-
GROUP
static final java.lang.String GROUP
Represents a grouping of objects in which member objects can join or leave.- See Also:
- Constant Field Values
-
IMAGE
static final java.lang.String IMAGE
Represents a graphical image. Objects of this type MAY contain an additional fullImage property whose value is an Activity Streams Media Link to a "full-sized" representation of the image.- See Also:
- Constant Field Values
-
ISSUE
static final java.lang.String ISSUE
Represents a report about a problem or situation that needs to be resolved. For instance, the issue object can be used to represent reports detailing software defects, or reports of acceptable use violations, and so forth. Objects of this type MAY contain the additional properties specified in Section 3.4.- See Also:
- Constant Field Values
-
JOB
static final java.lang.String JOB
Represents information about a job or a job posting.- See Also:
- Constant Field Values
-
NOTE
static final java.lang.String NOTE
Represents a short-form text message. This object is intended primarily for use in "micro-blogging" scenarios and in systems where users are invited to publish short, often plain-text messages whose useful lifespan is generally shorter than that of an article of weblog entry. A note is similar in structure to an article, but typically does not have a title or distinct paragraphs and tends to be much shorter in length.- See Also:
- Constant Field Values
-
OFFER
static final java.lang.String OFFER
Represents an offer of any kind.- See Also:
- Constant Field Values
-
ORGANIZATION
static final java.lang.String ORGANIZATION
Represents an organization of any kind.- See Also:
- Constant Field Values
-
PAGE
static final java.lang.String PAGE
Represents an area, typically a web page, that is representative of, and generally managed by a particular entity. Such areas are usually dedicated to displaying descriptive information about the entity and showcasing recent content such as articles, photographs and videos. Most social networking applications, for example, provide individual users with their own dedicated "profile" pages. Several allow similar types of pages to be created for commercial entities, organizations or events. While the specific details of how pages are implemented, their characteristics and use may vary, the one unifying property is that they are typically "owned" by a single entity that is represented by the content provided by the page itself.- See Also:
- Constant Field Values
-
PERSON
static final java.lang.String PERSON
Represents an individual person.- See Also:
- Constant Field Values
-
PLACE
static final java.lang.String PLACE
Represents a physical location. Locations can be represented using geographic coordinates, a physical address, a free-form location name, or any combination of these. Objects of this type MAY contain the additional properties specified in Section 3.5.- See Also:
- Constant Field Values
-
PROCESS
static final java.lang.String PROCESS
Represents any form of process. For instance, a long-running task that is started and expected to continue operating for a period of time.- See Also:
- Constant Field Values
-
PRODUCT
static final java.lang.String PRODUCT
Represents a commercial good or service. Objects of this type MAY contain an additional fullImage property whose value is an Activity Streams Media Link to an image resource representative of the product.- See Also:
- Constant Field Values
-
QUESTION
static final java.lang.String QUESTION
Represents a question or a poll. Objects of this type MAY contain an additional options property whose value is an Array of possible answers to the question in the form of Activity Stream objects of any type.- See Also:
- Constant Field Values
-
REVIEW
static final java.lang.String REVIEW
Represents a primarily prose-based commentary on another object. Objects of this type MAY contain a rating property as specified in Section 4.4.- See Also:
- Constant Field Values
-
SERVICE
static final java.lang.String SERVICE
Represents any form of hosted or consumable service that performs some kind of work or benefit for other entities. Examples of such objects include websites, businesses, etc.- See Also:
- Constant Field Values
-
TASK
static final java.lang.String TASK
Represents an activity that has yet to be completed. Objects of this type SHOULD contain additional properties as specified in Section 3.6.- See Also:
- Constant Field Values
-
VIDEO
static final java.lang.String VIDEO
Represents video content of any kind. Objects of this type MAY contain additional properties as specified in Section 3.1.- See Also:
- Constant Field Values
-
-