Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.gson | |
com.contentful.java.cma.model | |
com.contentful.java.cma.model.rich |
Modifier and Type | Method and Description |
---|---|
CMAEntry |
ModuleEntries.archive(CMAEntry entry)
Archive an Entry.
|
CMAEntry |
ModuleEntries.create(java.lang.String contentTypeId,
CMAEntry entry)
Create a new Entry in the configured space and environment.
|
CMAEntry |
ModuleEntries.create(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMAEntry entry)
Create a new Entry.
|
CMAEntry |
ModuleEntries.fetchOne(java.lang.String entryId)
Fetch an entry with the given
entryId from the configured space and environment. |
CMAEntry |
ModuleEntries.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String entryId)
Fetch an entry with the given entryId from the given environment and space.
|
CMAEntry |
ModuleEntries.publish(CMAEntry entry)
Publish an Entry.
|
CMAEntry |
ModuleEntries.unArchive(CMAEntry entry)
Un-Archive an Entry.
|
CMAEntry |
ModuleEntries.unPublish(CMAEntry entry)
Un-Publish an Entry.
|
CMAEntry |
ModuleEntries.update(CMAEntry entry)
Update an Entry.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAEntry> |
ModuleEntries.Async.archive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new Entry on the configured space and environment.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new entry in the given space and environment.
|
CMAArray<CMAEntry> |
ModuleEntries.fetchAll()
Fetch all Entries from the configured space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(CMACallback<CMAArray<CMAEntry>> callback)
Fetch all Entries from the configured space and environment.
|
CMAArray<CMAEntry> |
ModuleEntries.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Fetch all entries matching the query from the configured space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all entries in the space and environment matching the given query.
|
CMAArray<CMAEntry> |
ModuleEntries.fetchAll(java.lang.String spaceId,
java.lang.String environmentId)
Fetch all entries from the given space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all entries from the given space and environment.
|
CMAArray<CMAEntry> |
ModuleEntries.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query)
Fetch all entries from the given space and environment matching the query.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all Entries from a Space with a query.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.fetchOne(java.lang.String entryId,
CMACallback<CMAEntry> callback)
Fetch an Entry with the given
entryId from the configured space and environment. |
CMACallback<CMAEntry> |
ModuleEntries.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String entryId,
CMACallback<CMAEntry> callback)
Fetch an Entry with the given
entryId from a Space.entry |
CMACallback<CMAEntry> |
ModuleEntries.Async.publish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unArchive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unPublish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.update(CMAEntry entry,
CMACallback<CMAEntry> callback)
Update an Entry.
|
Modifier and Type | Method and Description |
---|---|
CMAEntry |
ModuleEntries.archive(CMAEntry entry)
Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.archive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Archive an Entry.
|
CMAEntry |
ModuleEntries.create(java.lang.String contentTypeId,
CMAEntry entry)
Create a new Entry in the configured space and environment.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new Entry on the configured space and environment.
|
CMAEntry |
ModuleEntries.create(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMAEntry entry)
Create a new Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new entry in the given space and environment.
|
java.lang.Integer |
ModuleEntries.delete(CMAEntry entry)
Delete an Entry.
|
CMACallback<java.lang.Integer> |
ModuleEntries.Async.delete(CMAEntry entry,
CMACallback<java.lang.Integer> callback)
Delete an Entry.
|
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.
|
CMASnapshot |
ModuleEntries.fetchOneSnapshot(CMAEntry entry,
java.lang.String snapshotId)
Fetch a specific snapshot of an entry.
|
CMACallback<CMASnapshot> |
ModuleEntries.Async.fetchOneSnapshot(CMAEntry entry,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of an entry.
|
CMAEntry |
ModuleEntries.publish(CMAEntry entry)
Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.publish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Publish an Entry.
|
CMAEntry |
ModuleEntries.unArchive(CMAEntry entry)
Un-Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unArchive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Archive an Entry.
|
CMAEntry |
ModuleEntries.unPublish(CMAEntry entry)
Un-Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unPublish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Publish an Entry.
|
CMAEntry |
ModuleEntries.update(CMAEntry entry)
Update an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.update(CMAEntry entry,
CMACallback<CMAEntry> callback)
Update an Entry.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAEntry> |
ModuleEntries.Async.archive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new Entry on the configured space and environment.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMAEntry entry,
CMACallback<CMAEntry> callback)
Create a new entry in the given space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(CMACallback<CMAArray<CMAEntry>> callback)
Fetch all Entries from the configured space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all entries in the space and environment matching the given query.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all entries from the given space and environment.
|
CMACallback<CMAArray<CMAEntry>> |
ModuleEntries.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAEntry>> callback)
Fetch all Entries from a Space with a query.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.fetchOne(java.lang.String entryId,
CMACallback<CMAEntry> callback)
Fetch an Entry with the given
entryId from the configured space and environment. |
CMACallback<CMAEntry> |
ModuleEntries.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String entryId,
CMACallback<CMAEntry> callback)
Fetch an Entry with the given
entryId from a Space.entry |
CMACallback<CMAEntry> |
ModuleEntries.Async.publish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unArchive(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Archive an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.unPublish(CMAEntry entry,
CMACallback<CMAEntry> callback)
Un-Publish an Entry.
|
CMACallback<CMAEntry> |
ModuleEntries.Async.update(CMAEntry entry,
CMACallback<CMAEntry> callback)
Update an Entry.
|
Modifier and Type | Method and Description |
---|---|
CMAEntry |
EntrySerializer.deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
EntrySerializer.serialize(CMAEntry src,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext context)
Make sure all fields are mapped in the locale - value way.
|
Modifier and Type | Method and Description |
---|---|
CMAEntry |
CMAEntry.setEnvironmentId(java.lang.String environmentId)
Convenience: Update the environment id, without going through
CMAResource.getSystem() . |
CMAEntry |
CMAEntry.setField(java.lang.String key,
java.lang.String locale,
java.lang.Object value)
Creates a new field with the given
value . |
CMAEntry |
CMAEntry.setFields(java.util.LinkedHashMap<java.lang.String,java.util.LinkedHashMap<java.lang.String,java.lang.Object>> fields)
Sets a map of fields for this Entry.
|
CMAEntry |
CMAEntry.setId(java.lang.String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem() . |
CMAEntry |
CMAEntry.setSpaceId(java.lang.String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem() . |
CMAEntry |
CMAEntry.setSystem(CMASystem system)
Sets the system field.
|
CMAEntry |
CMAEntry.setVersion(java.lang.Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem() . |
Modifier and Type | Method and Description |
---|---|
static void |
RichTextFactory.resolveRichTextField(CMAEntry entry) |
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.