public class ObjectViewColumnUtil
extends java.lang.Object
com.liferay.object.service.persistence.impl.ObjectViewColumnPersistenceImpl
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
ObjectViewColumnPersistence
Constructor and Description |
---|
ObjectViewColumnUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<ObjectViewColumn> objectViewColumns)
Caches the object view columns in the entity cache if it is enabled.
|
static void |
cacheResult(ObjectViewColumn objectViewColumn)
Caches the object view column in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(ObjectViewColumn objectViewColumn) |
static int |
countAll()
Returns the number of object view columns.
|
static int |
countByObjectViewId(long objectViewId)
Returns the number of object view columns where objectViewId = ?.
|
static int |
countByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Returns the number of object view columns where objectViewId = ? and objectFieldName = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of object view columns where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of object view columns where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static ObjectViewColumn |
create(long objectViewColumnId)
Creates a new object view column with the primary key.
|
static ObjectViewColumn |
fetchByObjectViewId_First(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where objectViewId = ?.
|
static ObjectViewColumn |
fetchByObjectViewId_Last(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where objectViewId = ?.
|
static ObjectViewColumn |
fetchByOVI_OFN_First(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewColumn |
fetchByOVI_OFN_Last(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewColumn |
fetchByPrimaryKey(long objectViewColumnId)
Returns the object view column with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,ObjectViewColumn> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static ObjectViewColumn |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewColumn |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewColumn |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where uuid = ?.
|
static ObjectViewColumn |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findAll()
Returns all the object view columns.
|
static java.util.List<ObjectViewColumn> |
findAll(int start,
int end)
Returns a range of all the object view columns.
|
static java.util.List<ObjectViewColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns an ordered range of all the object view columns.
|
static java.util.List<ObjectViewColumn> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view columns.
|
static ObjectViewColumn |
findByObjectViewId_First(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where objectViewId = ?.
|
static ObjectViewColumn |
findByObjectViewId_Last(long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where objectViewId = ?.
|
static ObjectViewColumn[] |
findByObjectViewId_PrevAndNext(long objectViewColumnId,
long objectViewId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ?.
|
static java.util.List<ObjectViewColumn> |
findByObjectViewId(long objectViewId)
Returns all the object view columns where objectViewId = ?.
|
static java.util.List<ObjectViewColumn> |
findByObjectViewId(long objectViewId,
int start,
int end)
Returns a range of all the object view columns where objectViewId = ?.
|
static java.util.List<ObjectViewColumn> |
findByObjectViewId(long objectViewId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns an ordered range of all the object view columns where objectViewId = ?.
|
static java.util.List<ObjectViewColumn> |
findByObjectViewId(long objectViewId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view columns where objectViewId = ?.
|
static ObjectViewColumn |
findByOVI_OFN_First(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewColumn |
findByOVI_OFN_Last(long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewColumn[] |
findByOVI_OFN_PrevAndNext(long objectViewColumnId,
long objectViewId,
java.lang.String objectFieldName,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Returns all the object view columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end)
Returns a range of all the object view columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns an ordered range of all the object view columns where objectViewId = ? and objectFieldName = ?.
|
static java.util.List<ObjectViewColumn> |
findByOVI_OFN(long objectViewId,
java.lang.String objectFieldName,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view columns where objectViewId = ? and objectFieldName = ?.
|
static ObjectViewColumn |
findByPrimaryKey(long objectViewColumnId)
Returns the object view column with the primary key or throws a
NoSuchObjectViewColumnException if it could not be found. |
static ObjectViewColumn |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewColumn |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where uuid = ? and companyId = ?.
|
static ObjectViewColumn[] |
findByUuid_C_PrevAndNext(long objectViewColumnId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the object view columns before and after the current object view column in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object view columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object view columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns an ordered range of all the object view columns where uuid = ? and companyId = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view columns where uuid = ? and companyId = ?.
|
static ObjectViewColumn |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the first object view column in the ordered set where uuid = ?.
|
static ObjectViewColumn |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the last object view column in the ordered set where uuid = ?.
|
static ObjectViewColumn[] |
findByUuid_PrevAndNext(long objectViewColumnId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns the object view columns before and after the current object view column in the ordered set where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid(java.lang.String uuid)
Returns all the object view columns where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object view columns where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
Returns an ordered range of all the object view columns where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the object view columns where uuid = ?.
|
static java.util.List<ObjectViewColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<ObjectViewColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<ObjectViewColumn> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) |
static ObjectViewColumnPersistence |
getPersistence() |
static ObjectViewColumn |
remove(long objectViewColumnId)
Removes the object view column with the primary key from the database.
|
static void |
removeAll()
Removes all the object view columns from the database.
|
static void |
removeByObjectViewId(long objectViewId)
Removes all the object view columns where objectViewId = ? from the database.
|
static void |
removeByOVI_OFN(long objectViewId,
java.lang.String objectFieldName)
Removes all the object view columns where objectViewId = ? and objectFieldName = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the object view columns where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the object view columns where uuid = ? from the database.
|
static ObjectViewColumn |
update(ObjectViewColumn objectViewColumn) |
static ObjectViewColumn |
update(ObjectViewColumn objectViewColumn,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static ObjectViewColumn |
updateImpl(ObjectViewColumn objectViewColumn) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(ObjectViewColumn objectViewColumn)
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,ObjectViewColumn> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static ObjectViewColumn update(ObjectViewColumn objectViewColumn)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static ObjectViewColumn update(ObjectViewColumn objectViewColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<ObjectViewColumn> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)public static java.util.List<ObjectViewColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewColumn> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewColumn findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn[] findByUuid_PrevAndNext(long objectViewColumnId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewColumnId
- the primary key of the current object view columnuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a object view 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<ObjectViewColumn> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)public static java.util.List<ObjectViewColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewColumn> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewColumn findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn[] findByUuid_C_PrevAndNext(long objectViewColumnId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewColumnId
- the primary key of the current object view columnuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a object view 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<ObjectViewColumn> findByObjectViewId(long objectViewId)
objectViewId
- the object view IDpublic static java.util.List<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)public static java.util.List<ObjectViewColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewColumn> findByObjectViewId(long objectViewId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDstart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewColumn findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn findByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator)
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view column could not be foundpublic static ObjectViewColumn[] findByObjectViewId_PrevAndNext(long objectViewColumnId, long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewColumnId
- the primary key of the current object view columnobjectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a object view 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<ObjectViewColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName)
objectViewId
- the object view IDobjectFieldName
- the object field namepublic static java.util.List<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)public static java.util.List<ObjectViewColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewColumn> findByOVI_OFN(long objectViewId, java.lang.String objectFieldName, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
objectViewId
- the object view IDobjectFieldName
- the object field namestart
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static ObjectViewColumn findByOVI_OFN_First(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByOVI_OFN_First(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 column could not be foundpublic static ObjectViewColumn findByOVI_OFN_Last(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a matching object view column could not be foundpublic static ObjectViewColumn fetchByOVI_OFN_Last(long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 column could not be foundpublic static ObjectViewColumn[] findByOVI_OFN_PrevAndNext(long objectViewColumnId, long objectViewId, java.lang.String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException
objectViewColumnId
- the primary key of the current object view columnobjectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewColumnException
- if a object view 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(ObjectViewColumn objectViewColumn)
objectViewColumn
- the object view columnpublic static void cacheResult(java.util.List<ObjectViewColumn> objectViewColumns)
objectViewColumns
- the object view columnspublic static ObjectViewColumn create(long objectViewColumnId)
objectViewColumnId
- the primary key for the new object view columnpublic static ObjectViewColumn remove(long objectViewColumnId) throws NoSuchObjectViewColumnException
objectViewColumnId
- the primary key of the object view columnNoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundpublic static ObjectViewColumn updateImpl(ObjectViewColumn objectViewColumn)
public static ObjectViewColumn findByPrimaryKey(long objectViewColumnId) throws NoSuchObjectViewColumnException
NoSuchObjectViewColumnException
if it could not be found.objectViewColumnId
- the primary key of the object view columnNoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundpublic static ObjectViewColumn fetchByPrimaryKey(long objectViewColumnId)
null
if it could not be found.objectViewColumnId
- the primary key of the object view columnnull
if a object view column with the primary key could not be foundpublic static java.util.List<ObjectViewColumn> findAll()
public static java.util.List<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
start
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)public static java.util.List<ObjectViewColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
start
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<ObjectViewColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> 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 ObjectViewColumnModelImpl
.
start
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view 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 ObjectViewColumnPersistence getPersistence()