Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAContentType |
ModuleContentTypes.create(CMAContentType contentType)
Create a new Content Type in the configured space and environment.
|
CMAContentType |
ModuleContentTypes.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAContentType contentType)
Create a new Content Type in an Environment.
|
CMAContentType |
ModuleContentTypes.fetchOne(java.lang.String contentTypeId)
Fetch a Content Type with the given
contentTypeId from the configured environment and
space. |
CMAContentType |
ModuleContentTypes.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId)
Fetch a Content Type with the given
contentTypeId from a given space environment
combination. |
CMAContentType |
ModuleContentTypes.publish(CMAContentType contentType)
Publish a Content Type.
|
CMAContentType |
ModuleContentTypes.unPublish(CMAContentType contentType)
Un-Publish a Content Type.
|
CMAContentType |
ModuleContentTypes.update(CMAContentType contentType)
Update a Content Type.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type using the configured space and environment.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type in the given environment.
|
CMAArray<CMAContentType> |
ModuleContentTypes.fetchAll()
Fetch all Content Types from the configured space and environment, using default query
parameter.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the configured space and environment.
|
CMAArray<CMAContentType> |
ModuleContentTypes.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Fetch all Content Types from the configured space and environment, using default query
parameter.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the configured space and environment with a query.
|
CMAArray<CMAContentType> |
ModuleContentTypes.fetchAll(java.lang.String spaceId,
java.lang.String environmentId)
Fetch all Content Types from an Environment, using default query parameter.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the given space and environment.
|
CMAArray<CMAContentType> |
ModuleContentTypes.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query)
Fetch all Content Types from a Space with query parameters.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the given space and environment using a query.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.fetchOne(java.lang.String contentTypeId,
CMACallback<CMAContentType> callback)
Fetch a Content Type with the given
contentTypeId from the configured space and
environment. |
CMACallback<CMAContentType> |
ModuleContentTypes.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMACallback<CMAContentType> callback)
Fetch a Content Type with the given
contentTypeId from the given space. |
CMACallback<CMAContentType> |
ModuleContentTypes.Async.publish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.unPublish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Un-Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.update(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Update a Content Type.
|
Modifier and Type | Method and Description |
---|---|
CMAContentType |
ModuleContentTypes.create(CMAContentType contentType)
Create a new Content Type in the configured space and environment.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type using the configured space and environment.
|
CMAContentType |
ModuleContentTypes.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAContentType contentType)
Create a new Content Type in an Environment.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type in the given environment.
|
java.lang.Integer |
ModuleContentTypes.delete(CMAContentType contentType)
Delete a Content Type.
|
CMACallback<java.lang.Integer> |
ModuleContentTypes.Async.delete(CMAContentType contentType,
CMACallback<java.lang.Integer> callback)
Delete a Content Type.
|
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.
|
CMASnapshot |
ModuleContentTypes.fetchOneSnapshot(CMAContentType contentType,
java.lang.String snapshotId)
Fetch a specific snapshot of this content type.
|
CMACallback<CMASnapshot> |
ModuleContentTypes.Async.fetchOneSnapshot(CMAContentType contentType,
java.lang.String snapshotId,
CMACallback<CMASnapshot> callback)
Fetch a specific snapshot of this content type.
|
CMAContentType |
ModuleContentTypes.publish(CMAContentType contentType)
Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.publish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Publish a Content Type.
|
CMAContentType |
ModuleContentTypes.unPublish(CMAContentType contentType)
Un-Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.unPublish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Un-Publish a Content Type.
|
CMAContentType |
ModuleContentTypes.update(CMAContentType contentType)
Update a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.update(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Update a Content Type.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type using the configured space and environment.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAContentType contentType,
CMACallback<CMAContentType> callback)
Create a new Content Type in the given environment.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the configured space and environment.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the configured space and environment with a query.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the given space and environment.
|
CMACallback<CMAArray<CMAContentType>> |
ModuleContentTypes.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAContentType>> callback)
Fetch all Content Types from the given space and environment using a query.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.fetchOne(java.lang.String contentTypeId,
CMACallback<CMAContentType> callback)
Fetch a Content Type with the given
contentTypeId from the configured space and
environment. |
CMACallback<CMAContentType> |
ModuleContentTypes.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String contentTypeId,
CMACallback<CMAContentType> callback)
Fetch a Content Type with the given
contentTypeId from the given space. |
CMACallback<CMAContentType> |
ModuleContentTypes.Async.publish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.unPublish(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Un-Publish a Content Type.
|
CMACallback<CMAContentType> |
ModuleContentTypes.Async.update(CMAContentType contentType,
CMACallback<CMAContentType> callback)
Update a Content Type.
|
Modifier and Type | Method and Description |
---|---|
CMAContentType |
CMAContentType.addField(CMAField field)
Adds a new field.
|
CMAContentType |
CMAContentType.setDescription(java.lang.String description)
Sets the description field for this Content Type.
|
CMAContentType |
CMAContentType.setDisplayField(java.lang.String displayField)
Sets the display field for this Content Type.
|
CMAContentType |
CMAContentType.setEnvironmentId(java.lang.String environmentId)
Convenience method for setting an environment id.
|
CMAContentType |
CMAContentType.setFields(java.util.List<CMAField> fields)
Sets a list of fields for this Content Type.
|
CMAContentType |
CMAContentType.setId(java.lang.String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem() . |
CMAContentType |
CMAContentType.setName(java.lang.String name)
Sets the name for this Content Type.
|
CMAContentType |
CMAContentType.setSpaceId(java.lang.String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem() . |
CMAContentType |
CMAContentType.setSystem(CMASystem system)
Sets the system field.
|
CMAContentType |
CMAContentType.setVersion(java.lang.Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem() . |
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.