public class

Update

extends Object
java.lang.Object
   ↳ com.atlassian.jira.entity.Update

Class Overview

This class is a fluent builder to create an Update SQL statement to be executed by Entity Engine.

You can run this like:

     Update.into("Project").set("counter", counter).whereEqual("key", projectKey).execute(ofBizDelegator);
 
or:
     entityEngine.execute(
         Update.into("Project").set("counter", counter).whereEqual("key", projectKey)
     );
 

Summary

Nested Classes
class Update.IntoContext  
class Update.SetContext  
class Update.WhereContext  
Public Constructors
Update()
Public Methods
static Update.IntoContext into(EntityFactory entityFactory)
static Update.IntoContext into(String entityName)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Update ()

Public Methods

public static Update.IntoContext into (EntityFactory entityFactory)

public static Update.IntoContext into (String entityName)