Interface ObjectViewPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectView>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(ObjectView objectView) Caches the object view in the entity cache if it is enabled.void
cacheResult
(List<ObjectView> objectViews) Caches the object views in the entity cache if it is enabled.int
countAll()
Returns the number of object views.int
countByObjectDefinitionId
(long objectDefinitionId) Returns the number of object views where objectDefinitionId = ?.int
countByODI_DOV
(long objectDefinitionId, boolean defaultObjectView) Returns the number of object views where objectDefinitionId = ? and defaultObjectView = ?.int
countByUuid
(String uuid) Returns the number of object views where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of object views where uuid = ? and companyId = ?.create
(long objectViewId) Creates a new object view with the primary key.fetchByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where objectDefinitionId = ?.fetchByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where objectDefinitionId = ?.fetchByODI_DOV_First
(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.fetchByODI_DOV_Last
(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.fetchByPrimaryKey
(long objectViewId) Returns the object view 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<ObjectView> orderByComparator) Returns the first object view in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where uuid = ?.findAll()
Returns all the object views.findAll
(int start, int end) Returns a range of all the object views.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views.findByObjectDefinitionId
(long objectDefinitionId) Returns all the object views where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end) Returns a range of all the object views where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views where objectDefinitionId = ?.findByObjectDefinitionId
(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views where objectDefinitionId = ?.findByObjectDefinitionId_First
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_Last
(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where objectDefinitionId = ?.findByObjectDefinitionId_PrevAndNext
(long objectViewId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ?.findByODI_DOV
(long objectDefinitionId, boolean defaultObjectView) Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV
(long objectDefinitionId, boolean defaultObjectView, int start, int end) Returns a range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV
(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV
(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV_First
(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV_Last
(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.findByODI_DOV_PrevAndNext
(long objectViewId, long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.findByPrimaryKey
(long objectViewId) Returns the object view with the primary key or throws aNoSuchObjectViewException
if it could not be found.findByUuid
(String uuid) Returns all the object views where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the object views where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views where uuid = ?.findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views where uuid = ?.findByUuid_C
(String uuid, long companyId) Returns all the object views where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the object views where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views where uuid = ? and companyId = ?.findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext
(long objectViewId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the object views before and after the current object view in the ordered set where uuid = ? and companyId = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long objectViewId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the object views before and after the current object view in the ordered set where uuid = ?.remove
(long objectViewId) Removes the object view with the primary key from the database.void
Removes all the object views from the database.void
removeByObjectDefinitionId
(long objectDefinitionId) Removes all the object views where objectDefinitionId = ? from the database.void
removeByODI_DOV
(long objectDefinitionId, boolean defaultObjectView) Removes all the object views where objectDefinitionId = ? and defaultObjectView = ? from the database.void
removeByUuid
(String uuid) Removes all the object views where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the object views where uuid = ? and companyId = ? from the database.updateImpl
(ObjectView objectView) 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 views where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching object views
-
findByUuid
Returns a range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)- Returns:
- the range of matching object views
-
findByUuid
List<ObjectView> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object views
-
findByUuid
List<ObjectView> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (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 views
-
findByUuid_First
ObjectView findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the first object view in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByUuid_First
ObjectView fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view, or
null
if a matching object view could not be found
-
findByUuid_Last
ObjectView findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the last object view in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByUuid_Last
ObjectView fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view, or
null
if a matching object view could not be found
-
findByUuid_PrevAndNext
ObjectView[] findByUuid_PrevAndNext(long objectViewId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the object views before and after the current object view in the ordered set where uuid = ?.- Parameters:
objectViewId
- the primary key of the current object viewuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
removeByUuid
Removes all the object views where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of object views where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching object views
-
findByUuid_C
Returns all the object views where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching object views
-
findByUuid_C
Returns a range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)- Returns:
- the range of matching object views
-
findByUuid_C
List<ObjectView> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object views
-
findByUuid_C
List<ObjectView> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (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 views
-
findByUuid_C_First
ObjectView findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the first object view 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 view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByUuid_C_First
ObjectView fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view 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 view, or
null
if a matching object view could not be found
-
findByUuid_C_Last
ObjectView findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the last object view 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 view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByUuid_C_Last
ObjectView fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view 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 view, or
null
if a matching object view could not be found
-
findByUuid_C_PrevAndNext
ObjectView[] findByUuid_C_PrevAndNext(long objectViewId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the object views before and after the current object view in the ordered set where uuid = ? and companyId = ?.- Parameters:
objectViewId
- the primary key of the current object viewuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
removeByUuid_C
Removes all the object views where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of object views where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching object views
-
findByObjectDefinitionId
Returns all the object views where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the matching object views
-
findByObjectDefinitionId
Returns a range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)- Returns:
- the range of matching object views
-
findByObjectDefinitionId
List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object views
-
findByObjectDefinitionId
List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views 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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (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 views
-
findByObjectDefinitionId_First
ObjectView findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the first object view 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 view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByObjectDefinitionId_First
ObjectView fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view 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 view, or
null
if a matching object view could not be found
-
findByObjectDefinitionId_Last
ObjectView findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the last object view 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 view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByObjectDefinitionId_Last
ObjectView fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view 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 view, or
null
if a matching object view could not be found
-
findByObjectDefinitionId_PrevAndNext
ObjectView[] findByObjectDefinitionId_PrevAndNext(long objectViewId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ?.- Parameters:
objectViewId
- the primary key of the current object viewobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
removeByObjectDefinitionId
void removeByObjectDefinitionId(long objectDefinitionId) Removes all the object views where objectDefinitionId = ? from the database.- Parameters:
objectDefinitionId
- the object definition ID
-
countByObjectDefinitionId
int countByObjectDefinitionId(long objectDefinitionId) Returns the number of object views where objectDefinitionId = ?.- Parameters:
objectDefinitionId
- the object definition ID- Returns:
- the number of matching object views
-
findByODI_DOV
Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object view- Returns:
- the matching object views
-
findByODI_DOV
List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end) Returns a range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)- Returns:
- the range of matching object views
-
findByODI_DOV
List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching object views
-
findByODI_DOV
List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.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 fromObjectViewModelImpl
.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (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 views
-
findByODI_DOV_First
ObjectView findByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByODI_DOV_First
ObjectView fetchByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the first object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching object view, or
null
if a matching object view could not be found
-
findByODI_DOV_Last
ObjectView findByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the last object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view
- Throws:
NoSuchObjectViewException
- if a matching object view could not be found
-
fetchByODI_DOV_Last
ObjectView fetchByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns the last object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching object view, or
null
if a matching object view could not be found
-
findByODI_DOV_PrevAndNext
ObjectView[] findByODI_DOV_PrevAndNext(long objectViewId, long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException Returns the object views before and after the current object view in the ordered set where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectViewId
- the primary key of the current object viewobjectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next object view
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
removeByODI_DOV
void removeByODI_DOV(long objectDefinitionId, boolean defaultObjectView) Removes all the object views where objectDefinitionId = ? and defaultObjectView = ? from the database.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object view
-
countByODI_DOV
int countByODI_DOV(long objectDefinitionId, boolean defaultObjectView) Returns the number of object views where objectDefinitionId = ? and defaultObjectView = ?.- Parameters:
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object view- Returns:
- the number of matching object views
-
cacheResult
Caches the object view in the entity cache if it is enabled.- Parameters:
objectView
- the object view
-
cacheResult
Caches the object views in the entity cache if it is enabled.- Parameters:
objectViews
- the object views
-
create
Creates a new object view with the primary key. Does not add the object view to the database.- Parameters:
objectViewId
- the primary key for the new object view- Returns:
- the new object view
-
remove
Removes the object view with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
objectViewId
- the primary key of the object view- Returns:
- the object view that was removed
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the object view with the primary key or throws aNoSuchObjectViewException
if it could not be found.- Parameters:
objectViewId
- the primary key of the object view- Returns:
- the object view
- Throws:
NoSuchObjectViewException
- if a object view with the primary key could not be found
-
fetchByPrimaryKey
Returns the object view with the primary key or returnsnull
if it could not be found.- Parameters:
objectViewId
- the primary key of the object view- Returns:
- the object view, or
null
if a object view with the primary key could not be found
-
findAll
List<ObjectView> findAll()Returns all the object views.- Returns:
- the object views
-
findAll
Returns a range of all the object views.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 fromObjectViewModelImpl
.- Parameters:
start
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)- Returns:
- the range of object views
-
findAll
List<ObjectView> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) Returns an ordered range of all the object views.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 fromObjectViewModelImpl
.- Parameters:
start
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of object views
-
findAll
List<ObjectView> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache) Returns an ordered range of all the object views.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 fromObjectViewModelImpl
.- Parameters:
start
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of object views
-
removeAll
void removeAll()Removes all the object views from the database. -
countAll
int countAll()Returns the number of object views.- Returns:
- the number of object views
-