Class UiViewsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.UiViewsStub
-
- All Implemented Interfaces:
UiViews,UiViewsTypes,com.vmware.vapi.bindings.Service
public class UiViewsStub extends com.vmware.vapi.internal.bindings.Stub implements UiViews
Remote stub implementation of theUiViewsAPI service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.UiViewsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description UiViewsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)UiViewsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Viewcreate(View view)Creates a new View.voidcreate(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)Creates a new View.voidcreate(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Creates a new View.Viewcreate(View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Creates a new View.voiddelete(java.lang.String viewId)Delete Viewvoiddelete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete Viewvoiddelete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete Viewvoiddelete(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete ViewViewListget(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId)If no query params are specified then all the views entitled for the user are returned.voidget(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.AsyncCallback<ViewList> asyncCallback)If no query params are specified then all the views entitled for the user are returned.voidget(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.AsyncCallback<ViewList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If no query params are specified then all the views entitled for the user are returned.ViewListget(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)If no query params are specified then all the views entitled for the user are returned.Viewget0(java.lang.String viewId)Returns Information about a specific View.voidget0(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)Returns Information about a specific View.voidget0(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Returns Information about a specific View.Viewget0(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Returns Information about a specific View.Viewupdate(java.lang.String viewId, View view)Update Viewvoidupdate(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)Update Viewvoidupdate(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update ViewViewupdate(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Update View
-
-
-
Constructor Detail
-
UiViewsStub
public UiViewsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
UiViewsStub
public UiViewsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public View create(View view)
Description copied from interface:UiViewsCreates a new View.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
create
public View create(View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UiViewsCreates a new View.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
create
public void create(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
Description copied from interface:UiViewsCreates a new View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
create
public void create(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UiViewsCreates a new View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
delete
public void delete(java.lang.String viewId)
Description copied from interface:UiViewsDelete ViewSynchronous method overload. Result of the invocation will be reported as a method return value.
-
delete
public void delete(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UiViewsDelete ViewSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
delete
public void delete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:UiViewsDelete ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
delete
public void delete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UiViewsDelete ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get
public ViewList get(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId)
Description copied from interface:UiViewsIf no query params are specified then all the views entitled for the user are returned. The views to which a user is entitled to include the views created by the user and the shared views.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public ViewList get(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UiViewsIf no query params are specified then all the views entitled for the user are returned. The views to which a user is entitled to include the views created by the user and the shared views.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfaceUiViews- Parameters:
tag- The tag for which associated views to be queried. (optional)viewIds- Ids of the Views (optional)widgetId- Id of widget configuration (optional)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ViewList
-
get
public void get(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.AsyncCallback<ViewList> asyncCallback)Description copied from interface:UiViewsIf no query params are specified then all the views entitled for the user are returned. The views to which a user is entitled to include the views created by the user and the shared views.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ViewListOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get
public void get(java.lang.String tag, java.lang.String viewIds, java.lang.String widgetId, com.vmware.vapi.bindings.client.AsyncCallback<ViewList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UiViewsIf no query params are specified then all the views entitled for the user are returned. The views to which a user is entitled to include the views created by the user and the shared views.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ViewListOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceUiViews- Parameters:
tag- The tag for which associated views to be queried. (optional)viewIds- Ids of the Views (optional)widgetId- Id of widget configuration (optional)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get0
public View get0(java.lang.String viewId)
Description copied from interface:UiViewsReturns Information about a specific View.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get0
public View get0(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UiViewsReturns Information about a specific View.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
get0
public void get0(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)Description copied from interface:UiViewsReturns Information about a specific View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get0
public void get0(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UiViewsReturns Information about a specific View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
update
public View update(java.lang.String viewId, View view)
Description copied from interface:UiViewsUpdate ViewSynchronous method overload. Result of the invocation will be reported as a method return value.
-
update
public View update(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UiViewsUpdate ViewSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
update
public void update(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)Description copied from interface:UiViewsUpdate ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
update
public void update(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UiViewsUpdate ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ViewOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
-