public class ModelAdapterUtil
extends java.lang.Object
Constructor and Description |
---|
ModelAdapterUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.List<T> |
adapt(java.lang.Class<T> clazz,
java.util.List<?> delegateObjects) |
static <T> T |
adapt(java.lang.Class<T> clazz,
java.lang.Object delegateObject) |
static <T> T[] |
adapt(java.lang.Class<T> clazz,
java.lang.Object[] delegateObjects) |
static <T,V> com.liferay.portal.kernel.util.OrderByComparator<T> |
adapt(java.lang.Class<V> clazz,
com.liferay.portal.kernel.util.OrderByComparator<V> orderByComparator) |
static <T,V> com.liferay.portal.kernel.dao.orm.QueryDefinition<T> |
adapt(java.lang.Class<V> clazz,
com.liferay.portal.kernel.dao.orm.QueryDefinition<V> queryDefinition) |
public static <T> java.util.List<T> adapt(java.lang.Class<T> clazz, java.util.List<?> delegateObjects)
public static <T> T adapt(java.lang.Class<T> clazz, java.lang.Object delegateObject)
public static <T> T[] adapt(java.lang.Class<T> clazz, java.lang.Object[] delegateObjects)
public static <T,V> com.liferay.portal.kernel.util.OrderByComparator<T> adapt(java.lang.Class<V> clazz, com.liferay.portal.kernel.util.OrderByComparator<V> orderByComparator)
public static <T,V> com.liferay.portal.kernel.dao.orm.QueryDefinition<T> adapt(java.lang.Class<V> clazz, com.liferay.portal.kernel.dao.orm.QueryDefinition<V> queryDefinition)