Interface TenantService

  • All Known Implementing Classes:
    TenantServiceImpl

    public interface TenantService
    Service Interface for managing Tenant.
    • Method Detail

      • save

        Tenant save​(Tenant tenant)
        Save a tenant.
        Parameters:
        tenant - the entity to save.
        Returns:
        the persisted entity.
      • update

        Tenant update​(Tenant tenant)
        Updates a tenant.
        Parameters:
        tenant - the entity to update.
        Returns:
        the persisted entity.
      • partialUpdate

        Optional<Tenant> partialUpdate​(Tenant tenant)
        Partially updates a tenant.
        Parameters:
        tenant - the entity to update partially.
        Returns:
        the persisted entity.
      • findAll

        List<Tenant> findAll()
        Get all the tenants.
        Returns:
        the list of entities.
      • findOne

        Optional<Tenant> findOne​(Long id)
        Get the "id" tenant.
        Parameters:
        id - the id of the entity.
        Returns:
        the entity.
      • delete

        void delete​(Long id)
        Delete the "id" tenant.
        Parameters:
        id - the id of the entity.