@ProviderType public interface CPDefinitionVirtualSettingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CPDefinitionVirtualSetting>
Caching information and settings can be found in portal.properties
CPDefinitionVirtualSettingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CPDefinitionVirtualSetting cpDefinitionVirtualSetting)
Caches the cp definition virtual setting in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CPDefinitionVirtualSetting> cpDefinitionVirtualSettings)
Caches the cp definition virtual settings in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cp definition virtual settings.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of cp definition virtual settings where classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of cp definition virtual settings where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of cp definition virtual settings where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of cp definition virtual settings where uuid = ?.
|
CPDefinitionVirtualSetting |
create(long CPDefinitionVirtualSettingId)
Creates a new cp definition virtual setting with the primary key.
|
CPDefinitionVirtualSetting |
fetchByC_C(long classNameId,
long classPK)
Returns the cp definition virtual setting where classNameId = ? and classPK = ? or returns
null if it could not be found. |
CPDefinitionVirtualSetting |
fetchByC_C(long classNameId,
long classPK,
boolean useFinderCache)
Returns the cp definition virtual setting where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionVirtualSetting |
fetchByPrimaryKey(long CPDefinitionVirtualSettingId)
Returns the cp definition virtual setting with the primary key or returns
null if it could not be found. |
CPDefinitionVirtualSetting |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the first cp definition virtual setting in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionVirtualSetting |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the last cp definition virtual setting in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionVirtualSetting |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the first cp definition virtual setting in the ordered set where uuid = ?.
|
CPDefinitionVirtualSetting |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition virtual setting where uuid = ? and groupId = ? or returns
null if it could not be found. |
CPDefinitionVirtualSetting |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the cp definition virtual setting where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CPDefinitionVirtualSetting |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the last cp definition virtual setting in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findAll()
Returns all the cp definition virtual settings.
|
java.util.List<CPDefinitionVirtualSetting> |
findAll(int start,
int end)
Returns a range of all the cp definition virtual settings.
|
java.util.List<CPDefinitionVirtualSetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns an ordered range of all the cp definition virtual settings.
|
java.util.List<CPDefinitionVirtualSetting> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition virtual settings.
|
CPDefinitionVirtualSetting |
findByC_C(long classNameId,
long classPK)
Returns the cp definition virtual setting where classNameId = ? and classPK = ? or throws a
NoSuchCPDefinitionVirtualSettingException if it could not be found. |
CPDefinitionVirtualSetting |
findByPrimaryKey(long CPDefinitionVirtualSettingId)
Returns the cp definition virtual setting with the primary key or throws a
NoSuchCPDefinitionVirtualSettingException if it could not be found. |
CPDefinitionVirtualSetting |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the first cp definition virtual setting in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionVirtualSetting |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the last cp definition virtual setting in the ordered set where uuid = ? and companyId = ?.
|
CPDefinitionVirtualSetting[] |
findByUuid_C_PrevAndNext(long CPDefinitionVirtualSettingId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the cp definition virtual settings before and after the current cp definition virtual setting in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cp definition virtual settings where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cp definition virtual settings where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns an ordered range of all the cp definition virtual settings where uuid = ? and companyId = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition virtual settings where uuid = ? and companyId = ?.
|
CPDefinitionVirtualSetting |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the first cp definition virtual setting in the ordered set where uuid = ?.
|
CPDefinitionVirtualSetting |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the cp definition virtual setting where uuid = ? and groupId = ? or throws a
NoSuchCPDefinitionVirtualSettingException if it could not be found. |
CPDefinitionVirtualSetting |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the last cp definition virtual setting in the ordered set where uuid = ?.
|
CPDefinitionVirtualSetting[] |
findByUuid_PrevAndNext(long CPDefinitionVirtualSettingId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns the cp definition virtual settings before and after the current cp definition virtual setting in the ordered set where uuid = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid(java.lang.String uuid)
Returns all the cp definition virtual settings where uuid = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cp definition virtual settings where uuid = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
Returns an ordered range of all the cp definition virtual settings where uuid = ?.
|
java.util.List<CPDefinitionVirtualSetting> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cp definition virtual settings where uuid = ?.
|
CPDefinitionVirtualSetting |
remove(long CPDefinitionVirtualSettingId)
Removes the cp definition virtual setting with the primary key from the database.
|
void |
removeAll()
Removes all the cp definition virtual settings from the database.
|
CPDefinitionVirtualSetting |
removeByC_C(long classNameId,
long classPK)
Removes the cp definition virtual setting where classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the cp definition virtual settings where uuid = ? and companyId = ? from the database.
|
CPDefinitionVirtualSetting |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the cp definition virtual setting where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the cp definition virtual settings where uuid = ? from the database.
|
CPDefinitionVirtualSetting |
updateImpl(CPDefinitionVirtualSetting cpDefinitionVirtualSetting) |
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<CPDefinitionVirtualSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)java.util.List<CPDefinitionVirtualSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionVirtualSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionVirtualSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting[] findByUuid_PrevAndNext(long CPDefinitionVirtualSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
CPDefinitionVirtualSettingId
- the primary key of the current cp definition virtual settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a cp definition virtual setting with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCPDefinitionVirtualSetting findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionVirtualSettingException
NoSuchCPDefinitionVirtualSettingException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchCPDefinitionVirtualSettingException
uuid
- the uuidgroupId
- the group IDNoSuchCPDefinitionVirtualSettingException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CPDefinitionVirtualSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)java.util.List<CPDefinitionVirtualSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionVirtualSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCPDefinitionVirtualSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting[] findByUuid_C_PrevAndNext(long CPDefinitionVirtualSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> orderByComparator) throws NoSuchCPDefinitionVirtualSettingException
CPDefinitionVirtualSettingId
- the primary key of the current cp definition virtual settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCPDefinitionVirtualSettingException
- if a cp definition virtual setting 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 IDCPDefinitionVirtualSetting findByC_C(long classNameId, long classPK) throws NoSuchCPDefinitionVirtualSettingException
NoSuchCPDefinitionVirtualSettingException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkNoSuchCPDefinitionVirtualSettingException
- if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pknull
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting fetchByC_C(long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching cp definition virtual setting could not be foundCPDefinitionVirtualSetting removeByC_C(long classNameId, long classPK) throws NoSuchCPDefinitionVirtualSettingException
classNameId
- the class name IDclassPK
- the class pkNoSuchCPDefinitionVirtualSettingException
int countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkvoid cacheResult(CPDefinitionVirtualSetting cpDefinitionVirtualSetting)
cpDefinitionVirtualSetting
- the cp definition virtual settingvoid cacheResult(java.util.List<CPDefinitionVirtualSetting> cpDefinitionVirtualSettings)
cpDefinitionVirtualSettings
- the cp definition virtual settingsCPDefinitionVirtualSetting create(long CPDefinitionVirtualSettingId)
CPDefinitionVirtualSettingId
- the primary key for the new cp definition virtual settingCPDefinitionVirtualSetting remove(long CPDefinitionVirtualSettingId) throws NoSuchCPDefinitionVirtualSettingException
CPDefinitionVirtualSettingId
- the primary key of the cp definition virtual settingNoSuchCPDefinitionVirtualSettingException
- if a cp definition virtual setting with the primary key could not be foundCPDefinitionVirtualSetting updateImpl(CPDefinitionVirtualSetting cpDefinitionVirtualSetting)
CPDefinitionVirtualSetting findByPrimaryKey(long CPDefinitionVirtualSettingId) throws NoSuchCPDefinitionVirtualSettingException
NoSuchCPDefinitionVirtualSettingException
if it could not be found.CPDefinitionVirtualSettingId
- the primary key of the cp definition virtual settingNoSuchCPDefinitionVirtualSettingException
- if a cp definition virtual setting with the primary key could not be foundCPDefinitionVirtualSetting fetchByPrimaryKey(long CPDefinitionVirtualSettingId)
null
if it could not be found.CPDefinitionVirtualSettingId
- the primary key of the cp definition virtual settingnull
if a cp definition virtual setting with the primary key could not be foundjava.util.List<CPDefinitionVirtualSetting> findAll()
java.util.List<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
start
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)java.util.List<CPDefinitionVirtualSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
start
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CPDefinitionVirtualSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPDefinitionVirtualSetting> 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 CPDefinitionVirtualSettingModelImpl
.
start
- the lower bound of the range of cp definition virtual settingsend
- the upper bound of the range of cp definition virtual settings (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()