Interface CustomerRequestService


  • public interface CustomerRequestService
    • Method Detail

      • getCustomerRequests

        java.util.LinkedHashSet<CustomerRequest> getCustomerRequests​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> request)
        This method does search requests and returns data as list.
        Parameters:
        request - search request
        Returns:
        entities as list
      • createCustomerRequest

        CustomerRequest createCustomerRequest​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> data)
        This method creates a database entity.
        Parameters:
        data - map-representation of database entity
        Returns:
        database entity
      • createCustomerRequest

        CustomerRequest createCustomerRequest​(CustomerRequest customerRequest)
        This method creates a database entity.
        Parameters:
        customerRequest - map-representation of database entity
        Returns:
        database entity
      • saveCustomerRequest

        CustomerRequest saveCustomerRequest​(java.util.LinkedHashMap<java.lang.String,​java.lang.Object> data)
        This method save an updates of database entity.
        Parameters:
        data - map-representation of database entity
        Returns:
        saved instance of database entity
      • saveCustomerRequest

        CustomerRequest saveCustomerRequest​(CustomerRequest customerRequest)
        This method saves a database entity.
        Parameters:
        customerRequest - database entity
        Returns:
        saved instance of database entity
      • removeCustomerRequestAndClean

        void removeCustomerRequestAndClean​(java.lang.String requestId)
        This method removes a database entity and clean all relationships from another entities.
        Parameters:
        requestId - identification for database entity which will be removed
      • removeCustomerRequestsByIds

        void removeCustomerRequestsByIds​(java.util.ArrayList<java.lang.String> requestIds)
        This method removes a list of database entities.
        Parameters:
        requestIds - the list of database entities which will be removed