Class ObjectLayoutColumnUtil
com.liferay.object.service.persistence.impl.ObjectLayoutColumnPersistenceImpl 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 voidcacheResult(ObjectLayoutColumn objectLayoutColumn) Caches the object layout column in the entity cache if it is enabled.static voidcacheResult(List<ObjectLayoutColumn> objectLayoutColumns) Caches the object layout columns in the entity cache if it is enabled.static voidstatic voidclearCache(ObjectLayoutColumn objectLayoutColumn) static intcountAll()Returns the number of object layout columns.static intcountByObjectFieldId(long objectFieldId) Returns the number of object layout columns where objectFieldId = ?.static intcountByObjectLayoutRowId(long objectLayoutRowId) Returns the number of object layout columns where objectLayoutRowId = ?.static intcountByUuid(String uuid) Returns the number of object layout columns where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of object layout columns where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectLayoutColumncreate(long objectLayoutColumnId) Creates a new object layout column with the primary key.static ObjectLayoutColumnfetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectFieldId = ?.static ObjectLayoutColumnfetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectFieldId = ?.static ObjectLayoutColumnfetchByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumnfetchByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumnfetchByPrimaryKey(long objectLayoutColumnId) Returns the object layout column with the primary key or returnsnullif it could not be found.static Map<Serializable,ObjectLayoutColumn> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static ObjectLayoutColumnfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutColumnfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutColumnfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ?.static ObjectLayoutColumnfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where uuid = ?.static List<ObjectLayoutColumn>findAll()Returns all the object layout columns.static List<ObjectLayoutColumn>findAll(int start, int end) Returns a range of all the object layout columns.static List<ObjectLayoutColumn>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns.static List<ObjectLayoutColumn>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns.static List<ObjectLayoutColumn>findByObjectFieldId(long objectFieldId) Returns all the object layout columns where objectFieldId = ?.static List<ObjectLayoutColumn>findByObjectFieldId(long objectFieldId, int start, int end) Returns a range of all the object layout columns where objectFieldId = ?.static List<ObjectLayoutColumn>findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where objectFieldId = ?.static List<ObjectLayoutColumn>findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where objectFieldId = ?.static ObjectLayoutColumnfindByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectFieldId = ?.static ObjectLayoutColumnfindByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectFieldId = ?.static ObjectLayoutColumn[]findByObjectFieldId_PrevAndNext(long objectLayoutColumnId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the object layout columns before and after the current object layout column in the ordered set where objectFieldId = ?.static List<ObjectLayoutColumn>findByObjectLayoutRowId(long objectLayoutRowId) Returns all the object layout columns where objectLayoutRowId = ?.static List<ObjectLayoutColumn>findByObjectLayoutRowId(long objectLayoutRowId, int start, int end) Returns a range of all the object layout columns where objectLayoutRowId = ?.static List<ObjectLayoutColumn>findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.static List<ObjectLayoutColumn>findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.static ObjectLayoutColumnfindByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumnfindByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumn[]findByObjectLayoutRowId_PrevAndNext(long objectLayoutColumnId, long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the object layout columns before and after the current object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumnfindByPrimaryKey(long objectLayoutColumnId) Returns the object layout column with the primary key or throws aNoSuchObjectLayoutColumnExceptionif it could not be found.static List<ObjectLayoutColumn>findByUuid(String uuid) Returns all the object layout columns where uuid = ?.static List<ObjectLayoutColumn>findByUuid(String uuid, int start, int end) Returns a range of all the object layout columns where uuid = ?.static List<ObjectLayoutColumn>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where uuid = ?.static List<ObjectLayoutColumn>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where uuid = ?.static List<ObjectLayoutColumn>findByUuid_C(String uuid, long companyId) Returns all the object layout columns where uuid = ? and companyId = ?.static List<ObjectLayoutColumn>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object layout columns where uuid = ? and companyId = ?.static List<ObjectLayoutColumn>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.static List<ObjectLayoutColumn>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.static ObjectLayoutColumnfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutColumnfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutColumn[]findByUuid_C_PrevAndNext(long objectLayoutColumnId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ? and companyId = ?.static ObjectLayoutColumnfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ?.static ObjectLayoutColumnfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where uuid = ?.static ObjectLayoutColumn[]findByUuid_PrevAndNext(long objectLayoutColumnId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ?.static List<ObjectLayoutColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<ObjectLayoutColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<ObjectLayoutColumn>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) static ObjectLayoutColumnremove(long objectLayoutColumnId) Removes the object layout column with the primary key from the database.static voidRemoves all the object layout columns from the database.static voidremoveByObjectFieldId(long objectFieldId) Removes all the object layout columns where objectFieldId = ? from the database.static voidremoveByObjectLayoutRowId(long objectLayoutRowId) Removes all the object layout columns where objectLayoutRowId = ? from the database.static voidremoveByUuid(String uuid) Removes all the object layout columns where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the object layout columns where uuid = ? and companyId = ? from the database.static voidsetPersistence(ObjectLayoutColumnPersistence persistence) static ObjectLayoutColumnupdate(ObjectLayoutColumn objectLayoutColumn) static ObjectLayoutColumnupdate(ObjectLayoutColumn objectLayoutColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectLayoutColumnupdateImpl(ObjectLayoutColumn objectLayoutColumn)
-
Constructor Details
-
ObjectLayoutColumnUtil
public ObjectLayoutColumnUtil()
-
-
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
public static Map<Serializable,ObjectLayoutColumn> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<ObjectLayoutColumn> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static ObjectLayoutColumn update(ObjectLayoutColumn objectLayoutColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the object layout columns where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object layout columns
-
findByUuid
Returns a range of all the object layout columns where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)- Returns:
- the range of matching object layout columns
-
findByUuid
public static List<ObjectLayoutColumn> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layout columns
-
findByUuid
public static List<ObjectLayoutColumn> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout 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 layout columns
-
findByUuid_First
public static ObjectLayoutColumn findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the first object layout column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByUuid_First
public static ObjectLayoutColumn fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column, or
nullif a matching object layout column could not be found
-
findByUuid_Last
public static ObjectLayoutColumn findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the last object layout column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByUuid_Last
public static ObjectLayoutColumn fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column, or
nullif a matching object layout column could not be found
-
findByUuid_PrevAndNext
public static ObjectLayoutColumn[] findByUuid_PrevAndNext(long objectLayoutColumnId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ?.- Parameters:
objectLayoutColumnId- the primary key of the current object layout columnuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
removeByUuid
Removes all the object layout columns where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object layout columns where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object layout columns
-
findByUuid_C
Returns all the object layout columns where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object layout columns
-
findByUuid_C
public static List<ObjectLayoutColumn> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object layout columns where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)- Returns:
- the range of matching object layout columns
-
findByUuid_C
public static List<ObjectLayoutColumn> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layout columns
-
findByUuid_C
public static List<ObjectLayoutColumn> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout 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 layout columns
-
findByUuid_C_First
public static ObjectLayoutColumn findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the first object layout 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 layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByUuid_C_First
public static ObjectLayoutColumn fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout 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 layout column, or
nullif a matching object layout column could not be found
-
findByUuid_C_Last
public static ObjectLayoutColumn findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the last object layout 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 layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByUuid_C_Last
public static ObjectLayoutColumn fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout 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 layout column, or
nullif a matching object layout column could not be found
-
findByUuid_C_PrevAndNext
public static ObjectLayoutColumn[] findByUuid_C_PrevAndNext(long objectLayoutColumnId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the object layout columns before and after the current object layout column in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutColumnId- the primary key of the current object layout columnuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
removeByUuid_C
Removes all the object layout columns where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object layout columns where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object layout columns
-
findByObjectFieldId
Returns all the object layout columns where objectFieldId = ?.- Parameters:
objectFieldId- the object field ID- Returns:
- the matching object layout columns
-
findByObjectFieldId
Returns a range of all the object layout columns where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)- Returns:
- the range of matching object layout columns
-
findByObjectFieldId
public static List<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layout columns
-
findByObjectFieldId
public static List<ObjectLayoutColumn> findByObjectFieldId(long objectFieldId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where objectFieldId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectFieldId- the object field IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout 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 layout columns
-
findByObjectFieldId_First
public static ObjectLayoutColumn findByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the first object layout column in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByObjectFieldId_First
public static ObjectLayoutColumn fetchByObjectFieldId_First(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column, or
nullif a matching object layout column could not be found
-
findByObjectFieldId_Last
public static ObjectLayoutColumn findByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the last object layout column in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByObjectFieldId_Last
public static ObjectLayoutColumn fetchByObjectFieldId_Last(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectFieldId = ?.- Parameters:
objectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column, or
nullif a matching object layout column could not be found
-
findByObjectFieldId_PrevAndNext
public static ObjectLayoutColumn[] findByObjectFieldId_PrevAndNext(long objectLayoutColumnId, long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the object layout columns before and after the current object layout column in the ordered set where objectFieldId = ?.- Parameters:
objectLayoutColumnId- the primary key of the current object layout columnobjectFieldId- the object field IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
removeByObjectFieldId
public static void removeByObjectFieldId(long objectFieldId) Removes all the object layout columns where objectFieldId = ? from the database.- Parameters:
objectFieldId- the object field ID
-
countByObjectFieldId
public static int countByObjectFieldId(long objectFieldId) Returns the number of object layout columns where objectFieldId = ?.- Parameters:
objectFieldId- the object field ID- Returns:
- the number of matching object layout columns
-
findByObjectLayoutRowId
Returns all the object layout columns where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row ID- Returns:
- the matching object layout columns
-
findByObjectLayoutRowId
public static List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, int start, int end) Returns a range of all the object layout columns where objectLayoutRowId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectLayoutRowId- the object layout row IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)- Returns:
- the range of matching object layout columns
-
findByObjectLayoutRowId
public static List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectLayoutRowId- the object layout row IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layout columns
-
findByObjectLayoutRowId
public static List<ObjectLayoutColumn> findByObjectLayoutRowId(long objectLayoutRowId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns where objectLayoutRowId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
objectLayoutRowId- the object layout row IDstart- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout 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 layout columns
-
findByObjectLayoutRowId_First
public static ObjectLayoutColumn findByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the first object layout column in the ordered set where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByObjectLayoutRowId_First
public static ObjectLayoutColumn fetchByObjectLayoutRowId_First(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout column, or
nullif a matching object layout column could not be found
-
findByObjectLayoutRowId_Last
public static ObjectLayoutColumn findByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the last object layout column in the ordered set where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a matching object layout column could not be foundNoSuchObjectLayoutColumnException
-
fetchByObjectLayoutRowId_Last
public static ObjectLayoutColumn fetchByObjectLayoutRowId_Last(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the last object layout column in the ordered set where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching object layout column, or
nullif a matching object layout column could not be found
-
findByObjectLayoutRowId_PrevAndNext
public static ObjectLayoutColumn[] findByObjectLayoutRowId_PrevAndNext(long objectLayoutColumnId, long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) throws NoSuchObjectLayoutColumnException Returns the object layout columns before and after the current object layout column in the ordered set where objectLayoutRowId = ?.- Parameters:
objectLayoutColumnId- the primary key of the current object layout columnobjectLayoutRowId- the object layout row IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
removeByObjectLayoutRowId
public static void removeByObjectLayoutRowId(long objectLayoutRowId) Removes all the object layout columns where objectLayoutRowId = ? from the database.- Parameters:
objectLayoutRowId- the object layout row ID
-
countByObjectLayoutRowId
public static int countByObjectLayoutRowId(long objectLayoutRowId) Returns the number of object layout columns where objectLayoutRowId = ?.- Parameters:
objectLayoutRowId- the object layout row ID- Returns:
- the number of matching object layout columns
-
cacheResult
Caches the object layout column in the entity cache if it is enabled.- Parameters:
objectLayoutColumn- the object layout column
-
cacheResult
Caches the object layout columns in the entity cache if it is enabled.- Parameters:
objectLayoutColumns- the object layout columns
-
create
Creates a new object layout column with the primary key. Does not add the object layout column to the database.- Parameters:
objectLayoutColumnId- the primary key for the new object layout column- Returns:
- the new object layout column
-
remove
public static ObjectLayoutColumn remove(long objectLayoutColumnId) throws NoSuchObjectLayoutColumnException Removes the object layout column with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutColumnId- the primary key of the object layout column- Returns:
- the object layout column that was removed
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
updateImpl
-
findByPrimaryKey
public static ObjectLayoutColumn findByPrimaryKey(long objectLayoutColumnId) throws NoSuchObjectLayoutColumnException Returns the object layout column with the primary key or throws aNoSuchObjectLayoutColumnExceptionif it could not be found.- Parameters:
objectLayoutColumnId- the primary key of the object layout column- Returns:
- the object layout column
- Throws:
NoSuchObjectLayoutColumnException- if a object layout column with the primary key could not be foundNoSuchObjectLayoutColumnException
-
fetchByPrimaryKey
Returns the object layout column with the primary key or returnsnullif it could not be found.- Parameters:
objectLayoutColumnId- the primary key of the object layout column- Returns:
- the object layout column, or
nullif a object layout column with the primary key could not be found
-
findAll
Returns all the object layout columns.- Returns:
- the object layout columns
-
findAll
Returns a range of all the object layout columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
start- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)- Returns:
- the range of object layout columns
-
findAll
public static List<ObjectLayoutColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns an ordered range of all the object layout columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
start- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout columns (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object layout columns
-
findAll
public static List<ObjectLayoutColumn> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout columns.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromObjectLayoutColumnModelImpl.- Parameters:
start- the lower bound of the range of object layout columnsend- the upper bound of the range of object layout 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 layout columns
-
removeAll
public static void removeAll()Removes all the object layout columns from the database. -
countAll
public static int countAll()Returns the number of object layout columns.- Returns:
- the number of object layout columns
-
getPersistence
-
setPersistence
-