Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.gson | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMASnapshot |
ModuleContentTypes.fetchOneSnapshot(CMAContentType contentType,
java.lang.String snapshotId)
Fetch a specific snapshot of this content type.
|
CMASnapshot |
ModuleEntries.fetchOneSnapshot(CMAEntry entry,
java.lang.String snapshotId)
Fetch a specific snapshot of an entry.
|
Modifier and Type | Method and Description |
---|---|
CMAArray<CMASnapshot> |
ModuleContentTypes.fetchAllSnapshots(CMAContentType contentType)
Fetch all snapshots of this content type.
|
CMACallback<CMAArray<CMASnapshot>> |
ModuleContentTypes.Async.fetchAllSnapshots(CMAContentType contentType,
CMACallback<CMAArray<CMASnapshot>> callback)
Fetch all snapshots of this content type.
|
CMAArray<CMASnapshot> |
ModuleEntries.fetchAllSnapshots(CMAEntry entry)
Fetch all snapshots of an entry.
|
CMACallback<CMAArray<CMASnapshot>> |
ModuleEntries.Async.fetchAllSnapshots(CMAEntry entry,
CMACallback<CMAArray<CMASnapshot>> callback)
Fetch all snapshots of an entry.
|
CMACallback<CMASnapshot> |
ModuleContentTypes.Async.fetchOneSnapshot(CMAContentType contentType,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of this content type.
|
CMACallback<CMASnapshot> |
ModuleEntries.Async.fetchOneSnapshot(CMAEntry entry,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of an entry.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAArray<CMASnapshot>> |
ModuleContentTypes.Async.fetchAllSnapshots(CMAContentType contentType,
CMACallback<CMAArray<CMASnapshot>> callback)
Fetch all snapshots of this content type.
|
CMACallback<CMAArray<CMASnapshot>> |
ModuleEntries.Async.fetchAllSnapshots(CMAEntry entry,
CMACallback<CMAArray<CMASnapshot>> callback)
Fetch all snapshots of an entry.
|
CMACallback<CMASnapshot> |
ModuleContentTypes.Async.fetchOneSnapshot(CMAContentType contentType,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of this content type.
|
CMACallback<CMASnapshot> |
ModuleEntries.Async.fetchOneSnapshot(CMAEntry entry,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of an entry.
|
Modifier and Type | Method and Description |
---|---|
CMASnapshot |
SnapshotDeserializer.deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context)
Inspect json payload and generate either a content type snapshot from it or an entry snap shot.
|
Modifier and Type | Method and Description |
---|---|
CMASnapshot |
CMASnapshot.setSnapshot(CMAResource snapshot)
Update the current snapshot.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.