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 TypeMethodDescriptionvoid
cacheResult
(ObjectLayout objectLayout) Caches the object layout in the entity cache if it is enabled.void
cacheResult
(List<ObjectLayout> objectLayouts) Caches the object layouts in the entity cache if it is enabled.int
countAll()
Returns the number of object layouts.int
countByC_DOL
(long companyId, boolean defaultObjectLayout) Returns the number of object layouts where companyId = ? and defaultObjectLayout = ?.int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object layouts where objectDefinitionId = ?.int
countByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout) Returns the number of object layouts where objectDefinitionId = ? and defaultObjectLayout = ?.int
countByUuid
(String uuid) Returns the number of object layouts where uuid = ?.int
countByUuid_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 = ?.fetchByC_DOL_Last
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 = ?.fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 = ?.fetchByODI_DOL_Last
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.fetchByPrimaryKey
(long objectLayoutId) Returns the object layout 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<ObjectLayout> orderByComparator) Returns the first object layout in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 = ?.findByC_DOL_Last
(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.findByC_DOL_PrevAndNext
(long objectLayoutId, long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current 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 = ?.findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_PrevAndNext
(long objectLayoutId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current 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 = ?.findByODI_DOL_Last
(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.findByODI_DOL_PrevAndNext
(long objectLayoutId, long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.findByPrimaryKey
(long objectLayoutId) Returns the object layout with the primary key or throws aNoSuchObjectLayoutException
if 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_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current 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 = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the object layouts before and after the current object layout in the ordered set where uuid = ?.remove
(long objectLayoutId) Removes the object layout with the primary key from the database.void
Removes all the object layouts from the database.void
removeByC_DOL
(long companyId, boolean defaultObjectLayout) Removes all the object layouts where companyId = ? and defaultObjectLayout = ? from the database.void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object layouts where objectDefinitionId = ? from the database.void
removeByODI_DOL
(long objectDefinitionId, boolean defaultObjectLayout) Removes all the object layouts where objectDefinitionId = ? and defaultObjectLayout = ? from the database.void
removeByUuid
(String uuid) Removes all the object layouts where uuid = ? from the database.void
removeByUuid_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, 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
null
if a matching object layout could not be found
-
findByUuid_Last
ObjectLayout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be found
-
fetchByUuid_Last
ObjectLayout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByUuid_PrevAndNext
ObjectLayout[] findByUuid_PrevAndNext(long objectLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where uuid = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
null
if a matching object layout could not be found
-
findByUuid_C_Last
ObjectLayout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last 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 last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be found
-
fetchByUuid_C_Last
ObjectLayout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 last matching object layout, or
null
if a matching object layout could not be found
-
findByUuid_C_PrevAndNext
ObjectLayout[] findByUuid_C_PrevAndNext(long objectLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
null
if a matching object layout could not be found
-
findByObjectDefinitionId_Last
ObjectLayout findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be found
-
fetchByObjectDefinitionId_Last
ObjectLayout fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object layout, or
null
if a matching object layout could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectLayout[] findByObjectDefinitionId_PrevAndNext(long objectLayoutId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
null
if a matching object layout could not be found
-
findByC_DOL_Last
ObjectLayout findByC_DOL_Last(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last 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 last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be found
-
fetchByC_DOL_Last
ObjectLayout fetchByC_DOL_Last(long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 last matching object layout, or
null
if a matching object layout could not be found
-
findByC_DOL_PrevAndNext
ObjectLayout[] findByC_DOL_PrevAndNext(long objectLayoutId, long companyId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where companyId = ? and defaultObjectLayout = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutcompanyId
- the company IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
null
if a matching object layout could not be found
-
findByODI_DOL_Last
ObjectLayout findByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the last 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 last matching object layout
- Throws:
NoSuchObjectLayoutException
- if a matching object layout could not be found
-
fetchByODI_DOL_Last
ObjectLayout fetchByODI_DOL_Last(long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) Returns the last 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 last matching object layout, or
null
if a matching object layout could not be found
-
findByODI_DOL_PrevAndNext
ObjectLayout[] findByODI_DOL_PrevAndNext(long objectLayoutId, long objectDefinitionId, boolean defaultObjectLayout, com.liferay.portal.kernel.util.OrderByComparator<ObjectLayout> orderByComparator) throws NoSuchObjectLayoutException Returns the object layouts before and after the current object layout in the ordered set where objectDefinitionId = ? and defaultObjectLayout = ?.- Parameters:
objectLayoutId
- the primary key of the current object layoutobjectDefinitionId
- the object definition IDdefaultObjectLayout
- the default object layoutorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object layout
- Throws:
NoSuchObjectLayoutException
- if a object layout with the primary key 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 aNoSuchObjectLayoutException
if 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 returnsnull
if it could not be found.- Parameters:
objectLayoutId
- the primary key of the object layout- Returns:
- the object layout, or
null
if 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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 - 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 fromObjectLayoutModelImpl
.- 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
-