Package com.enonic.xp.content

## Class ContentVersions

- java.lang.Object
- - com.enonic.xp.content.ContentVersions

- All Implemented Interfaces:
    `Iterable<ContentVersion>`

      @PublicApi
      public class ContentVersions
      extends Object
      implements Iterable<ContentVersion>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `ContentVersions.Builder` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ContentVersions.Builder` | `create()` |
    `ContentId` | `getContentId()` |
    `Iterator<ContentVersion>` | `iterator()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Method Detail

    - #### getContentId

          public ContentId getContentId()

    - #### create

          public static ContentVersions.Builder create()

    - #### iterator

          public Iterator<ContentVersion> iterator()

      Specified by:
        `iterator` in interface `Iterable<ContentVersion>`