Interface ObjectLayoutPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectLayout>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(ObjectLayout objectLayout) Caches the object layout in the entity cache if it is enabled.voidcacheResult(List<ObjectLayout> objectLayouts) Caches the object layouts in the entity cache if it is enabled.intcountAll()Returns the number of object layouts.intcountByC_DOL(long companyId, boolean defaultObjectLayout) Returns the number of object layouts where companyId = ? and defaultObjectLayout = ?.intcountByObjectDefinitionId(long objectDefinitionId) Returns the number of object layouts where objectDefinitionId = ?.intcountByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.intcountByUuid(String uuid) Returns the number of object layouts where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of object layouts where uuid = ? and companyId = ?.create(long objectLayoutId) Creates a new object layout with the primary key.fetchByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.fetchByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.fetchByPrimaryKey(long objectLayoutId) Returns the object layout with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.findAll()Returns all the object layouts.findAll(int start, int end) Returns a range of all the object layouts.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts.findByC_DOL(long companyId, boolean defaultObjectLayout) Returns all the object layouts where companyId = ? and defaultObjectLayout = ?.findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where companyId = ? and defaultObjectLayout = ?.findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.findByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.findByObjectDefinitionId(long objectDefinitionId) Returns all the object layouts where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ?.findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ?.findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Returns all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.findByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.findByPrimaryKey(long objectLayoutId) Returns the object layout with the primary key or throws aNoSuchObjectLayoutExceptionif it could not be found.findByUuid(String uuid) Returns all the object layouts where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the object layouts where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the object layouts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the object layouts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.remove(long objectLayoutId) Removes the object layout with the primary key from the database.voidRemoves all the object layouts from the database.voidremoveByC_DOL(long companyId, boolean defaultObjectLayout) Removes all the object layouts where companyId = ? and defaultObjectLayout = ? from the database.voidremoveByObjectDefinitionId(long objectDefinitionId) Removes all the object layouts where objectDefinitionId = ? from the database.voidremoveByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.voidremoveByUuid(String uuid) Removes all the object layouts where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the object layouts where uuid = ? and companyId = ? from the database.updateImpl(ObjectLayout objectLayout) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, 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 layouts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching object layouts
-
findByUuid
Returns a range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByUuid
List<ObjectLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layouts
-
findByUuid
List<ObjectLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (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 layouts
-
findByUuid_First
ObjectLayout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException- if a matching object layout could not be found
-
fetchByUuid_First
ObjectLayout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout, or
nullif a matching object layout could not be found
-
removeByUuid
Removes all the object layouts where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of object layouts where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching object layouts
-
findByUuid_C
Returns all the object layouts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching object layouts
-
findByUuid_C
Returns a range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByUuid_C
List<ObjectLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layouts
-
findByUuid_C
List<ObjectLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts 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.ObjectLayoutModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (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 layouts
-
findByUuid_C_First
ObjectLayout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout 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
- Throws:
NoSuchObjectLayoutException- if a matching object layout could not be found
-
fetchByUuid_C_First
ObjectLayout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout 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, or
nullif a matching object layout could not be found
-
removeByUuid_C
Removes all the object layouts where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of object layouts where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching object layouts
-
findByObjectDefinitionId
Returns all the object layouts where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the matching object layouts
-
findByObjectDefinitionId
Returns a range of all the object layouts where objectDefinitionId = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByObjectDefinitionId
List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layouts
-
findByObjectDefinitionId
List<ObjectLayout> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (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 layouts
-
findByObjectDefinitionId_First
ObjectLayout findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException- if a matching object layout could not be found
-
fetchByObjectDefinitionId_First
ObjectLayout fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout, or
nullif a matching object layout could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object layouts where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId- the object definition ID
-
countByObjectDefinitionId
int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object layouts where objectDefinitionId = ?.- Parameters:
objectDefinitionId- the object definition ID- Returns:
- the number of matching object layouts
-
findByC_DOL
Returns all the object layouts where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layout- Returns:
- the matching object layouts
-
findByC_DOL
Returns a range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByC_DOL
List<ObjectLayout> findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layouts
-
findByC_DOL
List<ObjectLayout> findByC_DOL(long companyId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where companyId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (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 layouts
-
findByC_DOL_First
ObjectLayout findByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException- if a matching object layout could not be found
-
fetchByC_DOL_First
ObjectLayout fetchByC_DOL_First(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout, or
nullif a matching object layout could not be found
-
removeByC_DOL
void removeByC_DOL(long companyId, boolean defaultObjectLayout) Removes all the object layouts where companyId = ? and defaultObjectLayout = ? from the database.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layout
-
countByC_DOL
int countByC_DOL(long companyId, boolean defaultObjectLayout) Returns the number of object layouts where companyId = ? and defaultObjectLayout = ?.- Parameters:
companyId- the company IDdefaultObjectLayout- the default object layout- Returns:
- the number of matching object layouts
-
findByODI_DOL
Returns all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layout- Returns:
- the matching object layouts
-
findByODI_DOL
List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end) Returns a range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of matching object layouts
-
findByODI_DOL
List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching object layouts
-
findByODI_DOL
List<ObjectLayout> findByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.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.ObjectLayoutModelImpl.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layoutstart- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (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 layouts
-
findByODI_DOL_First
ObjectLayout findByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout
- Throws:
NoSuchObjectLayoutException- if a matching object layout could not be found
-
fetchByODI_DOL_First
ObjectLayout fetchByODI_DOL_First(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layoutorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching object layout, or
nullif a matching object layout could not be found
-
removeByODI_DOL
void removeByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layout
-
countByODI_DOL
int countByODI_DOL(long objectDefinitionId, boolean defaultObjectLayout) Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectDefinitionId- the object definition IDdefaultObjectLayout- the default object layout- Returns:
- the number of matching object layouts
-
cacheResult
Caches the object layout in the entity cache if it is enabled.- Parameters:
objectLayout- the object layout
-
cacheResult
Caches the object layouts in the entity cache if it is enabled.- Parameters:
objectLayouts- the object layouts
-
create
Creates a new object layout with the primary key. Does not add the object layout to the database.- Parameters:
objectLayoutId- the primary key for the new object layout- Returns:
- the new object layout
-
remove
Removes the object layout with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectLayoutId- the primary key of the object layout- Returns:
- the object layout that was removed
- Throws:
NoSuchObjectLayoutException- if a object layout with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object layout with the primary key or throws aNoSuchObjectLayoutExceptionif it could not be found.- Parameters:
objectLayoutId- the primary key of the object layout- Returns:
- the object layout
- Throws:
NoSuchObjectLayoutException- if a object layout with the primary key could not be found
-
fetchByPrimaryKey
Returns the object layout with the primary key or returnsnullif it could not be found.- Parameters:
objectLayoutId- the primary key of the object layout- Returns:
- the object layout, or
nullif a object layout with the primary key could not be found
-
findAll
List<ObjectLayout> findAll()Returns all the object layouts.- Returns:
- the object layouts
-
findAll
Returns a range of all the object layouts.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.ObjectLayoutModelImpl.- Parameters:
start- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)- Returns:
- the range of object layouts
-
findAll
List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns an ordered range of all the object layouts.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.ObjectLayoutModelImpl.- Parameters:
start- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of object layouts
-
findAll
List<ObjectLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object layouts.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.ObjectLayoutModelImpl.- Parameters:
start- the lower bound of the range of object layoutsend- the upper bound of the range of object layouts (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of object layouts
-
removeAll
void removeAll()Removes all the object layouts from the database. -
countAll
int countAll()Returns the number of object layouts.- Returns:
- the number of object layouts
-