Class 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 the UiViews 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
    • 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 View
      void delete​(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete View
      void delete​(java.lang.String viewId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete View
      void delete​(java.lang.String viewId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete View
      ViewList 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 View
      void update​(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
      Update View
      void update​(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update View
      View update​(java.lang.String viewId, View view, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update View
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.

        Specified by:
        create in interface UiViews
        Parameters:
        view - (required)
        Returns:
        com.vmware.nsx_policy.model.View
      • 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.

        Specified by:
        create in interface UiViews
        Parameters:
        view - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.View
      • 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.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface UiViews
        Parameters:
        view - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • 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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface UiViews
        Parameters:
        view - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String viewId)
        Description copied from interface: UiViews
        Delete View

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface UiViews
        Parameters:
        viewId - (required)
      • delete

        public void delete​(java.lang.String viewId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: UiViews
        Delete 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.

        Specified by:
        delete in interface UiViews
        Parameters:
        viewId - (required)
        invocationConfig - Configuration for the method 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 View

        Asynchronous 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

        Specified by:
        delete in interface UiViews
        Parameters:
        viewId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • 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 View

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig 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

        Specified by:
        delete in interface UiViews
        Parameters:
        viewId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • 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.

        Specified by:
        get in interface UiViews
        Parameters:
        tag - The tag for which associated views to be queried. (optional)
        viewIds - Ids of the Views (optional)
        widgetId - Id of widget configuration (optional)
        Returns:
        com.vmware.nsx_policy.model.ViewList
      • 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 interface UiViews
        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.ViewList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface UiViews
        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.
      • 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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.ViewList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface UiViews
        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.

        Specified by:
        get0 in interface UiViews
        Parameters:
        viewId - (required)
        Returns:
        com.vmware.nsx_policy.model.View
      • 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.

        Specified by:
        get0 in interface UiViews
        Parameters:
        viewId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.View
      • 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.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get0 in interface UiViews
        Parameters:
        viewId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • 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. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get0 in interface UiViews
        Parameters:
        viewId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public View update​(java.lang.String viewId,
                           View view)
        Description copied from interface: UiViews
        Update View

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface UiViews
        Parameters:
        viewId - (required)
        view - (required)
        Returns:
        com.vmware.nsx_policy.model.View
      • update

        public View update​(java.lang.String viewId,
                           View view,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: UiViews
        Update 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.

        Specified by:
        update in interface UiViews
        Parameters:
        viewId - (required)
        view - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.View
      • update

        public void update​(java.lang.String viewId,
                           View view,
                           com.vmware.vapi.bindings.client.AsyncCallback<View> asyncCallback)
        Description copied from interface: UiViews
        Update View

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface UiViews
        Parameters:
        viewId - (required)
        view - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • 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 View

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.View

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface UiViews
        Parameters:
        viewId - (required)
        view - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.