Interface BeanHandlerService

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    BeanHandlerServiceImpl

    public interface BeanHandlerService
    extends java.io.Serializable
    • Method Detail

      • getRepository

        java.lang.Object getRepository​(java.lang.String repositoryId)
        This method does return repository.
        Parameters:
        repositoryId - identification bean, which will be returned
        Returns:
        object
      • getBean

        java.lang.Object getBean​(java.lang.String beanId)
        This method returns a bean instance.
        Parameters:
        beanId - identification bean, which will be returned
        Returns:
        a bean instance
      • getSessionBean

        java.lang.Object getSessionBean​(java.lang.String beanId)
        This method returns a session bean instance.
        Parameters:
        beanId - identification bean, which will be returned
        Returns:
        a bean instance
      • updateSessionBean

        void updateSessionBean​(java.lang.String beanId,
                               java.lang.Object bean)
        This method does update of session bean.
        Parameters:
        beanId - identification bean, which will be updated
        bean - representation of bean, which will be copied to current instance
      • handleUpdate

        void handleUpdate​(BeanRequestMessage request)
        This method does update of bean.
        Parameters:
        request - contains an instructions for updated fields
      • handleInvoke

        void handleInvoke​(BeanRequestMessage request)
        This method does invoke a bean methods.
        Parameters:
        request - contains an instructions for invoked fields
      • handleRepositoryCall

        void handleRepositoryCall​(RepositoryRequestMessage request)
        This method does repository call.
        Parameters:
        request - contains an instructions for repository call
      • handleBeanInvokeResponse

        <T> T handleBeanInvokeResponse​(BeanRequestMessage request)
        This method does invoke to get instance of bean.
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields
        Returns:
        map representation of object
      • handleBeanUpdateResponse

        <T> T handleBeanUpdateResponse​(BeanRequestMessage request)
        This method does update a bean and get instance of updated bean.
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields
        Returns:
        map representation of object
      • handleRepositoryInvoke

        <T> java.util.List<T> handleRepositoryInvoke​(RepositoryRequestMessage request)
        This method does repository call.
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields.
        Returns:
        list of objects representation
      • handleRepositoryUpdate

        <T> T handleRepositoryUpdate​(RepositoryRequestMessage request)
        This method does repository call.
        Type Parameters:
        T - class type of entity
        Parameters:
        request - contains an instructions for invoked fields.
        Returns:
        map representation of object