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 final String
    Represents any kind of significant notification.
    static final String
    Represents any kind of software application.
    static final String
    Represents objects such as news articles, knowledge base entries, or other similar construct.
    static final String
    Represents audio content of any kind.
    static final String
    Represents a badge or award granted to an object (typically a person object)
    static final String
    Objects of this type are used to carry arbitrary Base64-encoded binary data within an Activity Stream object.
    static final String
    Represents a pointer to some URL -- typically a web page.
    static final String
    Represents a generic collection of objects of any type.
    static final String
    Represents a textual response to another object.
    static final String
    Represents a device of any sort.
    static final String
    Represents an event that occurs at a certain location during a particular period of time.
    static final String
    Represents any form of document or file.
    static final String
    Represents a game or competition of any kind.
    static final String
    Represents a grouping of objects in which member objects can join or leave.
    static final String
    Represents a graphical image.
    static final String
    Represents a report about a problem or situation that needs to be resolved.
    static final String
    Represents information about a job or a job posting.
    static final String
    Represents a short-form text message.
    static final String
    Represents an offer of any kind.
    static final String
    Represents an organization of any kind.
    static final String
    Represents an area, typically a web page, that is representative of, and generally managed by a particular entity.
    static final String
    Represents an individual person.
    static final String
    Represents a physical location.
    static final String
    Represents any form of process.
    static final String
    Represents a commercial good or service.
    static final String
    Represents a question or a poll.
    static final String
    Represents a primarily prose-based commentary on another object.
    static final String
    Represents any form of hosted or consumable service that performs some kind of work or benefit for other entities.
    static final String
    Represents an activity that has yet to be completed.
    static final String
    Represents video content of any kind.
  • Field Details

    • ALERT

      static final String ALERT
      Represents any kind of significant notification.
      See Also:
    • APPLICATION

      static final String APPLICATION
      Represents any kind of software application.
      See Also:
    • ARTICLE

      static final 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:
    • AUDIO

      static final 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:
    • BADGE

      static final String BADGE
      Represents a badge or award granted to an object (typically a person object)
      See Also:
    • BINARY

      static final 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:
    • BOOKMARK

      static final 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:
    • COLLECTION

      static final 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:
    • COMMENT

      static final 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:
    • DEVICE

      static final String DEVICE
      Represents a device of any sort.
      See Also:
    • EVENT

      static final 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:
    • FILE

      static final 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:
    • GAME

      static final String GAME
      Represents a game or competition of any kind.
      See Also:
    • GROUP

      static final String GROUP
      Represents a grouping of objects in which member objects can join or leave.
      See Also:
    • IMAGE

      static final 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:
    • ISSUE

      static final 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:
    • JOB

      static final String JOB
      Represents information about a job or a job posting.
      See Also:
    • NOTE

      static final 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:
    • OFFER

      static final String OFFER
      Represents an offer of any kind.
      See Also:
    • ORGANIZATION

      static final String ORGANIZATION
      Represents an organization of any kind.
      See Also:
    • PAGE

      static final 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:
    • PERSON

      static final String PERSON
      Represents an individual person.
      See Also:
    • PLACE

      static final 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:
    • PROCESS

      static final 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:
    • PRODUCT

      static final 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:
    • QUESTION

      static final 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:
    • REVIEW

      static final 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:
    • SERVICE

      static final 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:
    • TASK

      static final 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:
    • VIDEO

      static final String VIDEO
      Represents video content of any kind. Objects of this type MAY contain additional properties as specified in Section 3.1.
      See Also: