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 theUiViews
API 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 View
create(View view)
Creates a new View.void
create(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
Creates a new View.void
create(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new View.View
create(View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new View.void
delete(java.lang.String viewId)
Delete Viewvoid
delete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete Viewvoid
delete(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Viewvoid
delete(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete ViewViewList
get(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.void
get(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.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)
If no query params are specified then all the views entitled for the user are returned.ViewList
get(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.View
get0(java.lang.String viewId)
Returns Information about a specific View.void
get0(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
Returns Information about a specific View.void
get0(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.View
get0(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific View.View
update(java.lang.String viewId, View view)
Update Viewvoid
update(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
Update Viewvoid
update(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update ViewView
update(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:UiViews
Creates 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:UiViews
Creates a new View.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.
-
create
public void create(View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
Description copied from interface:UiViews
Creates 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:UiViews
Creates a new View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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:UiViews
Delete 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:UiViews
Delete ViewSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to 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:UiViews
Delete 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:UiViews
Delete ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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:UiViews
If 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:UiViews
If 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in 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:UiViews
If 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:UiViews
If 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
. UseinvocationConfig
to 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:
get
in 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:UiViews
Returns 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:UiViews
Returns Information about a specific View.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to 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:UiViews
Returns 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:UiViews
Returns Information about a specific View.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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:UiViews
Update 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:UiViews
Update ViewSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to 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:UiViews
Update 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:UiViews
Update ViewAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to 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
-
-