| Package | Description |
|---|---|
| com.contentful.java.cma | |
| com.contentful.java.cma.model |
| Modifier and Type | Method and Description |
|---|---|
CMAArray<CMALocale> |
ModuleSpaces.fetchLocales(String spaceId)
Fetch Locales for a Space.
|
CMACallback<CMAArray<CMALocale>> |
ModuleSpaces.Async.fetchLocales(String spaceId,
CMACallback<CMAArray<CMALocale>> callback)
Fetch Locales for a Space.
|
CMAArray<CMALocale> |
ModuleSpaces.fetchLocales(String spaceId,
Map<String,String> query)
Fetch specific Locales for a Space.
|
CMACallback<CMAArray<CMALocale>> |
ModuleSpaces.Async.fetchLocales(String spaceId,
Map<String,String> query,
CMACallback<CMAArray<CMALocale>> callback)
Fetch Locales for a Space, using a query.
|
| Modifier and Type | Method and Description |
|---|---|
CMACallback<CMAArray<CMALocale>> |
ModuleSpaces.Async.fetchLocales(String spaceId,
CMACallback<CMAArray<CMALocale>> callback)
Fetch Locales for a Space.
|
CMACallback<CMAArray<CMALocale>> |
ModuleSpaces.Async.fetchLocales(String spaceId,
Map<String,String> query,
CMACallback<CMAArray<CMALocale>> callback)
Fetch Locales for a Space, using a query.
|
| Modifier and Type | Method and Description |
|---|---|
CMALocale |
CMALocale.setCode(String code)
Set the code of the locale.
|
CMALocale |
CMALocale.setDefault(boolean isDefault)
Change this locale to be the default, or remove this flag from it.
|
CMALocale |
CMALocale.setFallbackCode(String fallbackCode)
Set the fallback locale to be used once a localized field is not set in CDA.
|
CMALocale |
CMALocale.setId(String id)
Convenience: Update the id of this entry without going through
CMAResource.getSystem(). |
CMALocale |
CMALocale.setName(String name)
Change or create a human readable name of this locale.
|
CMALocale |
CMALocale.setOptional(boolean optional)
Control whether this locale is optional.
|
CMALocale |
CMALocale.setSpaceId(String spaceId)
Convenience: Update the space id of this entry without going through
CMAResource.getSystem(). |
CMALocale |
CMALocale.setSystem(CMASystem system)
Sets the system field.
|
CMALocale |
CMALocale.setVersion(Integer version)
Convenience: Update the version of this entry without going through
CMAResource.getSystem(). |
Copyright © 2017 Contentful, GmbH.. All Rights Reserved.