Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMASpace |
ModuleSpaces.create(CMASpace space)
Create a Space.
|
CMASpace |
ModuleSpaces.create(CMASpace space,
java.lang.String organizationId)
Create a Space in an organization.
|
CMASpace |
ModuleSpaces.create(java.lang.String spaceName)
Create a Space.
|
CMASpace |
ModuleSpaces.create(java.lang.String spaceName,
java.lang.String organizationId)
Create a Space in an Organization.
|
CMASpace |
ModuleSpaces.fetchOne(java.lang.String spaceId)
Fetch a Space with a given
spaceId . |
CMASpace |
ModuleSpaces.update(CMASpace space)
Update a Space.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
CMACallback<CMASpace> callback)
Create a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
java.lang.String organizationId,
CMACallback<CMASpace> callback)
Create a Space in an Organization.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(java.lang.String spaceName,
CMACallback<CMASpace> callback)
Create a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(java.lang.String spaceName,
java.lang.String organizationId,
CMACallback<CMASpace> callback)
Create a Space in an Organization.
|
CMAArray<CMASpace> |
ModuleSpaces.fetchAll()
Fetch all Spaces.
|
CMACallback<CMAArray<CMASpace>> |
ModuleSpaces.Async.fetchAll(CMACallback<CMAArray<CMASpace>> callback)
Fetch all Spaces.
|
CMAArray<CMASpace> |
ModuleSpaces.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Fetch all Spaces, using specific queries.
|
CMACallback<CMAArray<CMASpace>> |
ModuleSpaces.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpace>> callback)
Fetch all Spaces using a non empty query.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.fetchOne(java.lang.String spaceId,
CMACallback<CMASpace> callback)
Fetch a Space with a given
spaceId . |
CMACallback<CMASpace> |
ModuleSpaces.Async.update(CMASpace space,
CMACallback<CMASpace> callback)
Update a Space.
|
Modifier and Type | Method and Description |
---|---|
CMASpace |
ModuleSpaces.create(CMASpace space)
Create a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
CMACallback<CMASpace> callback)
Create a Space.
|
CMASpace |
ModuleSpaces.create(CMASpace space,
java.lang.String organizationId)
Create a Space in an organization.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
java.lang.String organizationId,
CMACallback<CMASpace> callback)
Create a Space in an Organization.
|
java.lang.Integer |
ModuleSpaces.delete(CMASpace space)
Delete a Space.
|
CMACallback<java.lang.Integer> |
ModuleSpaces.Async.delete(CMASpace space,
CMACallback<java.lang.Integer> callback)
Delete a Space.
|
CMASpace |
ModuleSpaces.update(CMASpace space)
Update a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.update(CMASpace space,
CMACallback<CMASpace> callback)
Update a Space.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
CMACallback<CMASpace> callback)
Create a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(CMASpace space,
java.lang.String organizationId,
CMACallback<CMASpace> callback)
Create a Space in an Organization.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(java.lang.String spaceName,
CMACallback<CMASpace> callback)
Create a Space.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.create(java.lang.String spaceName,
java.lang.String organizationId,
CMACallback<CMASpace> callback)
Create a Space in an Organization.
|
CMACallback<CMAArray<CMASpace>> |
ModuleSpaces.Async.fetchAll(CMACallback<CMAArray<CMASpace>> callback)
Fetch all Spaces.
|
CMACallback<CMAArray<CMASpace>> |
ModuleSpaces.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpace>> callback)
Fetch all Spaces using a non empty query.
|
CMACallback<CMASpace> |
ModuleSpaces.Async.fetchOne(java.lang.String spaceId,
CMACallback<CMASpace> callback)
Fetch a Space with a given
spaceId . |
CMACallback<CMASpace> |
ModuleSpaces.Async.update(CMASpace space,
CMACallback<CMASpace> callback)
Update a Space.
|
Modifier and Type | Method and Description |
---|---|
CMASpace |
CMASpace.setDefaultLocale(java.lang.String defaultLocale)
Set the default locale of this space.
|
CMASpace |
CMASpace.setId(java.lang.String id)
Sets the id of this space.
|
CMASpace |
CMASpace.setName(java.lang.String name)
Sets the name for this Space.
|
CMASpace |
CMASpace.setSpaceId(java.lang.String id)
Sets the id of this space.
|
CMASpace |
CMASpace.setSystem(CMASystem system)
Sets the system field.
|
CMASpace |
CMASpace.setVersion(java.lang.Integer version)
Set the version of this space.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.