Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMASpaceMembership |
ModuleSpaceMemberships.create(CMASpaceMembership membership)
Create a new membership.
|
CMASpaceMembership |
ModuleSpaceMemberships.create(java.lang.String spaceId,
CMASpaceMembership membership)
Create a new membership.
|
CMASpaceMembership |
ModuleSpaceMemberships.fetchOne(java.lang.String membershipId)
Fetches one space membership by its id from Contentful.
|
CMASpaceMembership |
ModuleSpaceMemberships.fetchOne(java.lang.String spaceId,
java.lang.String membershipId)
Fetches one space membership by its id from Contentful.
|
CMASpaceMembership |
ModuleSpaceMemberships.update(CMASpaceMembership membership)
Update the given membership instance on Contentful.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
io.reactivex.Flowable<CMASpaceMembership> |
ServiceSpaceMemberships.create(java.lang.String spaceId,
CMASpaceMembership membership) |
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(java.lang.String spaceId,
CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
CMAArray<CMASpaceMembership> |
ModuleSpaceMemberships.fetchAll()
Fetch all memberships of the configured space.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMAArray<CMASpaceMembership> |
ModuleSpaceMemberships.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Fetch all memberships of the configured space.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of the configured space, asynchronously.
|
CMAArray<CMASpaceMembership> |
ModuleSpaceMemberships.fetchAll(java.lang.String spaceId)
Fetch all memberships of the given space.
|
io.reactivex.Flowable<CMAArray<CMASpaceMembership>> |
ServiceSpaceMemberships.fetchAll(java.lang.String spaceId) |
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMAArray<CMASpaceMembership> |
ModuleSpaceMemberships.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query)
Fetch all memberships of this space.
|
io.reactivex.Flowable<CMAArray<CMASpaceMembership>> |
ServiceSpaceMemberships.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query) |
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.fetchOne(java.lang.String membershipId,
CMACallback<CMASpaceMembership> callback)
Fetches one space membership by its id from Contentful asynchronously.
|
io.reactivex.Flowable<CMASpaceMembership> |
ServiceSpaceMemberships.fetchOne(java.lang.String spaceId,
java.lang.String membershipId) |
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.fetchOne(java.lang.String spaceId,
java.lang.String membershipId,
CMACallback<CMASpaceMembership> callback)
Fetches one space membership by its id from Contentful asynchronously.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.update(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Update the given membership instance on Contentful, asynchronously.
|
io.reactivex.Flowable<CMASpaceMembership> |
ServiceSpaceMemberships.update(java.lang.String spaceId,
java.lang.String membershipId,
CMASpaceMembership membership,
java.lang.Integer version) |
Modifier and Type | Method and Description |
---|---|
CMASpaceMembership |
ModuleSpaceMemberships.create(CMASpaceMembership membership)
Create a new membership.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
CMASpaceMembership |
ModuleSpaceMemberships.create(java.lang.String spaceId,
CMASpaceMembership membership)
Create a new membership.
|
io.reactivex.Flowable<CMASpaceMembership> |
ServiceSpaceMemberships.create(java.lang.String spaceId,
CMASpaceMembership membership) |
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(java.lang.String spaceId,
CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
int |
ModuleSpaceMemberships.delete(CMASpaceMembership membership)
Delete the given membership instance.
|
CMACallback<java.lang.Integer> |
ModuleSpaceMemberships.Async.delete(CMASpaceMembership membership,
CMACallback<java.lang.Integer> callback)
Delete the given membership instance asynchronously.
|
CMASpaceMembership |
ModuleSpaceMemberships.update(CMASpaceMembership membership)
Update the given membership instance on Contentful.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.update(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Update the given membership instance on Contentful, asynchronously.
|
io.reactivex.Flowable<CMASpaceMembership> |
ServiceSpaceMemberships.update(java.lang.String spaceId,
java.lang.String membershipId,
CMASpaceMembership membership,
java.lang.Integer version) |
Modifier and Type | Method and Description |
---|---|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.create(java.lang.String spaceId,
CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Asynchronously create a new membership.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of the configured space, asynchronously.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMACallback<CMAArray<CMASpaceMembership>> |
ModuleSpaceMemberships.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMASpaceMembership>> callback)
Fetch all memberships of this space, asynchronously.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.fetchOne(java.lang.String membershipId,
CMACallback<CMASpaceMembership> callback)
Fetches one space membership by its id from Contentful asynchronously.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.fetchOne(java.lang.String spaceId,
java.lang.String membershipId,
CMACallback<CMASpaceMembership> callback)
Fetches one space membership by its id from Contentful asynchronously.
|
CMACallback<CMASpaceMembership> |
ModuleSpaceMemberships.Async.update(CMASpaceMembership membership,
CMACallback<CMASpaceMembership> callback)
Update the given membership instance on Contentful, asynchronously.
|
Modifier and Type | Method and Description |
---|---|
CMASpaceMembership |
CMASpaceMembership.addRole(CMALink role)
Add a role to the list of roles.
|
CMASpaceMembership |
CMASpaceMembership.setAdmin(boolean admin)
Update admin flag.
|
CMASpaceMembership |
CMASpaceMembership.setEmail(java.lang.String email)
Set the email address when creating a new membership.
|
CMASpaceMembership |
CMASpaceMembership.setId(java.lang.String id)
Sets the id of this space membership.
|
CMASpaceMembership |
CMASpaceMembership.setIsAdmin(boolean admin)
Update administrator state of this membership.
|
CMASpaceMembership |
CMASpaceMembership.setRoles(CMALink... roles)
Replace all roles with the given argument.
|
CMASpaceMembership |
CMASpaceMembership.setSpaceId(java.lang.String id)
Sets the id of this space memberships space.
|
CMASpaceMembership |
CMASpaceMembership.setUser(CMALink user)
Update or set the user for this membership.
|
CMASpaceMembership |
CMASpaceMembership.setVersion(java.lang.Integer version)
Set the version of this space membership.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.