com.atlassian.jira.entity
Class Update
java.lang.Object
com.atlassian.jira.entity.Update
public class Update
- extends Object
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)
);
- Since:
- v5.0
- See Also:
EntityEngine.execute(Update.WhereContext)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Update
public Update()
into
public static Update.IntoContext into(String entityName)
into
public static Update.IntoContext into(EntityFactory entityFactory)
Copyright © 2002-2014 Atlassian. All Rights Reserved.