Interface ObjectLayoutRowPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayoutRow>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectLayoutRow objectLayoutRow) Caches the object layout row in the entity cache if it is enabled.void
cacheResult
(List<ObjectLayoutRow> objectLayoutRows) Caches the object layout rows in the entity cache if it is enabled.int
countAll()
Returns the number of object layout rows.int
countByObjectLayoutBoxId
(long objectLayoutBoxId) Returns the number of object layout rows where objectLayoutBoxId = ?.int
countByUuid
(String uuid) Returns the number of object layout rows where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object layout rows where uuid = ? and companyId = ?.create
(long objectLayoutRowId) Creates a new object layout row with the primary key.fetchByObjectLayoutBoxId_First
(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.fetchByObjectLayoutBoxId_Last
(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where objectLayoutBoxId = ?.fetchByPrimaryKey
(long objectLayoutRowId) Returns the object layout row with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where uuid = ?.findAll()
Returns all the object layout rows.findAll
(int start, int end) Returns a range of all the object layout rows.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows.findByObjectLayoutBoxId
(long objectLayoutBoxId) Returns all the object layout rows where objectLayoutBoxId = ?.findByObjectLayoutBoxId
(long objectLayoutBoxId, int start, int end) Returns a range of all the object layout rows where objectLayoutBoxId = ?.findByObjectLayoutBoxId
(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.findByObjectLayoutBoxId
(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.findByObjectLayoutBoxId_First
(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.findByObjectLayoutBoxId_Last
(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where objectLayoutBoxId = ?.findByObjectLayoutBoxId_PrevAndNext
(long objectLayoutRowId, long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the object layout rows before and after the current object layout row in the ordered set where objectLayoutBoxId = ?.findByPrimaryKey
(long objectLayoutRowId) Returns the object layout row with the primary key or throws aNoSuchObjectLayoutRowException
if it could not be found.findByUuid
(String uuid) Returns all the object layout rows where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object layout rows where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the object layout rows where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object layout rows where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectLayoutRowId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectLayoutRowId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ?.remove
(long objectLayoutRowId) Removes the object layout row with the primary key from the database.void
Removes all the object layout rows from the database.void
removeByObjectLayoutBoxId
(long objectLayoutBoxId) Removes all the object layout rows where objectLayoutBoxId = ? from the database.void
removeByUuid
(String uuid) Removes all the object layout rows where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object layout rows where uuid = ? and companyId = ? from the database.updateImpl
(ObjectLayoutRow objectLayoutRow) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByUuid
Returns all the object layout rows where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object layout rows
-
findByUuid
Returns a range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)- Returns:
- the range of matching object layout rows
-
findByUuid
List<ObjectLayoutRow> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout rows
-
findByUuid
List<ObjectLayoutRow> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (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 rows
-
findByUuid_First
ObjectLayoutRow findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the first object layout row in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByUuid_First
ObjectLayoutRow fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout row, or
null
if a matching object layout row could not be found
-
findByUuid_Last
ObjectLayoutRow findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the last object layout row in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByUuid_Last
ObjectLayoutRow fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout row, or
null
if a matching object layout row could not be found
-
findByUuid_PrevAndNext
ObjectLayoutRow[] findByUuid_PrevAndNext(long objectLayoutRowId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ?.- Parameters:
objectLayoutRowId
- the primary key of the current object layout rowuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a object layout row with the primary key could not be found
-
removeByUuid
Removes all the object layout rows where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object layout rows where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object layout rows
-
findByUuid_C
Returns all the object layout rows where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object layout rows
-
findByUuid_C
Returns a range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)- Returns:
- the range of matching object layout rows
-
findByUuid_C
List<ObjectLayoutRow> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout rows
-
findByUuid_C
List<ObjectLayoutRow> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows 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 fromObjectLayoutRowModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (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 rows
-
findByUuid_C_First
ObjectLayoutRow findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the first object layout row 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 row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByUuid_C_First
ObjectLayoutRow fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row 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 row, or
null
if a matching object layout row could not be found
-
findByUuid_C_Last
ObjectLayoutRow findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the last object layout row 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 row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByUuid_C_Last
ObjectLayoutRow fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row 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 row, or
null
if a matching object layout row could not be found
-
findByUuid_C_PrevAndNext
ObjectLayoutRow[] findByUuid_C_PrevAndNext(long objectLayoutRowId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the object layout rows before and after the current object layout row in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutRowId
- the primary key of the current object layout rowuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a object layout row with the primary key could not be found
-
removeByUuid_C
Removes all the object layout rows where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object layout rows where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object layout rows
-
findByObjectLayoutBoxId
Returns all the object layout rows where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box ID- Returns:
- the matching object layout rows
-
findByObjectLayoutBoxId
Returns a range of all the object layout rows where objectLayoutBoxId = ?.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 fromObjectLayoutRowModelImpl
.- Parameters:
objectLayoutBoxId
- the object layout box IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)- Returns:
- the range of matching object layout rows
-
findByObjectLayoutBoxId
List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.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 fromObjectLayoutRowModelImpl
.- Parameters:
objectLayoutBoxId
- the object layout box IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout rows
-
findByObjectLayoutBoxId
List<ObjectLayoutRow> findByObjectLayoutBoxId(long objectLayoutBoxId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows where objectLayoutBoxId = ?.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 fromObjectLayoutRowModelImpl
.- Parameters:
objectLayoutBoxId
- the object layout box IDstart
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (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 rows
-
findByObjectLayoutBoxId_First
ObjectLayoutRow findByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByObjectLayoutBoxId_First
ObjectLayoutRow fetchByObjectLayoutBoxId_First(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the first object layout row in the ordered set where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout row, or
null
if a matching object layout row could not be found
-
findByObjectLayoutBoxId_Last
ObjectLayoutRow findByObjectLayoutBoxId_Last(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the last object layout row in the ordered set where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a matching object layout row could not be found
-
fetchByObjectLayoutBoxId_Last
ObjectLayoutRow fetchByObjectLayoutBoxId_Last(long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns the last object layout row in the ordered set where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout row, or
null
if a matching object layout row could not be found
-
findByObjectLayoutBoxId_PrevAndNext
ObjectLayoutRow[] findByObjectLayoutBoxId_PrevAndNext(long objectLayoutRowId, long objectLayoutBoxId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) throws NoSuchObjectLayoutRowException Returns the object layout rows before and after the current object layout row in the ordered set where objectLayoutBoxId = ?.- Parameters:
objectLayoutRowId
- the primary key of the current object layout rowobjectLayoutBoxId
- the object layout box IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a object layout row with the primary key could not be found
-
removeByObjectLayoutBoxId
void removeByObjectLayoutBoxId(long objectLayoutBoxId) Removes all the object layout rows where objectLayoutBoxId = ? from the database.- Parameters:
objectLayoutBoxId
- the object layout box ID
-
countByObjectLayoutBoxId
int countByObjectLayoutBoxId(long objectLayoutBoxId) Returns the number of object layout rows where objectLayoutBoxId = ?.- Parameters:
objectLayoutBoxId
- the object layout box ID- Returns:
- the number of matching object layout rows
-
cacheResult
Caches the object layout row in the entity cache if it is enabled.- Parameters:
objectLayoutRow
- the object layout row
-
cacheResult
Caches the object layout rows in the entity cache if it is enabled.- Parameters:
objectLayoutRows
- the object layout rows
-
create
Creates a new object layout row with the primary key. Does not add the object layout row to the database.- Parameters:
objectLayoutRowId
- the primary key for the new object layout row- Returns:
- the new object layout row
-
remove
Removes the object layout row with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutRowId
- the primary key of the object layout row- Returns:
- the object layout row that was removed
- Throws:
NoSuchObjectLayoutRowException
- if a object layout row with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object layout row with the primary key or throws aNoSuchObjectLayoutRowException
if it could not be found.- Parameters:
objectLayoutRowId
- the primary key of the object layout row- Returns:
- the object layout row
- Throws:
NoSuchObjectLayoutRowException
- if a object layout row with the primary key could not be found
-
fetchByPrimaryKey
Returns the object layout row with the primary key or returnsnull
if it could not be found.- Parameters:
objectLayoutRowId
- the primary key of the object layout row- Returns:
- the object layout row, or
null
if a object layout row with the primary key could not be found
-
findAll
List<ObjectLayoutRow> findAll()Returns all the object layout rows.- Returns:
- the object layout rows
-
findAll
Returns a range of all the object layout rows.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 fromObjectLayoutRowModelImpl
.- Parameters:
start
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)- Returns:
- the range of object layout rows
-
findAll
List<ObjectLayoutRow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator) Returns an ordered range of all the object layout rows.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 fromObjectLayoutRowModelImpl
.- Parameters:
start
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object layout rows
-
findAll
List<ObjectLayoutRow> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutRow> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout rows.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 fromObjectLayoutRowModelImpl
.- Parameters:
start
- the lower bound of the range of object layout rowsend
- the upper bound of the range of object layout rows (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 rows
-
removeAll
void removeAll()Removes all the object layout rows from the database. -
countAll
int countAll()Returns the number of object layout rows.- Returns:
- the number of object layout rows
-