|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.core.ofbiz.util.EntityUtils
EntityUtils
instead. Since v5.1.
public class EntityUtils
This was taken from atlassian-ofbiz and placed into its now rightful home of JIRA.
Constructor Summary | |
---|---|
EntityUtils()
Deprecated. |
Method Summary | |
---|---|
static boolean |
contains(Collection<org.ofbiz.core.entity.GenericValue> entities,
org.ofbiz.core.entity.GenericValue entity)
Deprecated. Not used in JIRA code - please replicate this if you want to use it. Since v5.1. |
static org.ofbiz.core.entity.GenericValue |
createValue(String entity,
Map<String,?> paramMap)
Deprecated. Use EntityUtils.createValue(String, java.util.Map) instead. Since v5.1. |
static List<org.ofbiz.core.entity.GenericValue> |
filterByAnd(List<org.ofbiz.core.entity.GenericValue> values,
List<? extends org.ofbiz.core.entity.EntityExpr> exprs)
Deprecated. Use EntityUtil.filterByAnd(java.util.List, java.util.List) instead or write your own filter. Since v5.1. |
static String |
getNextStringId(String entityName)
Deprecated. Use EntityUtils.identical(org.ofbiz.core.entity.GenericValue, org.ofbiz.core.entity.GenericValue) instead. Since v5.1. |
static org.ofbiz.core.entity.EntityOperator |
getOperator(String code)
Deprecated. Not used in JIRA code - please replicate this if you want to use it. Since v5.1. |
static boolean |
identical(org.ofbiz.core.entity.GenericValue v1,
org.ofbiz.core.entity.GenericValue v2)
Deprecated. Use EntityUtils.identical(org.ofbiz.core.entity.GenericValue, org.ofbiz.core.entity.GenericValue) instead. Since v5.1. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityUtils()
Method Detail |
---|
public static org.ofbiz.core.entity.EntityOperator getOperator(String code)
public static org.ofbiz.core.entity.GenericValue createValue(String entity, Map<String,?> paramMap) throws org.ofbiz.core.entity.GenericEntityException
EntityUtils.createValue(String, java.util.Map)
instead. Since v5.1.
org.ofbiz.core.entity.GenericEntityException
public static boolean identical(org.ofbiz.core.entity.GenericValue v1, org.ofbiz.core.entity.GenericValue v2)
EntityUtils.identical(org.ofbiz.core.entity.GenericValue, org.ofbiz.core.entity.GenericValue)
instead. Since v5.1.
public static boolean contains(Collection<org.ofbiz.core.entity.GenericValue> entities, org.ofbiz.core.entity.GenericValue entity)
entities
- The list of entities to searchentity
- The entity to search for and compare to
public static List<org.ofbiz.core.entity.GenericValue> filterByAnd(List<org.ofbiz.core.entity.GenericValue> values, List<? extends org.ofbiz.core.entity.EntityExpr> exprs)
EntityUtil.filterByAnd(java.util.List, java.util.List)
instead or write your own filter. Since v5.1.
values
- A collection of GenericValuesexprs
- The expressions that must validate to true
public static String getNextStringId(String entityName) throws org.ofbiz.core.entity.GenericEntityException
EntityUtils.identical(org.ofbiz.core.entity.GenericValue, org.ofbiz.core.entity.GenericValue)
instead. Since v5.1.
org.ofbiz.core.entity.GenericEntityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |