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

com.avaje.ebean.annotation.Draftable Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Used to indicate an entity bean that has 'draftable' support.
 * 

* This means that a second set of tables is created to hold draft versions of * the rows and that these can then be published which effectively copies/transfers * the values from the 'draft' table to the 'live' table. *

*

* Ebean Query supports 'find as draft' which builds the resulting object graph using * the draft tables. This object graph is typically edited, approved in some application * specific manor and then published. *

*

* EbeanServer has a publish method which transfers/copies the draft object graph to * the 'live' tables. *

*/ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Draftable { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy