Search in sources :

Example 41 with JsIgnore

use of jsinterop.annotations.JsIgnore in project console by hal.

the class ComplexAttributeOperations method remove.

/**
 * Undefines the complex attribute at the specified index. After the attribute has been undefined a standard success message
 * is fired and the specified callback is executed.
 *
 * @param resource the resource name
 * @param complexAttribute the name of the complex attribute
 * @param type the human readable name of the complex attribute
 * @param index the index for the list-type complex attribute
 * @param template the address template which is resolved against the current statement context and the resource name to get
 *        the resource address for the operation
 * @param callback the callback executed after the complex attribute has been undefined
 */
@JsIgnore
public void remove(String resource, String complexAttribute, String type, int index, AddressTemplate template, Callback callback) {
    ResourceAddress address = template.resolve(statementContext, resource);
    remove(complexAttribute, type, index, address, callback);
}
Also used : ResourceAddress(org.jboss.hal.dmr.ResourceAddress) JsIgnore(jsinterop.annotations.JsIgnore)

Aggregations

JsIgnore (jsinterop.annotations.JsIgnore)41 ModelNode (org.jboss.hal.dmr.ModelNode)11 Composite (org.jboss.hal.dmr.Composite)10 Operation (org.jboss.hal.dmr.Operation)10 ResourceAddress (org.jboss.hal.dmr.ResourceAddress)9 Map (java.util.Map)7 SafeHtml (com.google.gwt.safehtml.shared.SafeHtml)6 CustomEventInit (elemental2.dom.CustomEventInit)6 Set (java.util.Set)6 JsProperty (jsinterop.annotations.JsProperty)6 JsType (jsinterop.annotations.JsType)5 AddResourceDialog (org.jboss.hal.core.mbui.dialog.AddResourceDialog)5 ModelNodeForm (org.jboss.hal.core.mbui.form.ModelNodeForm)5 CompositeResult (org.jboss.hal.dmr.CompositeResult)5 Property (org.jboss.hal.dmr.Property)5 Iterables (com.google.common.collect.Iterables)4 EventBus (com.google.web.bindery.event.shared.EventBus)4 Collectors.toSet (java.util.stream.Collectors.toSet)4 StreamSupport.stream (java.util.stream.StreamSupport.stream)4 Nullable (javax.annotation.Nullable)4