Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMAAsset |
ModuleAssets.archive(CMAAsset asset)
Archive an Asset.
|
CMAAsset |
ModuleAssets.create(CMAAsset asset)
Create a new Asset in the configured space and environment.
|
CMAAsset |
ModuleAssets.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAAsset asset)
Create a new Asset.
|
CMAAsset |
ModuleAssets.fetchOne(java.lang.String assetId)
Fetch an Asset with the given
assetId from the configured space and environment. |
CMAAsset |
ModuleAssets.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String assetId)
Fetch an Asset with the given
assetId from the given space and environment. |
CMAAsset |
ModuleAssets.publish(CMAAsset asset)
Publish an Asset.
|
CMAAsset |
ModuleAssets.unArchive(CMAAsset asset)
Un-Archive an Asset.
|
CMAAsset |
ModuleAssets.unPublish(CMAAsset asset)
Un-Publish an Asset.
|
CMAAsset |
ModuleAssets.update(CMAAsset asset)
Update an Asset.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAAsset> |
ModuleAssets.Async.archive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the configured space and environment.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the given space and environment.
|
CMAArray<CMAAsset> |
ModuleAssets.fetchAll()
Fetch all Assets using configured space id and environment id.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from the configured space and environmentS.
|
CMAArray<CMAAsset> |
ModuleAssets.fetchAll(java.util.Map<java.lang.String,java.lang.String> map)
Fetch all Assets matching a query using configured space id and environment id.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets.
|
CMAArray<CMAAsset> |
ModuleAssets.fetchAll(java.lang.String spaceId,
java.lang.String environmentId)
Fetch all Assets from the given space and environment.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from a Space's Environment.
|
CMAArray<CMAAsset> |
ModuleAssets.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query)
Fetch all Assets matching the given query from the given space and environment.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from a Space's Environment with a query.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.fetchOne(java.lang.String assetId,
CMACallback<CMAAsset> callback)
Fetch an Asset with the given
assetId from the configured space. |
CMACallback<CMAAsset> |
ModuleAssets.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String assetId,
CMACallback<CMAAsset> callback)
Fetch an Asset with the given
assetId from a the given space and environment. |
CMACallback<CMAAsset> |
ModuleAssets.Async.publish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unArchive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unPublish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.update(CMAAsset asset,
CMACallback<CMAAsset> callback)
Update an Asset.
|
Modifier and Type | Method and Description |
---|---|
CMAAsset |
ModuleAssets.archive(CMAAsset asset)
Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.archive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Archive an Asset.
|
CMAAsset |
ModuleAssets.create(CMAAsset asset)
Create a new Asset in the configured space and environment.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the configured space and environment.
|
CMAAsset |
ModuleAssets.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAAsset asset)
Create a new Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the given space and environment.
|
java.lang.Integer |
ModuleAssets.delete(CMAAsset asset)
Delete an Asset.
|
CMACallback<java.lang.Integer> |
ModuleAssets.Async.delete(CMAAsset asset,
CMACallback<java.lang.Integer> callback)
Delete an Asset.
|
java.lang.Integer |
ModuleAssets.process(CMAAsset asset,
java.lang.String locale)
Process an Asset.
|
CMACallback<java.lang.Integer> |
ModuleAssets.Async.process(CMAAsset asset,
java.lang.String locale,
CMACallback<java.lang.Integer> callback)
Process an Asset.
|
CMAAsset |
ModuleAssets.publish(CMAAsset asset)
Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.publish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Publish an Asset.
|
CMAAsset |
ModuleAssets.unArchive(CMAAsset asset)
Un-Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unArchive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Archive an Asset.
|
CMAAsset |
ModuleAssets.unPublish(CMAAsset asset)
Un-Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unPublish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Publish an Asset.
|
CMAAsset |
ModuleAssets.update(CMAAsset asset)
Update an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.update(CMAAsset asset,
CMACallback<CMAAsset> callback)
Update an Asset.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMAAsset> |
ModuleAssets.Async.archive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the configured space and environment.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.create(java.lang.String spaceId,
java.lang.String environmentId,
CMAAsset asset,
CMACallback<CMAAsset> callback)
Create a new Asset in the given space and environment.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from the configured space and environmentS.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from a Space's Environment.
|
CMACallback<CMAArray<CMAAsset>> |
ModuleAssets.Async.fetchAll(java.lang.String spaceId,
java.lang.String environmentId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMAAsset>> callback)
Fetch all Assets from a Space's Environment with a query.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.fetchOne(java.lang.String assetId,
CMACallback<CMAAsset> callback)
Fetch an Asset with the given
assetId from the configured space. |
CMACallback<CMAAsset> |
ModuleAssets.Async.fetchOne(java.lang.String spaceId,
java.lang.String environmentId,
java.lang.String assetId,
CMACallback<CMAAsset> callback)
Fetch an Asset with the given
assetId from a the given space and environment. |
CMACallback<CMAAsset> |
ModuleAssets.Async.publish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unArchive(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Archive an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.unPublish(CMAAsset asset,
CMACallback<CMAAsset> callback)
Un-Publish an Asset.
|
CMACallback<CMAAsset> |
ModuleAssets.Async.update(CMAAsset asset,
CMACallback<CMAAsset> callback)
Update an Asset.
|
Modifier and Type | Method and Description |
---|---|
CMAAsset |
CMAAsset.setEnvironmentId(java.lang.String environmentId)
Convenience method for setting an environment id.
|
CMAAsset |
CMAAsset.setFields(CMAAsset.Fields fields)
Sets new fields for this Asset.
|
CMAAsset |
CMAAsset.setId(java.lang.String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem() . |
CMAAsset |
CMAAsset.setSpaceId(java.lang.String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem() . |
CMAAsset |
CMAAsset.setSystem(CMASystem system)
Sets the system field.
|
CMAAsset |
CMAAsset.setVersion(java.lang.Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem() . |
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.