public class ObjectViewSortColumnUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectViewSortColumnPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
ObjectViewSortColumnPersistence
Constructor and Description |
---|
ObjectViewSortColumnUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectViewSortColumn> objectViewSortColumns)
Caches the object view sort columns in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectViewSortColumn objectViewSortColumn)
Caches the object view sort column in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectViewSortColumn objectViewSortColumn) |
static int |
countAll()
Returns the number of object view sort columns.
|
static int |
countByObjectViewId(long objectViewId)
Returns the number of object view sort columns where objectViewId = ?.
|
static int |
countByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Returns the number of object view sort columns where objectViewId = ? and objectFieldName = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object view sort columns where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object view sort columns where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectViewSortColumn |
create(long objectViewSortColumnId)
Creates a new object view sort column with the primary key.
|
static ObjectViewSortColumn |
fetchByObjectViewId_First(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where objectViewId = ?.
|
static ObjectViewSortColumn |
fetchByObjectViewId_Last(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where objectViewId = ?.
|
static ObjectViewSortColumn |
fetchByOVI_OFN_First(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewSortColumn |
fetchByOVI_OFN_Last(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewSortColumn |
fetchByPrimaryKey(long objectViewSortColumnId)
Returns the object view sort column with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectViewSortColumn> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectViewSortColumn |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewSortColumn |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewSortColumn |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where uuid = ?.
|
static ObjectViewSortColumn |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findAll()
Returns all the object view sort columns.
|
static java.util.List<ObjectViewSortColumn> |
findAll(int start,
int end)
Returns a range of all the object view sort columns.
|
static java.util.List<ObjectViewSortColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns an ordered range of all the object view sort columns.
|
static java.util.List<ObjectViewSortColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view sort columns.
|
static ObjectViewSortColumn |
findByObjectViewId_First(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where objectViewId = ?.
|
static ObjectViewSortColumn |
findByObjectViewId_Last(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where objectViewId = ?.
|
static ObjectViewSortColumn[] |
findByObjectViewId_PrevAndNext(long objectViewSortColumnId,
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByObjectViewId(long objectViewId)
Returns all the object view sort columns where objectViewId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByObjectViewId(long objectViewId,
int start,
int end)
Returns a range of all the object view sort columns where objectViewId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByObjectViewId(long objectViewId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns an ordered range of all the object view sort columns where objectViewId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByObjectViewId(long objectViewId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view sort columns where objectViewId = ?.
|
static ObjectViewSortColumn |
findByOVI_OFN_First(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewSortColumn |
findByOVI_OFN_Last(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewSortColumn[] |
findByOVI_OFN_PrevAndNext(long objectViewSortColumnId,
long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the object view sort columns before and after the current object view sort column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Returns all the object view sort columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end)
Returns a range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view sort columns where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewSortColumn |
findByPrimaryKey(long objectViewSortColumnId)
Returns the object view sort column with the primary key or throws a
NoSuchObjectViewSortColumnException if it could not be found. |
static ObjectViewSortColumn |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewSortColumn |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewSortColumn[] |
findByUuid_C_PrevAndNext(long objectViewSortColumnId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object view sort columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object view sort columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns an ordered range of all the object view sort columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view sort columns where uuid = ? and companyId = ?.
|
static ObjectViewSortColumn |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the first object view sort column in the ordered set where uuid = ?.
|
static ObjectViewSortColumn |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the last object view sort column in the ordered set where uuid = ?.
|
static ObjectViewSortColumn[] |
findByUuid_PrevAndNext(long objectViewSortColumnId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns the object view sort columns before and after the current object view sort column in the ordered set where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid(java.lang.String uuid)
Returns all the object view sort columns where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object view sort columns where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Returns an ordered range of all the object view sort columns where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view sort columns where uuid = ?.
|
static java.util.List<ObjectViewSortColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectViewSortColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectViewSortColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) |
static ObjectViewSortColumnPersistence |
getPersistence() |
static ObjectViewSortColumn |
remove(long objectViewSortColumnId)
Removes the object view sort column with the primary key from the database.
|
static void |
removeAll()
Removes all the object view sort columns from the database.
|
static void |
removeByObjectViewId(long objectViewId)
Removes all the object view sort columns where objectViewId = ? from the database.
|
static void |
removeByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Removes all the object view sort columns where objectViewId = ? and objectFieldName = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object view sort columns where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object view sort columns where uuid = ? from the database.
|
static ObjectViewSortColumn |
update(ObjectViewSortColumn objectViewSortColumn) |
static ObjectViewSortColumn |
update(ObjectViewSortColumn objectViewSortColumn,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectViewSortColumn |
updateImpl(ObjectViewSortColumn objectViewSortColumn) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectViewSortColumn objectViewSortColumn)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,ObjectViewSortColumn> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectViewSortColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectViewSortColumn update(ObjectViewSortColumn objectViewSortColumn)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectViewSortColumn update(ObjectViewSortColumn objectViewSortColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectViewSortColumn> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectViewSortColumn> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)public static java.util.List<ObjectViewSortColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewSortColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewSortColumn findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn[] findByUuid_PrevAndNext(long objectViewSortColumnId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewSortColumnId
- the primary key of the current object view sort columnuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectViewSortColumn> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectViewSortColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)public static java.util.List<ObjectViewSortColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewSortColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewSortColumn findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn[] findByUuid_C_PrevAndNext(long objectViewSortColumnId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewSortColumnId
- the primary key of the current object view sort columnuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectViewSortColumn> findByObjectViewId(long objectViewId)
objectViewId
- the object view IDpublic static java.util.List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)public static java.util.List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewSortColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewSortColumn findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn findByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn[] findByObjectViewId_PrevAndNext(long objectViewSortColumnId, long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewSortColumnId
- the primary key of the current object view sort columnobjectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static void removeByObjectViewId(long objectViewId)
objectViewId
- the object view IDpublic static int countByObjectViewId(long objectViewId)
objectViewId
- the object view IDpublic static java.util.List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName)
objectViewId
- the object view IDobjectFieldName
- the object field namepublic static java.util.List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)public static java.util.List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewSortColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewSortColumn findByOVI_OFN_First(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByOVI_OFN_First(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn findByOVI_OFN_Last(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a matching object view sort column could not be foundpublic static ObjectViewSortColumn fetchByOVI_OFN_Last(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view sort column could not be foundpublic static ObjectViewSortColumn[] findByOVI_OFN_PrevAndNext(long objectViewSortColumnId, long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator) throws NoSuchObjectViewSortColumnException
objectViewSortColumnId
- the primary key of the current object view sort columnobjectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static void removeByOVI_OFN(long objectViewId, java.lang.String objectFieldName)
objectViewId
- the object view IDobjectFieldName
- the object field namepublic static int countByOVI_OFN(long objectViewId, java.lang.String objectFieldName)
objectViewId
- the object view IDobjectFieldName
- the object field namepublic static void cacheResult(ObjectViewSortColumn objectViewSortColumn)
objectViewSortColumn
- the object view sort columnpublic static void cacheResult(java.util.List<ObjectViewSortColumn> objectViewSortColumns)
objectViewSortColumns
- the object view sort columnspublic static ObjectViewSortColumn create(long objectViewSortColumnId)
objectViewSortColumnId
- the primary key for the new object view sort columnpublic static ObjectViewSortColumn remove(long objectViewSortColumnId) throws NoSuchObjectViewSortColumnException
objectViewSortColumnId
- the primary key of the object view sort columnNoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static ObjectViewSortColumn updateImpl(ObjectViewSortColumn objectViewSortColumn)
public static ObjectViewSortColumn findByPrimaryKey(long objectViewSortColumnId) throws NoSuchObjectViewSortColumnException
NoSuchObjectViewSortColumnException
if it could not be found.objectViewSortColumnId
- the primary key of the object view sort columnNoSuchObjectViewSortColumnException
- if a object view sort column with the primary key could not be foundpublic static ObjectViewSortColumn fetchByPrimaryKey(long objectViewSortColumnId)
null
if it could not be found.objectViewSortColumnId
- the primary key of the object view sort columnnull
if a object view sort column with the primary key could not be foundpublic static java.util.List<ObjectViewSortColumn> findAll()
public static java.util.List<ObjectViewSortColumn> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
start
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)public static java.util.List<ObjectViewSortColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
start
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewSortColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewSortColumn> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewSortColumnModelImpl
.
start
- the lower bound of the range of object view sort columnsend
- the upper bound of the range of object view sort columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static ObjectViewSortColumnPersistence getPersistence()