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

io.katharsis.repository.annotations.JsonApiFindOne Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
package io.katharsis.repository.annotations;

import io.katharsis.queryParams.QueryParams;

import java.io.Serializable;
import java.lang.annotation.*;

/**
 * 

* Method annotated with this annotation will be used to perform find one operation on a particular resource. The method * must be defined in a class annotated with {@link JsonApiResourceRepository}. *

*

* The requirements for the method parameters are as follows: *

*
    *
  1. A resource identifier
  2. *
*

* The return value should be a resource of {@link JsonApiResourceRepository#value()} type. *

* * @see io.katharsis.repository.ResourceRepository#findOne(Serializable, QueryParams) */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface JsonApiFindOne { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy