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 void
cacheResult
(ObjectLayoutColumn objectLayoutColumn) Caches the object layout column in the entity cache if it is enabled.static void
cacheResult
(List<ObjectLayoutColumn> objectLayoutColumns) Caches the object layout columns in the entity cache if it is enabled.static void
static void
clearCache
(ObjectLayoutColumn objectLayoutColumn) static int
countAll()
Returns the number of object layout columns.static int
countByObjectFieldId
(long objectFieldId) Returns the number of object layout columns where objectFieldId = ?.static int
countByObjectLayoutRowId
(long objectLayoutRowId) Returns the number of object layout columns where objectLayoutRowId = ?.static int
countByUuid
(String uuid) Returns the number of object layout columns where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of object layout columns where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static ObjectLayoutColumn
create
(long objectLayoutColumnId) Creates a new object layout column with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.static ObjectLayoutColumn
fetchByPrimaryKey
(long objectLayoutColumnId) Returns the object layout column with the primary key or returnsnull
if it could not be found.static Map<Serializable,
ObjectLayoutColumn> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.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 ObjectLayoutColumn
findByObjectFieldId_First
(long objectFieldId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectFieldId = ?.static ObjectLayoutColumn
findByObjectFieldId_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 ObjectLayoutColumn
findByObjectLayoutRowId_First
(long objectLayoutRowId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where objectLayoutRowId = ?.static ObjectLayoutColumn
findByObjectLayoutRowId_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 ObjectLayoutColumn
findByPrimaryKey
(long objectLayoutColumnId) Returns the object layout column with the primary key or throws aNoSuchObjectLayoutColumnException
if 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 ObjectLayoutColumn
findByUuid_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 ObjectLayoutColumn
findByUuid_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 ObjectLayoutColumn
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutColumn> orderByComparator) Returns the first object layout column in the ordered set where uuid = ?.static ObjectLayoutColumn
findByUuid_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 ObjectLayoutColumn
remove
(long objectLayoutColumnId) Removes the object layout column with the primary key from the database.static void
Removes all the object layout columns from the database.static void
removeByObjectFieldId
(long objectFieldId) Removes all the object layout columns where objectFieldId = ? from the database.static void
removeByObjectLayoutRowId
(long objectLayoutRowId) Removes all the object layout columns where objectLayoutRowId = ? from the database.static void
removeByUuid
(String uuid) Removes all the object layout columns where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the object layout columns where uuid = ? and companyId = ? from the database.static void
setPersistence
(ObjectLayoutColumnPersistence persistence) static ObjectLayoutColumn
update
(ObjectLayoutColumn objectLayoutColumn) static ObjectLayoutColumn
update
(ObjectLayoutColumn objectLayoutColumn, com.liferay.portal.kernel.service.ServiceContext serviceContext) static ObjectLayoutColumn
updateImpl
(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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 aNoSuchObjectLayoutColumnException
if 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 returnsnull
if it could not be found.- Parameters:
objectLayoutColumnId
- the primary key of the object layout column- Returns:
- the object layout column, or
null
if 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 - 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 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 - 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 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 - 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 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
-