@ProviderType public interface ObjectViewPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<ObjectView>
Caching information and settings can be found in portal.properties
ObjectViewUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<ObjectView> objectViews)
Caches the object views in the entity cache if it is enabled.
|
void |
cacheResult(ObjectView objectView)
Caches the object view 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_C(java.lang.String uuid,
long companyId)
Returns the number of object views where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of object views where uuid = ?.
|
ObjectView |
create(long objectViewId)
Creates a new object view with the primary key.
|
ObjectView |
fetchByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the first object view in the ordered set where objectDefinitionId = ?.
|
ObjectView |
fetchByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the last object view in the ordered set where objectDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
ObjectView |
fetchByPrimaryKey(long objectViewId)
Returns the object view with the primary key or returns
null if it could not be found. |
ObjectView |
fetchByUuid_C_First(java.lang.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 = ?.
|
ObjectView |
fetchByUuid_C_Last(java.lang.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 = ?.
|
ObjectView |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the first object view in the ordered set where uuid = ?.
|
ObjectView |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the last object view in the ordered set where uuid = ?.
|
java.util.List<ObjectView> |
findAll()
Returns all the object views.
|
java.util.List<ObjectView> |
findAll(int start,
int end)
Returns a range of all the object views.
|
java.util.List<ObjectView> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns an ordered range of all the object views.
|
java.util.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.
|
ObjectView |
findByObjectDefinitionId_First(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the first object view in the ordered set where objectDefinitionId = ?.
|
ObjectView |
findByObjectDefinitionId_Last(long objectDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the last object view in the ordered set where objectDefinitionId = ?.
|
ObjectView[] |
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 = ?.
|
java.util.List<ObjectView> |
findByObjectDefinitionId(long objectDefinitionId)
Returns all the object views where objectDefinitionId = ?.
|
java.util.List<ObjectView> |
findByObjectDefinitionId(long objectDefinitionId,
int start,
int end)
Returns a range of all the object views where objectDefinitionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectView |
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 = ?.
|
ObjectView |
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 = ?.
|
ObjectView[] |
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 = ?.
|
java.util.List<ObjectView> |
findByODI_DOV(long objectDefinitionId,
boolean defaultObjectView)
Returns all the object views where objectDefinitionId = ? and defaultObjectView = ?.
|
java.util.List<ObjectView> |
findByODI_DOV(long objectDefinitionId,
boolean defaultObjectView,
int start,
int end)
Returns a range of all the object views where objectDefinitionId = ? and defaultObjectView = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
ObjectView |
findByPrimaryKey(long objectViewId)
Returns the object view with the primary key or throws a
NoSuchObjectViewException if it could not be found. |
ObjectView |
findByUuid_C_First(java.lang.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 = ?.
|
ObjectView |
findByUuid_C_Last(java.lang.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 = ?.
|
ObjectView[] |
findByUuid_C_PrevAndNext(long objectViewId,
java.lang.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 = ?.
|
java.util.List<ObjectView> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the object views where uuid = ? and companyId = ?.
|
java.util.List<ObjectView> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the object views where uuid = ? and companyId = ?.
|
java.util.List<ObjectView> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<ObjectView> |
findByUuid_C(java.lang.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 = ?.
|
ObjectView |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the first object view in the ordered set where uuid = ?.
|
ObjectView |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Returns the last object view in the ordered set where uuid = ?.
|
ObjectView[] |
findByUuid_PrevAndNext(long objectViewId,
java.lang.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 = ?.
|
java.util.List<ObjectView> |
findByUuid(java.lang.String uuid)
Returns all the object views where uuid = ?.
|
java.util.List<ObjectView> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the object views where uuid = ?.
|
java.util.List<ObjectView> |
findByUuid(java.lang.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 = ?.
|
java.util.List<ObjectView> |
findByUuid(java.lang.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 = ?.
|
ObjectView |
remove(long objectViewId)
Removes the object view with the primary key from the database.
|
void |
removeAll()
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_C(java.lang.String uuid,
long companyId)
Removes all the object views where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the object views where uuid = ? from the database.
|
ObjectView |
updateImpl(ObjectView objectView) |
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, setDataSource, unregisterListener, update, update
java.util.List<ObjectView> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectView> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)java.util.List<ObjectView> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)java.util.List<ObjectView> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectView findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView[] findByUuid_PrevAndNext(long objectViewId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectViewId
- the primary key of the current object viewuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a object view with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<ObjectView> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectView> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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)java.util.List<ObjectView> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)java.util.List<ObjectView> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectView findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView[] findByUuid_C_PrevAndNext(long objectViewId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectViewId
- the primary key of the current object viewuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a object view with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<ObjectView> findByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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)java.util.List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)java.util.List<ObjectView> findByObjectDefinitionId(long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectView findByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByObjectDefinitionId_First(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView findByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByObjectDefinitionId_Last(long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
objectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView[] findByObjectDefinitionId_PrevAndNext(long objectViewId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectViewId
- the primary key of the current object viewobjectDefinitionId
- the object definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a object view with the primary key could not be foundvoid removeByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDint countByObjectDefinitionId(long objectDefinitionId)
objectDefinitionId
- the object definition IDjava.util.List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewjava.util.List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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)java.util.List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)java.util.List<ObjectView> findByODI_DOV(long objectDefinitionId, boolean defaultObjectView, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheObjectView findByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByODI_DOV_First(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView findByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a matching object view could not be foundObjectView fetchByODI_DOV_Last(long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionally null
)null
if a matching object view could not be foundObjectView[] findByODI_DOV_PrevAndNext(long objectViewId, long objectDefinitionId, boolean defaultObjectView, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator) throws NoSuchObjectViewException
objectViewId
- the primary key of the current object viewobjectDefinitionId
- the object definition IDdefaultObjectView
- the default object vieworderByComparator
- the comparator to order the set by (optionally null
)NoSuchObjectViewException
- if a object view with the primary key could not be foundvoid removeByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewint countByODI_DOV(long objectDefinitionId, boolean defaultObjectView)
objectDefinitionId
- the object definition IDdefaultObjectView
- the default object viewvoid cacheResult(ObjectView objectView)
objectView
- the object viewvoid cacheResult(java.util.List<ObjectView> objectViews)
objectViews
- the object viewsObjectView create(long objectViewId)
objectViewId
- the primary key for the new object viewObjectView remove(long objectViewId) throws NoSuchObjectViewException
objectViewId
- the primary key of the object viewNoSuchObjectViewException
- if a object view with the primary key could not be foundObjectView updateImpl(ObjectView objectView)
ObjectView findByPrimaryKey(long objectViewId) throws NoSuchObjectViewException
NoSuchObjectViewException
if it could not be found.objectViewId
- the primary key of the object viewNoSuchObjectViewException
- if a object view with the primary key could not be foundObjectView fetchByPrimaryKey(long objectViewId)
null
if it could not be found.objectViewId
- the primary key of the object viewnull
if a object view with the primary key could not be foundjava.util.List<ObjectView> findAll()
java.util.List<ObjectView> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
start
- the lower bound of the range of object viewsend
- the upper bound of the range of object views (not inclusive)java.util.List<ObjectView> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)java.util.List<ObjectView> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<ObjectView> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from ObjectViewModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()