public final class ModuleEditorInterfaces.Async extends Object
| Constructor and Description |
|---|
Async() |
| Modifier and Type | Method and Description |
|---|---|
CMACallback<CMAEditorInterface> |
fetchOne(String spaceId,
String contentTypeId,
CMACallback<CMAEditorInterface> callback)
Fetch editor interface to given content type in a given space.
|
CMACallback<CMAEditorInterface> |
update(CMAEditorInterface editor,
CMACallback<CMAEditorInterface> callback)
Update the given editor interface.
|
public CMACallback<CMAEditorInterface> fetchOne(String spaceId, String contentTypeId, CMACallback<CMAEditorInterface> callback)
spaceId - the space this editor interface is defined on.contentTypeId - the id of the content type controlled by this editor interface.callback - the callback to be informed about success or failure.public CMACallback<CMAEditorInterface> update(CMAEditorInterface editor, CMACallback<CMAEditorInterface> callback)
editor - the editor interface to be updated.callback - the callback to be informed about success or failure.IllegalArgumentException - if editors spaceId is null.IllegalArgumentException - if editors contentTypeId is null.IllegalArgumentException - if editors version is not set.Copyright © 2017 Contentful, GmbH.. All Rights Reserved.