Class ObjectViewColumnUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(ObjectViewColumn objectViewColumn) Caches the object view column in the entity cache if it is enabled.static void
cacheResult
(List<ObjectViewColumn> objectViewColumns) Caches the object view columns in the entity cache if it is enabled.static void
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, String objectFieldName) Returns the number of object view columns where objectViewId = ? and objectFieldName = ?.static int
countByUuid
(String uuid) Returns the number of object view columns where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object view columns where uuid = ? and companyId = ?.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, 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, 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 returnsnull
if it could not be found.static Map<Serializable,
ObjectViewColumn> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static ObjectViewColumn
fetchByUuid_C_First
(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
(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
(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
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) Returns the last object view column in the ordered set where uuid = ?.static List<ObjectViewColumn>
findAll()
Returns all the object view columns.static List<ObjectViewColumn>
findAll
(int start, int end) Returns a range of all the object view columns.static 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 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 List<ObjectViewColumn>
findByObjectViewId
(long objectViewId) Returns all the object view columns where objectViewId = ?.static List<ObjectViewColumn>
findByObjectViewId
(long objectViewId, int start, int end) Returns a range of all the object view columns where objectViewId = ?.static 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 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
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 List<ObjectViewColumn>
findByOVI_OFN
(long objectViewId, String objectFieldName) Returns all the object view columns where objectViewId = ? and objectFieldName = ?.static List<ObjectViewColumn>
findByOVI_OFN
(long objectViewId, String objectFieldName, int start, int end) Returns a range of all the object view columns where objectViewId = ? and objectFieldName = ?.static List<ObjectViewColumn>
findByOVI_OFN
(long objectViewId, 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 List<ObjectViewColumn>
findByOVI_OFN
(long objectViewId, 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
findByOVI_OFN_First
(long objectViewId, 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, 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, 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 ObjectViewColumn
findByPrimaryKey
(long objectViewColumnId) Returns the object view column with the primary key or throws aNoSuchObjectViewColumnException
if it could not be found.static List<ObjectViewColumn>
findByUuid
(String uuid) Returns all the object view columns where uuid = ?.static List<ObjectViewColumn>
findByUuid
(String uuid, int start, int end) Returns a range of all the object view columns where uuid = ?.static List<ObjectViewColumn>
findByUuid
(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 List<ObjectViewColumn>
findByUuid
(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 List<ObjectViewColumn>
findByUuid_C
(String uuid, long companyId) Returns all the object view columns where uuid = ? and companyId = ?.static List<ObjectViewColumn>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object view columns where uuid = ? and companyId = ?.static List<ObjectViewColumn>
findByUuid_C
(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 List<ObjectViewColumn>
findByUuid_C
(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_C_First
(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
(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, 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 ObjectViewColumn
findByUuid_First
(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
(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, 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 List<ObjectViewColumn>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectViewColumn>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static ObjectViewColumn
remove
(long objectViewColumnId) Removes the object view column with the primary key from the database.static void
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, String objectFieldName) Removes all the object view columns where objectViewId = ? and objectFieldName = ? from the database.static void
removeByUuid
(String uuid) Removes all the object view columns where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object view columns where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectViewColumnPersistence persistence) static ObjectViewColumn
update
(ObjectViewColumn objectViewColumn) static ObjectViewColumn
update
(ObjectViewColumn objectViewColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectViewColumn
updateImpl
(ObjectViewColumn objectViewColumn)
-
Constructor Details
-
ObjectViewColumnUtil
public ObjectViewColumnUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectViewColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectViewColumn update(ObjectViewColumn objectViewColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object view columns where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object view columns
-
findByUuid
Returns a range of all the object view columns where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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)- Returns:
- the range of matching object view columns
-
findByUuid
public static List<ObjectViewColumn> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object view columns
-
findByUuid
public static List<ObjectViewColumn> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object view columns
-
findByUuid_First
public static ObjectViewColumn findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the first object view column in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByUuid_First
public static ObjectViewColumn fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) Returns the first object view column in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column, or
null
if a matching object view column could not be found
-
findByUuid_Last
public static ObjectViewColumn findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the last object view column in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByUuid_Last
public static ObjectViewColumn fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) Returns the last object view column in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column, or
null
if a matching object view column could not be found
-
findByUuid_PrevAndNext
public static ObjectViewColumn[] findByUuid_PrevAndNext(long objectViewColumnId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the object view columns before and after the current object view column in the ordered set where uuid = ?.- Parameters:
objectViewColumnId
- the primary key of the current object view columnuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view column
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
removeByUuid
Removes all the object view columns where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object view columns where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object view columns
-
findByUuid_C
Returns all the object view columns where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object view columns
-
findByUuid_C
Returns a range of all the object view columns where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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)- Returns:
- the range of matching object view columns
-
findByUuid_C
public static List<ObjectViewColumn> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object view columns
-
findByUuid_C
public static List<ObjectViewColumn> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object view columns
-
findByUuid_C_First
public static ObjectViewColumn findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the first object view column in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByUuid_C_First
public static ObjectViewColumn fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column, or
null
if a matching object view column could not be found
-
findByUuid_C_Last
public static ObjectViewColumn findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the last object view column in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByUuid_C_Last
public static ObjectViewColumn fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column, or
null
if a matching object view column could not be found
-
findByUuid_C_PrevAndNext
public static ObjectViewColumn[] findByUuid_C_PrevAndNext(long objectViewColumnId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the object view columns before and after the current object view column in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectViewColumnId
- the primary key of the current object view columnuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view column
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
removeByUuid_C
Removes all the object view columns where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object view columns where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object view columns
-
findByObjectViewId
Returns all the object view columns where objectViewId = ?.- Parameters:
objectViewId
- the object view ID- Returns:
- the matching object view columns
-
findByObjectViewId
Returns a range of all the object view columns where objectViewId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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)- Returns:
- the range of matching object view columns
-
findByObjectViewId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object view columns
-
findByObjectViewId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object view columns
-
findByObjectViewId_First
public static ObjectViewColumn findByObjectViewId_First(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the first object view column in the ordered set where objectViewId = ?.- Parameters:
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByObjectViewId_First
public 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 = ?.- Parameters:
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column, or
null
if a matching object view column could not be found
-
findByObjectViewId_Last
public static ObjectViewColumn findByObjectViewId_Last(long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the last object view column in the ordered set where objectViewId = ?.- Parameters:
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByObjectViewId_Last
public 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 = ?.- Parameters:
objectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column, or
null
if a matching object view column could not be found
-
findByObjectViewId_PrevAndNext
public static ObjectViewColumn[] findByObjectViewId_PrevAndNext(long objectViewColumnId, long objectViewId, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ?.- Parameters:
objectViewColumnId
- the primary key of the current object view columnobjectViewId
- the object view IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view column
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
removeByObjectViewId
public static void removeByObjectViewId(long objectViewId) Removes all the object view columns where objectViewId = ? from the database.- Parameters:
objectViewId
- the object view ID
-
countByObjectViewId
public static int countByObjectViewId(long objectViewId) Returns the number of object view columns where objectViewId = ?.- Parameters:
objectViewId
- the object view ID- Returns:
- the number of matching object view columns
-
findByOVI_OFN
Returns all the object view columns where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field name- Returns:
- the matching object view columns
-
findByOVI_OFN
public static List<ObjectViewColumn> findByOVI_OFN(long objectViewId, String objectFieldName, int start, int end) Returns a range of all the object view columns where objectViewId = ? and objectFieldName = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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)- Returns:
- the range of matching object view columns
-
findByOVI_OFN
public static List<ObjectViewColumn> findByOVI_OFN(long objectViewId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching object view columns
-
findByOVI_OFN
public static List<ObjectViewColumn> findByOVI_OFN(long objectViewId, 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching object view columns
-
findByOVI_OFN_First
public static ObjectViewColumn findByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByOVI_OFN_First
public static ObjectViewColumn fetchByOVI_OFN_First(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) Returns the first object view column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view column, or
null
if a matching object view column could not be found
-
findByOVI_OFN_Last
public static ObjectViewColumn findByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column
- Throws:
NoSuchObjectViewColumnException
- if a matching object view column could not be foundNoSuchObjectViewColumnException
-
fetchByOVI_OFN_Last
public static ObjectViewColumn fetchByOVI_OFN_Last(long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) Returns the last object view column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view column, or
null
if a matching object view column could not be found
-
findByOVI_OFN_PrevAndNext
public static ObjectViewColumn[] findByOVI_OFN_PrevAndNext(long objectViewColumnId, long objectViewId, String objectFieldName, com.liferay.portal.kernel.util.OrderByComparator<ObjectViewColumn> orderByComparator) throws NoSuchObjectViewColumnException Returns the object view columns before and after the current object view column in the ordered set where objectViewId = ? and objectFieldName = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next object view column
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
removeByOVI_OFN
Removes all the object view columns where objectViewId = ? and objectFieldName = ? from the database.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field name
-
countByOVI_OFN
Returns the number of object view columns where objectViewId = ? and objectFieldName = ?.- Parameters:
objectViewId
- the object view IDobjectFieldName
- the object field name- Returns:
- the number of matching object view columns
-
cacheResult
Caches the object view column in the entity cache if it is enabled.- Parameters:
objectViewColumn
- the object view column
-
cacheResult
Caches the object view columns in the entity cache if it is enabled.- Parameters:
objectViewColumns
- the object view columns
-
create
Creates a new object view column with the primary key. Does not add the object view column to the database.- Parameters:
objectViewColumnId
- the primary key for the new object view column- Returns:
- the new object view column
-
remove
public static ObjectViewColumn remove(long objectViewColumnId) throws NoSuchObjectViewColumnException Removes the object view column with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectViewColumnId
- the primary key of the object view column- Returns:
- the object view column that was removed
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
updateImpl
-
findByPrimaryKey
public static ObjectViewColumn findByPrimaryKey(long objectViewColumnId) throws NoSuchObjectViewColumnException Returns the object view column with the primary key or throws aNoSuchObjectViewColumnException
if it could not be found.- Parameters:
objectViewColumnId
- the primary key of the object view column- Returns:
- the object view column
- Throws:
NoSuchObjectViewColumnException
- if a object view column with the primary key could not be foundNoSuchObjectViewColumnException
-
fetchByPrimaryKey
Returns the object view column with the primary key or returnsnull
if it could not be found.- Parameters:
objectViewColumnId
- the primary key of the object view column- Returns:
- the object view column, or
null
if a object view column with the primary key could not be found
-
findAll
Returns all the object view columns.- Returns:
- the object view columns
-
findAll
Returns a range of all the object view columns.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
start
- the lower bound of the range of object view columnsend
- the upper bound of the range of object view columns (not inclusive)- Returns:
- the range of object view columns
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of object view columns
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromObjectViewColumnModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object view columns
-
removeAll
public static void removeAll()Removes all the object view columns from the database. -
countAll
public static int countAll()Returns the number of object view columns.- Returns:
- the number of object view columns
-
getPersistence
-
setPersistence
-