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 TypeMethodDescriptionintcountByObjectLayoutTabId(long objectLayoutTabId) Returns the number of object layout boxes where objectLayoutTabId = ?.intcountByUuid(String uuid) Returns the number of object layout boxes where uuid = ?.intcountByUuid_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 = ?.fetchByPrimaryKey(long objectLayoutBoxId) Returns the object layout box with the primary key or returnsnullif 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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.default List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId) Returns all the object layout boxes where objectLayoutTabId = ?.default List<ObjectLayoutBox> findByObjectLayoutTabId(long objectLayoutTabId, int start, int end) Returns a range of all the object layout boxes where objectLayoutTabId = ?.default 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 = ?.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 = ?.findByPrimaryKey(long objectLayoutBoxId) Returns the object layout box with the primary key or throws aNoSuchObjectLayoutBoxExceptionif it could not be found.default List<ObjectLayoutBox> findByUuid(String uuid) Returns all the object layout boxes where uuid = ?.default List<ObjectLayoutBox> findByUuid(String uuid, int start, int end) Returns a range of all the object layout boxes where uuid = ?.default 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 = ?.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 = ?.default List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId) Returns all the object layout boxes where uuid = ? and companyId = ?.default List<ObjectLayoutBox> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object layout boxes where uuid = ? and companyId = ?.default 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 = ?.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_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayoutBox> orderByComparator) Returns the first object layout box in the ordered set where uuid = ?.remove(long objectLayoutBoxId) Removes the object layout box with the primary key from the database.voidremoveByObjectLayoutTabId(long objectLayoutTabId) Removes all the object layout boxes where objectLayoutTabId = ? from the database.voidremoveByUuid(String uuid) Removes all the object layout boxes where uuid = ? from the database.voidremoveByUuid_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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
nullif a matching object layout box 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
nullif a matching object layout box 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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
nullif a matching object layout box 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
-
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 aNoSuchObjectLayoutBoxExceptionif 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 returnsnullif it could not be found.- Parameters:
objectLayoutBoxId- the primary key of the object layout box- Returns:
- the object layout box, or
nullif a object layout box with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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_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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
default 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectLayoutBoxModelImpl.- 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
-