Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAApiKey |
ModuleApiKeys.create(CMAApiKey key)
Create a new delivery api key from the configured space.
|
CMAApiKey |
ModuleApiKeys.create(java.lang.String spaceId,
CMAApiKey key)
Create a new delivery api key.
|
CMAApiKey |
ModuleApiKeys.fetchOne(java.lang.String keyId)
Fetch only one delivery api key from the configured space.
|
CMAApiKey |
ModuleApiKeys.fetchOne(java.lang.String spaceId,
java.lang.String keyId)
Fetch only one delivery api key.
|
CMAApiKey |
ModuleApiKeys.update(CMAApiKey key)
Updates a delivery api key from the configured space.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(java.lang.String spaceId,
CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
CMAArray<CMAApiKey> |
ModuleApiKeys.fetchAll()
Fetch all delivery API keys from the configured space.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(CMACallback<CMAArray<CMAApiKey>> callback)
Fetch all delivery api keys.
|
CMAArray<CMAApiKey> |
ModuleApiKeys.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Query for specific api keys from the configured space.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAApiKey>> callback)
Query for specific api keys.
|
CMAArray<CMAApiKey> |
ModuleApiKeys.fetchAll(java.lang.String spaceId)
Fetch all delivery api keys from the given space.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMAApiKey>> callback)
Fetch all delivery api keys.
|
CMAArray<CMAApiKey> |
ModuleApiKeys.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query)
Query for specific api keys, overriding the configuration set.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAApiKey>> callback)
Query for specific api keys.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.fetchOne(java.lang.String keyId,
CMACallback<CMAApiKey> callback)
Fetch only one delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.fetchOne(java.lang.String spaceId,
java.lang.String keyId,
CMACallback<CMAApiKey> callback)
Fetch only one delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.update(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Update an existing delivery api key.
|
Modifier and Type | Method and Description |
---|---|
CMAApiKey |
ModuleApiKeys.create(CMAApiKey key)
Create a new delivery api key from the configured space.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
CMAApiKey |
ModuleApiKeys.create(java.lang.String spaceId,
CMAApiKey key)
Create a new delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(java.lang.String spaceId,
CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
int |
ModuleApiKeys.delete(CMAApiKey key)
Delete a given api key from the configured space.
|
CMACallback<java.lang.Integer> |
ModuleApiKeys.Async.delete(CMAApiKey key,
CMACallback<java.lang.Integer> callback)
Delete a given delivery api key.
|
CMAApiKey |
ModuleApiKeys.update(CMAApiKey key)
Updates a delivery api key from the configured space.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.update(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Update an existing delivery api key.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.create(java.lang.String spaceId,
CMAApiKey key,
CMACallback<CMAApiKey> callback)
Create a new delivery api key.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(CMACallback<CMAArray<CMAApiKey>> callback)
Fetch all delivery api keys.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAApiKey>> callback)
Query for specific api keys.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMAApiKey>> callback)
Fetch all delivery api keys.
|
CMACallback<CMAArray<CMAApiKey>> |
ModuleApiKeys.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAApiKey>> callback)
Query for specific api keys.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.fetchOne(java.lang.String keyId,
CMACallback<CMAApiKey> callback)
Fetch only one delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.fetchOne(java.lang.String spaceId,
java.lang.String keyId,
CMACallback<CMAApiKey> callback)
Fetch only one delivery api key.
|
CMACallback<CMAApiKey> |
ModuleApiKeys.Async.update(CMAApiKey key,
CMACallback<CMAApiKey> callback)
Update an existing delivery api key.
|
Modifier and Type | Method and Description |
---|---|
CMAApiKey |
CMAApiKey.addEnvironment(java.lang.String environment)
Add environment ids to the api key.
|
CMAApiKey |
CMAApiKey.setAccessToken(java.lang.String accessToken) |
CMAApiKey |
CMAApiKey.setDescription(java.lang.String description)
Update the description of this key.
|
CMAApiKey |
CMAApiKey.setName(java.lang.String name)
Update the name of the key.
|
CMAApiKey |
CMAApiKey.setPreviewApiKey(CMALink previewApiKey) |
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.