Interface ObjectLayoutBoxPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayoutBox>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectLayoutBox objectLayoutBox) Caches the object layout box in the entity cache if it is enabled.void
cacheResult
(List<ObjectLayoutBox> objectLayoutBoxes) Caches the object layout boxes in the entity cache if it is enabled.int
countAll()
Returns the number of object layout boxes.int
countByObjectLayoutTabId
(long objectLayoutTabId) Returns the number of object layout boxes where objectLayoutTabId = ?.int
countByUuid
(String uuid) Returns the number of object layout boxes where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object layout boxes where uuid = ? and companyId = ?.create
(long objectLayoutBoxId) Creates a new object layout box with the primary key.fetchByObjectLayoutTabId_First
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.fetchByObjectLayoutTabId_Last
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.fetchByPrimaryKey
(long objectLayoutBoxId) Returns the object layout box 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<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.findAll()
Returns all the object layout boxes.findAll
(int start, int end) Returns a range of all the object layout boxes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes.findByObjectLayoutTabId
(long objectLayoutTabId) Returns all the object layout boxes where objectLayoutTabId = ?.findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end) Returns a range of all the object layout boxes where objectLayoutTabId = ?.findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.findByObjectLayoutTabId
(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.findByObjectLayoutTabId_First
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.findByObjectLayoutTabId_Last
(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.findByObjectLayoutTabId_PrevAndNext
(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?.findByPrimaryKey
(long objectLayoutBoxId) Returns the object layout box with the primary key or throws aNoSuchObjectLayoutBoxException
if it could not be found.findByUuid
(String uuid) Returns all the object layout boxes where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object layout boxes where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the object layout boxes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object layout boxes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectLayoutBoxId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ?.remove
(long objectLayoutBoxId) Removes the object layout box with the primary key from the database.void
Removes all the object layout boxes from the database.void
removeByObjectLayoutTabId
(long objectLayoutTabId) Removes all the object layout boxes where objectLayoutTabId = ? from the database.void
removeByUuid
(String uuid) Removes all the object layout boxes where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object layout boxes where uuid = ? and companyId = ? from the database.updateImpl
(ObjectLayoutBox objectLayoutBox) 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 boxes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object layout boxes
-
findByUuid
Returns a range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByUuid
List<ObjectLayoutBox> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByUuid
List<ObjectLayoutBox> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 boxes
-
findByUuid_First
ObjectLayoutBox findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByUuid_First
ObjectLayoutBox fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box, or
null
if a matching object layout box could not be found
-
findByUuid_Last
ObjectLayoutBox findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByUuid_Last
ObjectLayoutBox fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box, or
null
if a matching object layout box could not be found
-
findByUuid_PrevAndNext
ObjectLayoutBox[] findByUuid_PrevAndNext(long objectLayoutBoxId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be found
-
removeByUuid
Removes all the object layout boxes where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object layout boxes where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object layout boxes
-
findByUuid_C
Returns all the object layout boxes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object layout boxes
-
findByUuid_C
Returns a range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByUuid_C
List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByUuid_C
List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes 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 fromObjectLayoutBoxModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 boxes
-
findByUuid_C_First
ObjectLayoutBox findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box 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 box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByUuid_C_First
ObjectLayoutBox fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box 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 box, or
null
if a matching object layout box could not be found
-
findByUuid_C_Last
ObjectLayoutBox findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box 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 box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByUuid_C_Last
ObjectLayoutBox fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box 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 box, or
null
if a matching object layout box could not be found
-
findByUuid_C_PrevAndNext
ObjectLayoutBox[] findByUuid_C_PrevAndNext(long objectLayoutBoxId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be found
-
removeByUuid_C
Removes all the object layout boxes where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object layout boxes where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object layout boxes
-
findByObjectLayoutTabId
Returns all the object layout boxes where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab ID- Returns:
- the matching object layout boxes
-
findByObjectLayoutTabId
Returns a range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of matching object layout boxes
-
findByObjectLayoutTabId
List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object layout boxes
-
findByObjectLayoutTabId
List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes where objectLayoutTabId = ?.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 fromObjectLayoutBoxModelImpl
.- Parameters:
objectLayoutTabId
- the object layout tab IDstart
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 boxes
-
findByObjectLayoutTabId_First
ObjectLayoutBox findByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the first object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByObjectLayoutTabId_First
ObjectLayoutBox fetchByObjectLayoutTabId_First(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object layout box, or
null
if a matching object layout box could not be found
-
findByObjectLayoutTabId_Last
ObjectLayoutBox findByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the last object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a matching object layout box could not be found
-
fetchByObjectLayoutTabId_Last
ObjectLayoutBox fetchByObjectLayoutTabId_Last(long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the last object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout box, or
null
if a matching object layout box could not be found
-
findByObjectLayoutTabId_PrevAndNext
ObjectLayoutBox[] findByObjectLayoutTabId_PrevAndNext(long objectLayoutBoxId, long objectLayoutTabId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) throws NoSuchObjectLayoutBoxException Returns the object layout boxes before and after the current object layout box in the ordered set where objectLayoutTabId = ?.- Parameters:
objectLayoutBoxId
- the primary key of the current object layout boxobjectLayoutTabId
- the object layout tab IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be found
-
removeByObjectLayoutTabId
void removeByObjectLayoutTabId(long objectLayoutTabId) Removes all the object layout boxes where objectLayoutTabId = ? from the database.- Parameters:
objectLayoutTabId
- the object layout tab ID
-
countByObjectLayoutTabId
int countByObjectLayoutTabId(long objectLayoutTabId) Returns the number of object layout boxes where objectLayoutTabId = ?.- Parameters:
objectLayoutTabId
- the object layout tab ID- Returns:
- the number of matching object layout boxes
-
cacheResult
Caches the object layout box in the entity cache if it is enabled.- Parameters:
objectLayoutBox
- the object layout box
-
cacheResult
Caches the object layout boxes in the entity cache if it is enabled.- Parameters:
objectLayoutBoxes
- the object layout boxes
-
create
Creates a new object layout box with the primary key. Does not add the object layout box to the database.- Parameters:
objectLayoutBoxId
- the primary key for the new object layout box- Returns:
- the new object layout box
-
remove
Removes the object layout box with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box that was removed
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object layout box with the primary key or throws aNoSuchObjectLayoutBoxException
if it could not be found.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box
- Throws:
NoSuchObjectLayoutBoxException
- if a object layout box with the primary key could not be found
-
fetchByPrimaryKey
Returns the object layout box with the primary key or returnsnull
if it could not be found.- Parameters:
objectLayoutBoxId
- the primary key of the object layout box- Returns:
- the object layout box, or
null
if a object layout box with the primary key could not be found
-
findAll
List<ObjectLayoutBox> findAll()Returns all the object layout boxes.- Returns:
- the object layout boxes
-
findAll
Returns a range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)- Returns:
- the range of object layout boxes
-
findAll
List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns an ordered range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object layout boxes
-
findAll
List<ObjectLayoutBox> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layout boxes.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 fromObjectLayoutBoxModelImpl
.- Parameters:
start
- the lower bound of the range of object layout boxesend
- the upper bound of the range of object layout boxes (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 boxes
-
removeAll
void removeAll()Removes all the object layout boxes from the database. -
countAll
int countAll()Returns the number of object layout boxes.- Returns:
- the number of object layout boxes
-