Trait/Object

com.gu.tagmanagement

Section

Related Docs: object Section | package tagmanagement

Permalink

trait Section extends ThriftStruct with Product10[Long, Long, String, String, Long, String, Map[String, EditionalisedPage], Boolean, Option[String], Option[Seq[Sponsorship]]] with ValidatingThriftStruct[Section] with Serializable

Prefer the companion object's com.gu.tagmanagement.Section.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[Section], HasThriftStructCodec3[Section], Product10[Long, Long, String, String, Long, String, Map[String, EditionalisedPage], Boolean, Option[String], Option[Seq[Sponsorship]]], Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Section
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product10
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def activeSponsorships: Option[Seq[Sponsorship]]

    Permalink

    The currently active sponsorships for this section

  2. abstract def discriminator: Option[String]

    Permalink

    Section page discriminator

  3. abstract def editions: Map[String, EditionalisedPage]

    Permalink

    A map of editionalised versions of the section front keyed off the edition, normally empty

  4. abstract def id: Long

    Permalink

    the id of the section

  5. abstract def isMicrosite: Boolean

    Permalink

    Is this section a microsite section?

  6. abstract def name: String

    Permalink

    the display name for the section

  7. abstract def pageId: Long

    Permalink

    the pathmanager assigned id for the front

  8. abstract def path: String

    Permalink

    the path of the section front, also used as the id in CAPI

  9. abstract def sectionTagId: Long

    Permalink

    the id of the primary tag for this section

  10. abstract def wordsForUrl: String

    Permalink

    the url slug associated with the section, used to generate urls of tags and content in the section

Concrete 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: Long

    Permalink
    Definition Classes
    Section → Product10
  5. def _10: Option[Seq[Sponsorship]]

    Permalink
    Definition Classes
    Section → Product10
  6. def _2: Long

    Permalink
    Definition Classes
    Section → Product10
  7. def _3: String

    Permalink
    Definition Classes
    Section → Product10
  8. def _4: String

    Permalink
    Definition Classes
    Section → Product10
  9. def _5: Long

    Permalink
    Definition Classes
    Section → Product10
  10. def _6: String

    Permalink
    Definition Classes
    Section → Product10
  11. def _7: Map[String, EditionalisedPage]

    Permalink
    Definition Classes
    Section → Product10
  12. def _8: Boolean

    Permalink
    Definition Classes
    Section → Product10
  13. def _9: Option[String]

    Permalink
    Definition Classes
    Section → Product10
  14. def _codec: ValidatingThriftStructCodec3[Section]

    Permalink
    Definition Classes
    Section → ValidatingThriftStruct → HasThriftStructCodec3
  15. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  16. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    Section → Equals
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def copy(id: Long = this.id, sectionTagId: Long = this.sectionTagId, name: String = this.name, path: String = this.path, pageId: Long = this.pageId, wordsForUrl: String = this.wordsForUrl, editions: Map[String, EditionalisedPage] = this.editions, isMicrosite: Boolean = this.isMicrosite, discriminator: Option[String] = this.discriminator, activeSponsorships: Option[Seq[Sponsorship]] = this.activeSponsorships, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Section

    Permalink
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Section → Equals → AnyRef → Any
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. 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.

  25. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

  26. def hashCode(): Int

    Permalink
    Definition Classes
    Section → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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
    Section → Product10 → Product
  32. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Section → Product10 → Product
  33. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  34. def productPrefix: String

    Permalink
    Definition Classes
    Section → Product
  35. def setField(_blob: TFieldBlob): Section

    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.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Section → AnyRef → Any
  38. def toTuple: (Long, Long, String, String, Long, String, Map[String, EditionalisedPage], Boolean, Option[String], Option[Seq[Sponsorship]])

    Permalink
  39. def unsetActiveSponsorships: Section

    Permalink
  40. def unsetDiscriminator: Section

    Permalink
  41. def unsetEditions: Section

    Permalink
  42. def unsetField(_fieldId: Short): Section

    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.

  43. def unsetId: Section

    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.

  44. def unsetIsMicrosite: Section

    Permalink
  45. def unsetName: Section

    Permalink
  46. def unsetPageId: Section

    Permalink
  47. def unsetPath: Section

    Permalink
  48. def unsetSectionTagId: Section

    Permalink
  49. def unsetWordsForUrl: Section

    Permalink
  50. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Section → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Section]

Inherited from HasThriftStructCodec3[Section]

Inherited from Product10[Long, Long, String, String, Long, String, Map[String, EditionalisedPage], Boolean, Option[String], Option[Seq[Sponsorship]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped