All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alon.spring.crud.api.projection.Projector Maven / Gradle / Ivy

Go to download

Fornece implementação básica e expansível para criação API's CRUD com Spring Boot e Spring Data JPA.

There is a newer version: 1.0.9
Show newest version
package com.alon.spring.crud.api.projection;

import java.util.Collections;
import java.util.List;
import java.util.Set;

import com.alon.spring.crud.domain.service.exception.ProjectionException;

/**
 * 
 * @param  Input data to be projected
 * @param  Ouput projection
 */
public interface Projector {
    
    public O project(I input) throws ProjectionException;
    
    default Set requiredExpand() {
        return Collections.emptySet();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy