public class DDMDataProviderInstanceUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMDataProviderInstancePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDMDataProviderInstancePersistence
Constructor and Description |
---|
DDMDataProviderInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMDataProviderInstance ddmDataProviderInstance)
Caches the ddm data provider instance in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMDataProviderInstance> ddmDataProviderInstances)
Caches the ddm data provider instances in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMDataProviderInstance ddmDataProviderInstance) |
static int |
countAll()
Returns the number of ddm data provider instances.
|
static int |
countByCompanyId(long companyId)
Returns the number of ddm data provider instances where companyId = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of ddm data provider instances where groupId = ?.
|
static int |
countByGroupId(long[] groupIds)
Returns the number of ddm data provider instances where groupId = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm data provider instances where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of ddm data provider instances where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ddm data provider instances where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMDataProviderInstance |
create(long dataProviderInstanceId)
Creates a new ddm data provider instance with the primary key.
|
static DDMDataProviderInstance |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where companyId = ?.
|
static DDMDataProviderInstance |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where companyId = ?.
|
static DDMDataProviderInstance |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where groupId = ?.
|
static DDMDataProviderInstance |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where groupId = ?.
|
static DDMDataProviderInstance |
fetchByPrimaryKey(long dataProviderInstanceId)
Returns the ddm data provider instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMDataProviderInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMDataProviderInstance |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where uuid = ? and companyId = ?.
|
static DDMDataProviderInstance |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where uuid = ? and companyId = ?.
|
static DDMDataProviderInstance |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where uuid = ?.
|
static DDMDataProviderInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm data provider instance where uuid = ? and groupId = ? or returns
null if it could not be found. |
static DDMDataProviderInstance |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the ddm data provider instance where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMDataProviderInstance |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where uuid = ?.
|
static int |
filterCountByGroupId(long groupId)
Returns the number of ddm data provider instances that the user has permission to view where groupId = ?.
|
static int |
filterCountByGroupId(long[] groupIds)
Returns the number of ddm data provider instances that the user has permission to view where groupId = any ?.
|
static DDMDataProviderInstance[] |
filterFindByGroupId_PrevAndNext(long dataProviderInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set of ddm data provider instances that the user has permission to view where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long groupId)
Returns all the ddm data provider instances that the user has permission to view where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long[] groupIds)
Returns all the ddm data provider instances that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm data provider instances that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances that the user has permission to view where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm data provider instances that the user has permission to view where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances that the user has permissions to view where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findAll()
Returns all the ddm data provider instances.
|
static java.util.List<DDMDataProviderInstance> |
findAll(int start,
int end)
Returns a range of all the ddm data provider instances.
|
static java.util.List<DDMDataProviderInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances.
|
static java.util.List<DDMDataProviderInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances.
|
static DDMDataProviderInstance |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where companyId = ?.
|
static DDMDataProviderInstance |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where companyId = ?.
|
static DDMDataProviderInstance[] |
findByCompanyId_PrevAndNext(long dataProviderInstanceId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByCompanyId(long companyId)
Returns all the ddm data provider instances where companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the ddm data provider instances where companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances where companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances where companyId = ?.
|
static DDMDataProviderInstance |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where groupId = ?.
|
static DDMDataProviderInstance |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where groupId = ?.
|
static DDMDataProviderInstance[] |
findByGroupId_PrevAndNext(long dataProviderInstanceId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long groupId)
Returns all the ddm data provider instances where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long[] groupIds)
Returns all the ddm data provider instances where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long[] groupIds,
int start,
int end)
Returns a range of all the ddm data provider instances where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances where groupId = any ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long[] groupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances where groupId = ?, optionally using the finder cache.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the ddm data provider instances where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances where groupId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances where groupId = ?.
|
static DDMDataProviderInstance |
findByPrimaryKey(long dataProviderInstanceId)
Returns the ddm data provider instance with the primary key or throws a
NoSuchDataProviderInstanceException if it could not be found. |
static DDMDataProviderInstance |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where uuid = ? and companyId = ?.
|
static DDMDataProviderInstance |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where uuid = ? and companyId = ?.
|
static DDMDataProviderInstance[] |
findByUuid_C_PrevAndNext(long dataProviderInstanceId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm data provider instances where uuid = ? and companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm data provider instances where uuid = ? and companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances where uuid = ? and companyId = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances where uuid = ? and companyId = ?.
|
static DDMDataProviderInstance |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the first ddm data provider instance in the ordered set where uuid = ?.
|
static DDMDataProviderInstance |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the ddm data provider instance where uuid = ? and groupId = ? or throws a
NoSuchDataProviderInstanceException if it could not be found. |
static DDMDataProviderInstance |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the last ddm data provider instance in the ordered set where uuid = ?.
|
static DDMDataProviderInstance[] |
findByUuid_PrevAndNext(long dataProviderInstanceId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where uuid = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid(java.lang.String uuid)
Returns all the ddm data provider instances where uuid = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm data provider instances where uuid = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
Returns an ordered range of all the ddm data provider instances where uuid = ?.
|
static java.util.List<DDMDataProviderInstance> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instances where uuid = ?.
|
static java.util.List<DDMDataProviderInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMDataProviderInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMDataProviderInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) |
static DDMDataProviderInstancePersistence |
getPersistence() |
static DDMDataProviderInstance |
remove(long dataProviderInstanceId)
Removes the ddm data provider instance with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm data provider instances from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the ddm data provider instances where companyId = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the ddm data provider instances where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm data provider instances where uuid = ? and companyId = ? from the database.
|
static DDMDataProviderInstance |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the ddm data provider instance where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ddm data provider instances where uuid = ? from the database.
|
static DDMDataProviderInstance |
update(DDMDataProviderInstance ddmDataProviderInstance) |
static DDMDataProviderInstance |
update(DDMDataProviderInstance ddmDataProviderInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMDataProviderInstance |
updateImpl(DDMDataProviderInstance ddmDataProviderInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMDataProviderInstance ddmDataProviderInstance)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMDataProviderInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMDataProviderInstance update(DDMDataProviderInstance ddmDataProviderInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMDataProviderInstance update(DDMDataProviderInstance ddmDataProviderInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMDataProviderInstance> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstance findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance[] findByUuid_PrevAndNext(long dataProviderInstanceId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the current ddm data provider instanceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static DDMDataProviderInstance findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchDataProviderInstanceException
NoSuchDataProviderInstanceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance 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 ddm data provider instance could not be foundpublic static DDMDataProviderInstance 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 ddm data provider instance could not be foundpublic static DDMDataProviderInstance removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchDataProviderInstanceException
uuid
- the uuidgroupId
- the group IDNoSuchDataProviderInstanceException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<DDMDataProviderInstance> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstance findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance[] findByUuid_C_PrevAndNext(long dataProviderInstanceId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the current ddm data provider instanceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMDataProviderInstance> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMDataProviderInstance> findByGroupId(long groupId, 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance[] findByGroupId_PrevAndNext(long dataProviderInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the current ddm data provider instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long groupId, 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static DDMDataProviderInstance[] filterFindByGroupId_PrevAndNext(long dataProviderInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the current ddm data provider instancegroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long[] groupIds, 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 DDMDataProviderInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> filterFindByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByGroupId(long[] groupIds)
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 DDMDataProviderInstanceModelImpl
.
groupIds
- the group IDspublic static java.util.List<DDMDataProviderInstance> findByGroupId(long[] groupIds, 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 DDMDataProviderInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupIds
- the group IDsstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByGroupId(long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long[] groupIds)
groupIds
- the group IDspublic static int filterCountByGroupId(long groupId)
groupId
- the group IDpublic static int filterCountByGroupId(long[] groupIds)
groupIds
- the group IDspublic static java.util.List<DDMDataProviderInstance> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<DDMDataProviderInstance> findByCompanyId(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 DDMDataProviderInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance could not be foundpublic static DDMDataProviderInstance[] findByCompanyId_PrevAndNext(long dataProviderInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the current ddm data provider instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static void cacheResult(DDMDataProviderInstance ddmDataProviderInstance)
ddmDataProviderInstance
- the ddm data provider instancepublic static void cacheResult(java.util.List<DDMDataProviderInstance> ddmDataProviderInstances)
ddmDataProviderInstances
- the ddm data provider instancespublic static DDMDataProviderInstance create(long dataProviderInstanceId)
dataProviderInstanceId
- the primary key for the new ddm data provider instancepublic static DDMDataProviderInstance remove(long dataProviderInstanceId) throws NoSuchDataProviderInstanceException
dataProviderInstanceId
- the primary key of the ddm data provider instanceNoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static DDMDataProviderInstance updateImpl(DDMDataProviderInstance ddmDataProviderInstance)
public static DDMDataProviderInstance findByPrimaryKey(long dataProviderInstanceId) throws NoSuchDataProviderInstanceException
NoSuchDataProviderInstanceException
if it could not be found.dataProviderInstanceId
- the primary key of the ddm data provider instanceNoSuchDataProviderInstanceException
- if a ddm data provider instance with the primary key could not be foundpublic static DDMDataProviderInstance fetchByPrimaryKey(long dataProviderInstanceId)
null
if it could not be found.dataProviderInstanceId
- the primary key of the ddm data provider instancenull
if a ddm data provider instance with the primary key could not be foundpublic static java.util.List<DDMDataProviderInstance> findAll()
public static java.util.List<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
start
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)public static java.util.List<DDMDataProviderInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
start
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> 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 DDMDataProviderInstanceModelImpl
.
start
- the lower bound of the range of ddm data provider instancesend
- the upper bound of the range of ddm data provider instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMDataProviderInstancePersistence getPersistence()