| Package | Description |
|---|---|
| com.contentful.java.cma | |
| com.contentful.java.cma.model |
| Modifier and Type | Method and Description |
|---|---|
CMATag |
ModuleTags.create(String environmentId,
String spaceId,
String tagId,
String name,
CMAVisibility visibility)
Create an tag using the given tag id.
|
CMATag |
ModuleTags.fetchOne(String tagId)
Fetch a tag with a given
environmentId from the configured space. |
CMATag |
ModuleTags.fetchOne(String spaceId,
String environmentId,
String tagId)
Fetch a tag with a given
environmentId and space. |
CMATag |
ModuleTags.update(String name,
String tagId)
Update a tag.
|
| Modifier and Type | Method and Description |
|---|---|
CMACallback<CMATag> |
ModuleTags.Async.create(String spaceId,
String environmentId,
String tagId,
String name,
CMAVisibility visibility,
CMACallback<CMATag> callback)
Create an tag in the configured space.
|
CMAArray<CMATag> |
ModuleTags.fetchAll()
Fetch all tags of the configured space.
|
CMACallback<CMAArray<CMATag>> |
ModuleTags.Async.fetchAll(CMACallback<CMAArray<CMATag>> callback)
Fetch all tags
|
CMAArray<CMATag> |
ModuleTags.fetchAll(String spaceId,
String environmentId,
Map<String,String> query)
Fetch all tag of the given space with query
|
CMACallback<CMAArray<CMATag>> |
ModuleTags.Async.fetchAll(String spaceId,
String environmentId,
Map<String,String> query,
CMACallback<CMAArray<CMATag>> callback)
Fetch all tags of the given space.
|
CMACallback<CMATag> |
ModuleTags.Async.fetchOne(String tagId,
CMACallback<CMATag> callback)
Fetch an tag with a given tagId and the configured space.
|
CMACallback<CMATag> |
ModuleTags.Async.fetchOne(String spaceId,
String environmentId,
String tagId,
CMACallback<CMATag> callback)
Fetch an tag with a given
tagId from the space and environment given. |
CMACallback<CMATag> |
ModuleTags.Async.update(String name,
String tagId,
CMACallback<CMATag> callback)
Update a tag.
|
| Modifier and Type | Method and Description |
|---|---|
CMACallback<CMATag> |
ModuleTags.Async.create(String spaceId,
String environmentId,
String tagId,
String name,
CMAVisibility visibility,
CMACallback<CMATag> callback)
Create an tag in the configured space.
|
CMACallback<CMAArray<CMATag>> |
ModuleTags.Async.fetchAll(CMACallback<CMAArray<CMATag>> callback)
Fetch all tags
|
CMACallback<CMAArray<CMATag>> |
ModuleTags.Async.fetchAll(String spaceId,
String environmentId,
Map<String,String> query,
CMACallback<CMAArray<CMATag>> callback)
Fetch all tags of the given space.
|
CMACallback<CMATag> |
ModuleTags.Async.fetchOne(String tagId,
CMACallback<CMATag> callback)
Fetch an tag with a given tagId and the configured space.
|
CMACallback<CMATag> |
ModuleTags.Async.fetchOne(String spaceId,
String environmentId,
String tagId,
CMACallback<CMATag> callback)
Fetch an tag with a given
tagId from the space and environment given. |
CMACallback<CMATag> |
ModuleTags.Async.update(String name,
String tagId,
CMACallback<CMATag> callback)
Update a tag.
|
| Modifier and Type | Method and Description |
|---|---|
CMATag |
CMATag.setId(String id)
Sets the id of this tag.
|
CMATag |
CMATag.setName(String name)
Sets the name for this tag.
|
CMATag |
CMATag.setSystem(CMASystem system)
Sets the system field.
|
| Modifier and Type | Method and Description |
|---|---|
List<CMATag> |
CMAMetadata.getTags()
Gets the list of tags associated with this resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CMAMetadata.setTags(List<CMATag> tags)
Sets the list of tags for this resource.
|
Copyright © 2026 Contentful, GmbH.. All rights reserved.