Class DefaultOutboundServiceFacade

    • Constructor Detail

      • DefaultOutboundServiceFacade

        public DefaultOutboundServiceFacade()
    • Method Detail

      • send

        public rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> send​(ItemModel itemModel,
                                                                                          java.lang.String ioCode,
                                                                                          java.lang.String destinationId)
        Description copied from interface: OutboundServiceFacade
        Method orchestrates the services to build the payload and to integrate with restful endpoint.
        Specified by:
        send in interface OutboundServiceFacade
        Parameters:
        itemModel - the model to be converted
        ioCode - the name of the integration object to convert this model as payload
        destinationId - endpoint destination information
        Returns:
        rx.Observable which allows the caller to subscribe the callback method
      • send

        public rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> send​(SyncParameters params)
        Description copied from interface: OutboundServiceFacade
        Method orchestrates the services to build the payload and to integrate with restful endpoint.
        Specified by:
        send in interface OutboundServiceFacade
        Parameters:
        params - a parameter object holding data about the item synchronization request
        Returns:
        rx.Observable which allows the caller to subscribe the callback method that provides result of the item sending.
      • createObservable

        protected rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> createObservable​(DecoratorContext context)
      • createHttpEntity

        protected org.springframework.http.HttpEntity<java.util.Map<java.lang.String,​java.lang.Object>> createHttpEntity​(org.springframework.http.HttpHeaders headers,
                                                                                                                               java.util.Map<java.lang.String,​java.lang.Object> payload,
                                                                                                                               DecoratorContext context)
      • getConsumedDestinationModelById

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected ConsumedDestinationModel getConsumedDestinationModelById​(java.lang.String destinationId)
        Deprecated, for removal: This API element is subject to removal in a future version.
        not used: destination ID is converted to ConsumedDestinationModel in DecoratorContextFactory.
      • findIntegrationObjectItemCode

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected java.lang.String findIntegrationObjectItemCode​(java.lang.String integrationObjectCode,
                                                                 ItemModel itemModel)
        Deprecated, for removal: This API element is subject to removal in a future version.
        not used: integration object code is converted to IntegrationObjectDescriptor in DecoratorContextFactory.
      • orchestrate

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> orchestrate​(ItemModel itemModel,
                                                                                                    java.lang.String integrationObjectCode,
                                                                                                    java.lang.String destinationId)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createObservable

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected rx.Observable<org.springframework.http.ResponseEntity<java.util.Map>> createObservable​(org.springframework.web.client.RestOperations restOperations,
                                                                                                         ItemModel itemModel,
                                                                                                         java.lang.String integrationObjectCode,
                                                                                                         ConsumedDestinationModel destinationModel,
                                                                                                         java.util.Map<java.lang.String,​java.lang.Object> payload)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createHttpEntity

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected org.springframework.http.HttpEntity<java.util.Map<java.lang.String,​java.lang.Object>> createHttpEntity​(ItemModel itemModel,
                                                                                                                               java.lang.String integrationObjectCode,
                                                                                                                               ConsumedDestinationModel destinationModel,
                                                                                                                               java.util.Map<java.lang.String,​java.lang.Object> payload)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • setIntegrationRestTemplateFactory

        public void setIntegrationRestTemplateFactory​(IntegrationRestTemplateFactory integrationRestTemplateFactory)
      • setOutboundRequestDecorators

        public void setOutboundRequestDecorators​(java.util.List<OutboundRequestDecorator> decorators)
      • getIntegrationObjectService

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected IntegrationObjectService getIntegrationObjectService()
        Deprecated, for removal: This API element is subject to removal in a future version.
        used only in the other deprecated protected methods. Will be removed with them.
      • setIntegrationObjectService

        @Deprecated(since="2011.0",
                    forRemoval=true)
        public void setIntegrationObjectService​(IntegrationObjectService integrationObjectService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        used only in the other deprecated protected methods. Will be removed with them.
      • setOutboundServicesConfiguration

        public void setOutboundServicesConfiguration​(OutboundServicesConfiguration outboundServicesConfiguration)
      • getFlexibleSearchService

        @Deprecated(since="2011.0",
                    forRemoval=true)
        protected FlexibleSearchService getFlexibleSearchService()
        Deprecated, for removal: This API element is subject to removal in a future version.
        used only in the other deprecated protected methods. Will be removed with them.
      • setFlexibleSearchService

        @Deprecated(since="2011.0",
                    forRemoval=true)
        public void setFlexibleSearchService​(FlexibleSearchService flexibleSearchService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        used only in the other deprecated protected methods. Will be removed with them.