| Modifier and Type | Method and Description |
|---|---|
void |
CrudOperations.jsAdd(String type,
String name,
Object address,
ModelNode payload,
CrudOperations.AddCallback callback)
Executes an add operation using the specified name and payload.
|
void |
CrudOperations.jsAdd(String type,
String name,
Object address,
ModelNode payload,
CrudOperations.AddCallback callback)
Executes an add operation using the specified name and payload.
|
void |
CrudOperations.jsAddDialog(String type,
Object address,
String[] attributes,
CrudOperations.AddCallback callback)
Opens an add-resource dialog for the given resource type.
|
void |
CrudOperations.jsAddDialog(String type,
Object address,
String[] attributes,
CrudOperations.AddCallback callback)
Opens an add-resource dialog for the given resource type.
|
void |
CrudOperations.jsAddDialog(String type,
Object address,
String[] attributes,
CrudOperations.AddCallback callback)
Opens an add-resource dialog for the given resource type.
|
void |
CrudOperations.jsAddSingleton(String type,
Object address,
ModelNode payload,
CrudOperations.AddSingletonCallback callback)
Executes an add operation using the specified payload.
|
void |
CrudOperations.jsAddSingleton(String type,
Object address,
ModelNode payload,
CrudOperations.AddSingletonCallback callback)
Executes an add operation using the specified payload.
|
void |
CrudOperations.jsAddSingletonDialog(String type,
Object address,
String[] attributes,
CrudOperations.AddSingletonCallback callback)
Opens an add-resource dialog for the given singleton resource type.
|
void |
CrudOperations.jsAddSingletonDialog(String type,
Object address,
String[] attributes,
CrudOperations.AddSingletonCallback callback)
Opens an add-resource dialog for the given singleton resource type.
|
ModelNodeForm.Builder<ModelNode> |
Core.jsForm(Object meta)
Returns a new form builder for a
ModelNode. |
ModelNodeForm.Builder<NamedNode> |
Core.jsNamedForm(Object meta)
Returns a new form builder for a
NamedNode. |
ModelNodeTable.Builder<NamedNode> |
Core.jsNamedTable(Object meta)
Returns a new table builder for a
NamedNode. |
Operation.Builder |
Core.jsOperation(Object address,
String name)
Returns a new operation builder.
|
void |
CrudOperations.jsRead(Object address,
CrudOperations.ReadCallback callback)
Executes a read-resource operation on the specified address and passes the result to the callback.
|
void |
CrudOperations.jsRead(Object address,
CrudOperations.ReadCallback callback)
Executes a read-resource operation on the specified address and passes the result to the callback.
|
void |
CrudOperations.jsReadChildren(Object address,
String childType,
CrudOperations.JsReadChildrenCallback callback)
Executes a read-children-resources operation on the specified address and passes the result as
Property
array to the callback. |
void |
CrudOperations.jsReadChildren(Object address,
String childType,
CrudOperations.JsReadChildrenCallback callback)
Executes a read-children-resources operation on the specified address and passes the result as
Property
array to the callback. |
void |
CrudOperations.jsReadRecursive(Object address,
CrudOperations.ReadCallback callback)
Executes a recursive read-resource operation on the specified address and passes the result to the callback.
|
void |
CrudOperations.jsReadRecursive(Object address,
CrudOperations.ReadCallback callback)
Executes a recursive read-resource operation on the specified address and passes the result to the callback.
|
void |
CrudOperations.jsRemove(String type,
String name,
Object address,
JsCallback callback)
Shows a confirmation dialog and removes the resource if confirmed by the user.
|
void |
CrudOperations.jsRemove(String type,
String name,
Object address,
JsCallback callback)
Shows a confirmation dialog and removes the resource if confirmed by the user.
|
void |
CrudOperations.jsRemoveSingleton(String type,
Object address,
JsCallback callback)
Shows a confirmation dialog and removes the singleton resource if confirmed by the user.
|
void |
CrudOperations.jsRemoveSingleton(String type,
Object address,
JsCallback callback)
Shows a confirmation dialog and removes the singleton resource if confirmed by the user.
|
void |
CrudOperations.jsSave(String type,
String name,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified resource.
|
void |
CrudOperations.jsSave(String type,
String name,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified resource.
|
void |
CrudOperations.jsSave(String type,
String name,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified resource.
|
void |
CrudOperations.jsSaveSingleton(String type,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified singleton resource.
|
void |
CrudOperations.jsSaveSingleton(String type,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified singleton resource.
|
void |
CrudOperations.jsSaveSingleton(String type,
Object address,
jsinterop.base.JsPropertyMap<Object> changeSet,
JsCallback callback)
Writes the changed values to the specified singleton resource.
|
| Modifier and Type | Method and Description |
|---|---|
static Extension |
Extension.footer(String name,
String title,
JsCallback entryPoint)
Creates a footer extension.
|
static Extension |
Extension.header(String name,
String title,
JsCallback entryPoint)
Creates a header extension.
|
void |
ExtensionRegistry.jsInject(String script,
String[] stylesheets)
Injects the script and stylesheets of an extension.
|
| Modifier and Type | Method and Description |
|---|---|
ModelNodeForm.Builder<T> |
ModelNodeForm.Builder.jsExclude(String[] attributes)
Excludes the specified attributes
|
ModelNodeForm.Builder<T> |
ModelNodeForm.Builder.jsInclude(String[] attributes)
Includes the specified attributes
|
| Modifier and Type | Method and Description |
|---|---|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsAdd(String type,
Object template,
String[] attributes,
CrudOperations.AddCallback callback)
Adds a button to add a new resource.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsAdd(String type,
Object template,
String[] attributes,
CrudOperations.AddCallback callback)
Adds a button to add a new resource.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsAdd(String type,
Object template,
String[] attributes,
CrudOperations.AddCallback callback)
Adds a button to add a new resource.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsButton(String text,
String scope,
ButtonHandler<T> handler)
Add a button which executes the specified callback.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsColumns(String[] columns)
Adds columns for the specified attributes.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsRemove(String type,
Object template,
ModelNodeTable.Builder.JsNameFunction<T> name,
JsCallback callback)
Adds a button to remove the selected resource.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsRemove(String type,
Object template,
ModelNodeTable.Builder.JsNameFunction<T> name,
JsCallback callback)
Adds a button to remove the selected resource.
|
ModelNodeTable.Builder<T> |
ModelNodeTable.Builder.jsRemove(String type,
Object template,
ModelNodeTable.Builder.JsNameFunction<T> name,
JsCallback callback)
Adds a button to remove the selected resource.
|
| Modifier and Type | Method and Description |
|---|---|
static NamedNode[] |
ModelNodeHelper.jsAsNamedNodes(Property[] properties)
Turns an properties array into an array of names nodes.
|
Operation.Builder |
Operation.Builder.jsHeader(String name,
Object value)
Add a header to the operation
|
Operation.Builder |
Operation.Builder.jsParam(String name,
Object value)
Add a parameter to the operation
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispatcher.jsExecute(Operation operation,
Dispatcher.JsOperationCallback callback)
Executes the specified operation.
|
void |
Dispatcher.jsExecuteComposite(Composite composite,
Dispatcher.JsCompositeCallback callback)
Executes the specified composite operation.
|
| Modifier and Type | Method and Description |
|---|---|
AddressTemplate |
AddressTemplate.jsAppend(Object address)
Append an address to this addrress template and return a new one.
|
boolean |
MetadataRegistry.jsContains(Object template)
Checks whether there's a metadata for the specified template.
|
Metadata |
MetadataRegistry.jsLookup(Object template)
Returns metadata associated with the specified address template.
|
ResourceAddress |
AddressTemplate.resolve(StatementContext context,
String... wildcards)
Resolve this address template against the specified statement context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetadataProcessor.jsLookup(Object template,
MetadataProcessor.JsMetadataCallback callback)
Reads the metadata for the template and passes it to the callback.
|
void |
MetadataProcessor.jsLookup(Object template,
MetadataProcessor.JsMetadataCallback callback)
Reads the metadata for the template and passes it to the callback.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.