Commit 445adbb9 authored by Matija Obreza's avatar Matija Obreza

Added JsonViews.Indexed for tagging properties that should be posted to indexing service

parent 3cc46a85
......@@ -15,6 +15,8 @@
*/
package org.genesys.blocks.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* JsonViews for use with @JsonView annotation.
*/
......@@ -61,4 +63,12 @@ public class JsonViews {
public static interface Internal extends Protected {
}
/**
* Marks fields that may not be serialized by default (in lieu of {@link JsonIgnore})
* TBD: check {@link Root}
*/
public static interface Indexed extends Internal {
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment