Package | Description |
---|---|
com.contentful.java.cma | |
com.contentful.java.cma.model |
Modifier and Type | Method and Description |
---|---|
CMARole |
ModuleRoles.create(CMARole role)
Create a new role.
|
CMARole |
ModuleRoles.create(java.lang.String spaceId,
CMARole role)
Create a new role.
|
CMARole |
ModuleRoles.fetchOne(java.lang.String roleId)
Fetches one role by its id from Contentful.
|
CMARole |
ModuleRoles.fetchOne(java.lang.String spaceId,
java.lang.String roleId)
Fetches one role by its id from Contentful.
|
CMARole |
ModuleRoles.update(CMARole role)
Update the given role instance on Contentful.
|
Modifier and Type | Method and Description |
---|---|
CMACallback<CMARole> |
ModuleRoles.Async.create(CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
io.reactivex.Flowable<CMARole> |
ServiceRoles.create(java.lang.String spaceId,
CMARole role) |
CMACallback<CMARole> |
ModuleRoles.Async.create(java.lang.String spaceId,
CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
CMAArray<CMARole> |
ModuleRoles.fetchAll()
Fetch all roles of the configured space.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(CMACallback<CMAArray<CMARole>> callback)
Fetch all roles of this space, asynchronously.
|
CMAArray<CMARole> |
ModuleRoles.fetchAll(java.util.Map<java.lang.String,java.lang.String> query)
Fetch specific roles of the configured space.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMARole>> callback)
Fetch specific roles of this space.
|
io.reactivex.Flowable<CMAArray<CMARole>> |
ServiceRoles.fetchAll(java.lang.String spaceId) |
CMAArray<CMARole> |
ModuleRoles.fetchAll(java.lang.String spaceId)
Fetch all roles of this space.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMARole>> callback)
Fetch all roles of this space, asynchronously.
|
io.reactivex.Flowable<CMAArray<CMARole>> |
ServiceRoles.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query) |
CMAArray<CMARole> |
ModuleRoles.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query)
Fetch specific roles of this space.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMARole>> callback)
Fetch specific roles of this space.
|
CMACallback<CMARole> |
ModuleRoles.Async.fetchOne(java.lang.String roleId,
CMACallback<CMARole> callback)
Fetches one role by its id from Contentful asynchronously.
|
io.reactivex.Flowable<CMARole> |
ServiceRoles.fetchOne(java.lang.String spaceId,
java.lang.String roleId) |
CMACallback<CMARole> |
ModuleRoles.Async.fetchOne(java.lang.String spaceId,
java.lang.String roleId,
CMACallback<CMARole> callback)
Fetches one role by its id from Contentful asynchronously.
|
CMACallback<CMARole> |
ModuleRoles.Async.update(CMARole role,
CMACallback<CMARole> callback)
Update the given role instance on Contentful, asynchronously.
|
io.reactivex.Flowable<CMARole> |
ServiceRoles.update(java.lang.String spaceId,
java.lang.String roleId,
CMARole role,
java.lang.Integer version) |
Modifier and Type | Method and Description |
---|---|
CMARole |
ModuleRoles.create(CMARole role)
Create a new role.
|
CMACallback<CMARole> |
ModuleRoles.Async.create(CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
io.reactivex.Flowable<CMARole> |
ServiceRoles.create(java.lang.String spaceId,
CMARole role) |
CMARole |
ModuleRoles.create(java.lang.String spaceId,
CMARole role)
Create a new role.
|
CMACallback<CMARole> |
ModuleRoles.Async.create(java.lang.String spaceId,
CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
int |
ModuleRoles.delete(CMARole role)
Delete the given role instance.
|
CMACallback<java.lang.Integer> |
ModuleRoles.Async.delete(CMARole role,
CMACallback<java.lang.Integer> callback)
Delete the given role instance asynchronously.
|
CMARole |
ModuleRoles.update(CMARole role)
Update the given role instance on Contentful.
|
CMACallback<CMARole> |
ModuleRoles.Async.update(CMARole role,
CMACallback<CMARole> callback)
Update the given role instance on Contentful, asynchronously.
|
io.reactivex.Flowable<CMARole> |
ServiceRoles.update(java.lang.String spaceId,
java.lang.String roleId,
CMARole role,
java.lang.Integer version) |
Modifier and Type | Method and Description |
---|---|
CMACallback<CMARole> |
ModuleRoles.Async.create(CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
CMACallback<CMARole> |
ModuleRoles.Async.create(java.lang.String spaceId,
CMARole role,
CMACallback<CMARole> callback)
Asynchronously create a new role.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(CMACallback<CMAArray<CMARole>> callback)
Fetch all roles of this space, asynchronously.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMARole>> callback)
Fetch specific roles of this space.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.lang.String spaceId,
CMACallback<CMAArray<CMARole>> callback)
Fetch all roles of this space, asynchronously.
|
CMACallback<CMAArray<CMARole>> |
ModuleRoles.Async.fetchAll(java.lang.String spaceId,
java.util.Map<java.lang.String,java.lang.String> query,
CMACallback<CMAArray<CMARole>> callback)
Fetch specific roles of this space.
|
CMACallback<CMARole> |
ModuleRoles.Async.fetchOne(java.lang.String roleId,
CMACallback<CMARole> callback)
Fetches one role by its id from Contentful asynchronously.
|
CMACallback<CMARole> |
ModuleRoles.Async.fetchOne(java.lang.String spaceId,
java.lang.String roleId,
CMACallback<CMARole> callback)
Fetches one role by its id from Contentful asynchronously.
|
CMACallback<CMARole> |
ModuleRoles.Async.update(CMARole role,
CMACallback<CMARole> callback)
Update the given role instance on Contentful, asynchronously.
|
Modifier and Type | Method and Description |
---|---|
CMARole |
CMARole.addPolicy(CMAPolicy policy)
Add a new policy to the existing ones, creating a new list if needed.
|
CMARole |
CMARole.setDescription(java.lang.String description)
Update or set the description of this role.
|
CMARole |
CMARole.setId(java.lang.String id)
Sets the id of this space membership.
|
CMARole |
CMARole.setName(java.lang.String name)
Update the name of the role.
|
CMARole |
CMARole.setPermissions(CMAPermissions permissions)
Replace the currently set permissions with a new one.
|
CMARole |
CMARole.setSpaceId(java.lang.String id)
Sets the id of this space memberships space.
|
CMARole |
CMARole.setVersion(java.lang.Integer version)
Set the version of this space membership.
|
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.