Class/Object

com.gu.flexiblecontent.model.thrift.ContentChangeDetails

Immutable

Related Docs: object Immutable | package ContentChangeDetails

Permalink

class Immutable extends ContentChangeDetails

The default read-only implementation of ContentChangeDetails. You typically should not need to directly reference this class; instead, use the ContentChangeDetails.apply method to construct new instances.

Linear Supertypes
ContentChangeDetails, Serializable, ValidatingThriftStruct[ContentChangeDetails], HasThriftStructCodec3[ContentChangeDetails], Product6[Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[Long], Option[String]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ContentChangeDetails
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product6
  7. Product
  8. Equals
  9. ThriftStruct
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(lastModified: Option[ChangeRecord] = _root_.scala.None, created: Option[ChangeRecord] = _root_.scala.None, published: Option[ChangeRecord] = _root_.scala.None, lastMajorRevisionPublished: Option[ChangeRecord] = _root_.scala.None, revision: Option[Long] = _root_.scala.None, contentSource: Option[String] = _root_.scala.None)

    Permalink
  2. new Immutable(lastModified: Option[ChangeRecord], created: Option[ChangeRecord], published: Option[ChangeRecord], lastMajorRevisionPublished: Option[ChangeRecord], revision: Option[Long], contentSource: Option[String], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: Option[ChangeRecord]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  5. def _2: Option[ChangeRecord]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  6. def _3: Option[ChangeRecord]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  7. def _4: Option[ChangeRecord]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  8. def _5: Option[Long]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  9. def _6: Option[String]

    Permalink
    Definition Classes
    ContentChangeDetails → Product6
  10. def _codec: ValidatingThriftStructCodec3[ContentChangeDetails]

    Permalink
    Definition Classes
    ContentChangeDetails → ValidatingThriftStruct → HasThriftStructCodec3
  11. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableContentChangeDetails
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    ContentChangeDetails → Equals
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. val contentSource: Option[String]

    Permalink

    source that the content originated from e.g flexible

    source that the content originated from e.g flexible

    Definition Classes
    ImmutableContentChangeDetails
  16. def copy(lastModified: Option[ChangeRecord] = this.lastModified, created: Option[ChangeRecord] = this.created, published: Option[ChangeRecord] = this.published, lastMajorRevisionPublished: Option[ChangeRecord] = this.lastMajorRevisionPublished, revision: Option[Long] = this.revision, contentSource: Option[String] = this.contentSource, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  17. val created: Option[ChangeRecord]

    Permalink

    the content creation event

    the content creation event

    Definition Classes
    ImmutableContentChangeDetails
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    ContentChangeDetails → Equals → AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    ContentChangeDetails
  23. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    ContentChangeDetails
  24. def hashCode(): Int

    Permalink
    Definition Classes
    ContentChangeDetails → AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val lastMajorRevisionPublished: Option[ChangeRecord]

    Permalink

    the last major revision to the content, this will update web publication dates and cause content to move to the top of chronological lists.

    the last major revision to the content, this will update web publication dates and cause content to move to the top of chronological lists. This gets updated when significant changes are made to content, liveblog blocks are launched or when we need to give a little seo bump.

    Definition Classes
    ImmutableContentChangeDetails
  27. val lastModified: Option[ChangeRecord]

    Permalink

    the latest change to the content

    the latest change to the content

    Definition Classes
    ImmutableContentChangeDetails
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def productArity: Int

    Permalink
    Definition Classes
    ContentChangeDetails → Product6 → Product
  32. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ContentChangeDetails → Product6 → Product
  33. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  34. def productPrefix: String

    Permalink
    Definition Classes
    ContentChangeDetails → Product
  35. val published: Option[ChangeRecord]

    Permalink

    the content publication event

    the content publication event

    Definition Classes
    ImmutableContentChangeDetails
  36. val revision: Option[Long]

    Permalink

    the revision number of the content.

    the revision number of the content.

    This value is incremented whenever content is written to the database and can be used to ensure message ordering.

    Definition Classes
    ImmutableContentChangeDetails
  37. def setField(_blob: TFieldBlob): ContentChangeDetails

    Permalink

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    ContentChangeDetails
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toString(): String

    Permalink
    Definition Classes
    ContentChangeDetails → AnyRef → Any
  40. def toTuple: (Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[Long], Option[String])

    Permalink
    Definition Classes
    ContentChangeDetails
  41. def unsetContentSource: ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  42. def unsetCreated: ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  43. def unsetField(_fieldId: Short): ContentChangeDetails

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    ContentChangeDetails
  44. def unsetLastMajorRevisionPublished: ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  45. def unsetLastModified: ContentChangeDetails

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    ContentChangeDetails
  46. def unsetPublished: ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  47. def unsetRevision: ContentChangeDetails

    Permalink
    Definition Classes
    ContentChangeDetails
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ContentChangeDetails → ThriftStruct

Inherited from ContentChangeDetails

Inherited from Serializable

Inherited from ValidatingThriftStruct[ContentChangeDetails]

Inherited from HasThriftStructCodec3[ContentChangeDetails]

Inherited from Product6[Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[ChangeRecord], Option[Long], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped