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

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

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

import java.lang.annotation.*;

/**
 * 

* Method annotated with this annotation will be used to provide links information for a set of resources. The method * must be defined in a class annotated with {@link JsonApiResourceRepository} or * {@link JsonApiRelationshipRepository}. *

*

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

*
    *
  1. A list of resources
  2. *
*

* The return value must be an instance of {@link io.katharsis.response.LinksInformation} type. *

* * @see io.katharsis.repository.LinksRepository */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface JsonApiLinks { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy