Class DDMDataProviderInstanceUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DDMDataProviderInstance ddmDataProviderInstance) Caches the ddm data provider instance in the entity cache if it is enabled.static voidcacheResult(List<DDMDataProviderInstance> ddmDataProviderInstances) Caches the ddm data provider instances in the entity cache if it is enabled.static voidstatic voidclearCache(DDMDataProviderInstance ddmDataProviderInstance) static intcountAll()Returns the number of ddm data provider instances.static intcountByCompanyId(long companyId) Returns the number of ddm data provider instances where companyId = ?.static intcountByGroupId(long groupId) Returns the number of ddm data provider instances where groupId = ?.static intcountByGroupId(long[] groupIds) Returns the number of ddm data provider instances where groupId = any ?.static intcountByUuid(String uuid) Returns the number of ddm data provider instances where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of ddm data provider instances where uuid = ? and companyId = ?.static intcountByUUID_G(String uuid, long groupId) Returns the number of ddm data provider instances where uuid = ? and groupId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMDataProviderInstancecreate(long dataProviderInstanceId) Creates a new ddm data provider instance with the primary key.static DDMDataProviderInstancefetchByCompanyId_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 DDMDataProviderInstancefetchByCompanyId_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 DDMDataProviderInstancefetchByGroupId_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 DDMDataProviderInstancefetchByGroupId_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 DDMDataProviderInstancefetchByPrimaryKey(long dataProviderInstanceId) Returns the ddm data provider instance with the primary key or returnsnullif it could not be found.static Map<Serializable,DDMDataProviderInstance> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMDataProviderInstancefetchByUuid_C_First(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 DDMDataProviderInstancefetchByUuid_C_Last(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 DDMDataProviderInstancefetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) Returns the first ddm data provider instance in the ordered set where uuid = ?.static DDMDataProviderInstancefetchByUUID_G(String uuid, long groupId) Returns the ddm data provider instance where uuid = ? and groupId = ? or returnsnullif it could not be found.static DDMDataProviderInstancefetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm data provider instance where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMDataProviderInstancefetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) Returns the last ddm data provider instance in the ordered set where uuid = ?.static intfilterCountByGroupId(long groupId) Returns the number of ddm data provider instances that the user has permission to view where groupId = ?.static intfilterCountByGroupId(long[] groupIds) Returns the number of ddm data provider instances that the user has permission to view where groupId = any ?.static List<DDMDataProviderInstance>filterFindByGroupId(long groupId) Returns all the ddm data provider instances that the user has permission to view where groupId = ?.static List<DDMDataProviderInstance>filterFindByGroupId(long[] groupIds) Returns all the ddm data provider instances that the user has permission to view where groupId = any ?.static 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 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 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 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 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 List<DDMDataProviderInstance>findAll()Returns all the ddm data provider instances.static List<DDMDataProviderInstance>findAll(int start, int end) Returns a range of all the ddm data provider instances.static 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 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 List<DDMDataProviderInstance>findByCompanyId(long companyId) Returns all the ddm data provider instances where companyId = ?.static List<DDMDataProviderInstance>findByCompanyId(long companyId, int start, int end) Returns a range of all the ddm data provider instances where companyId = ?.static 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 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 DDMDataProviderInstancefindByCompanyId_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 DDMDataProviderInstancefindByCompanyId_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 List<DDMDataProviderInstance>findByGroupId(long groupId) Returns all the ddm data provider instances where groupId = ?.static List<DDMDataProviderInstance>findByGroupId(long[] groupIds) Returns all the ddm data provider instances where groupId = any ?.static List<DDMDataProviderInstance>findByGroupId(long[] groupIds, int start, int end) Returns a range of all the ddm data provider instances where groupId = any ?.static 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 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 List<DDMDataProviderInstance>findByGroupId(long groupId, int start, int end) Returns a range of all the ddm data provider instances where groupId = ?.static 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 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 DDMDataProviderInstancefindByGroupId_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 DDMDataProviderInstancefindByGroupId_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 DDMDataProviderInstancefindByPrimaryKey(long dataProviderInstanceId) Returns the ddm data provider instance with the primary key or throws aNoSuchDataProviderInstanceExceptionif it could not be found.static List<DDMDataProviderInstance>findByUuid(String uuid) Returns all the ddm data provider instances where uuid = ?.static List<DDMDataProviderInstance>findByUuid(String uuid, int start, int end) Returns a range of all the ddm data provider instances where uuid = ?.static List<DDMDataProviderInstance>findByUuid(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 List<DDMDataProviderInstance>findByUuid(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 List<DDMDataProviderInstance>findByUuid_C(String uuid, long companyId) Returns all the ddm data provider instances where uuid = ? and companyId = ?.static List<DDMDataProviderInstance>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm data provider instances where uuid = ? and companyId = ?.static List<DDMDataProviderInstance>findByUuid_C(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 List<DDMDataProviderInstance>findByUuid_C(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 DDMDataProviderInstancefindByUuid_C_First(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 DDMDataProviderInstancefindByUuid_C_Last(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, 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 DDMDataProviderInstancefindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) Returns the first ddm data provider instance in the ordered set where uuid = ?.static DDMDataProviderInstancefindByUUID_G(String uuid, long groupId) Returns the ddm data provider instance where uuid = ? and groupId = ? or throws aNoSuchDataProviderInstanceExceptionif it could not be found.static DDMDataProviderInstancefindByUuid_Last(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, 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 List<DDMDataProviderInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMDataProviderInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMDataProviderInstance>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) static DDMDataProviderInstanceremove(long dataProviderInstanceId) Removes the ddm data provider instance with the primary key from the database.static voidRemoves all the ddm data provider instances from the database.static voidremoveByCompanyId(long companyId) Removes all the ddm data provider instances where companyId = ? from the database.static voidremoveByGroupId(long groupId) Removes all the ddm data provider instances where groupId = ? from the database.static voidremoveByUuid(String uuid) Removes all the ddm data provider instances where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the ddm data provider instances where uuid = ? and companyId = ? from the database.static DDMDataProviderInstanceremoveByUUID_G(String uuid, long groupId) Removes the ddm data provider instance where uuid = ? and groupId = ? from the database.static voidsetPersistence(DDMDataProviderInstancePersistence persistence) static DDMDataProviderInstanceupdate(DDMDataProviderInstance ddmDataProviderInstance) static DDMDataProviderInstanceupdate(DDMDataProviderInstance ddmDataProviderInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMDataProviderInstanceupdateImpl(DDMDataProviderInstance ddmDataProviderInstance)
-
Constructor Details
-
DDMDataProviderInstanceUtil
public DDMDataProviderInstanceUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,DDMDataProviderInstance> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMDataProviderInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMDataProviderInstance update(DDMDataProviderInstance ddmDataProviderInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the ddm data provider instances where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching ddm data provider instances
-
findByUuid
Returns a range of all the ddm data provider instances where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances
-
findByUuid
public static List<DDMDataProviderInstance> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances
-
findByUuid
public static List<DDMDataProviderInstance> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm data provider instances
-
findByUuid_First
public static DDMDataProviderInstance findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the first ddm data provider instance in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByUuid_First
public static DDMDataProviderInstance fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) Returns the first ddm data provider instance in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByUuid_Last
public static DDMDataProviderInstance findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the last ddm data provider instance in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByUuid_Last
public static DDMDataProviderInstance fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) Returns the last ddm data provider instance in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByUuid_PrevAndNext
public static DDMDataProviderInstance[] findByUuid_PrevAndNext(long dataProviderInstanceId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where uuid = ?.- Parameters:
dataProviderInstanceId- the primary key of the current ddm data provider instanceuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
removeByUuid
Removes all the ddm data provider instances where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of ddm data provider instances where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching ddm data provider instances
-
findByUUID_G
public static DDMDataProviderInstance findByUUID_G(String uuid, long groupId) throws NoSuchDataProviderInstanceException Returns the ddm data provider instance where uuid = ? and groupId = ? or throws aNoSuchDataProviderInstanceExceptionif it could not be found.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByUUID_G
Returns the ddm data provider instance where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
fetchByUUID_G
public static DDMDataProviderInstance fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the ddm data provider instance where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
removeByUUID_G
public static DDMDataProviderInstance removeByUUID_G(String uuid, long groupId) throws NoSuchDataProviderInstanceException Removes the ddm data provider instance where uuid = ? and groupId = ? from the database.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the ddm data provider instance that was removed
- Throws:
NoSuchDataProviderInstanceException
-
countByUUID_G
Returns the number of ddm data provider instances where uuid = ? and groupId = ?.- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching ddm data provider instances
-
findByUuid_C
Returns all the ddm data provider instances where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching ddm data provider instances
-
findByUuid_C
public static List<DDMDataProviderInstance> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the ddm data provider instances where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances
-
findByUuid_C
public static List<DDMDataProviderInstance> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances
-
findByUuid_C
public static List<DDMDataProviderInstance> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm data provider instances
-
findByUuid_C_First
public static DDMDataProviderInstance findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the first ddm data provider instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByUuid_C_First
public static DDMDataProviderInstance fetchByUuid_C_First(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByUuid_C_Last
public static DDMDataProviderInstance findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the last ddm data provider instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByUuid_C_Last
public static DDMDataProviderInstance fetchByUuid_C_Last(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 = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByUuid_C_PrevAndNext
public static DDMDataProviderInstance[] findByUuid_C_PrevAndNext(long dataProviderInstanceId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where uuid = ? and companyId = ?.- Parameters:
dataProviderInstanceId- the primary key of the current ddm data provider instanceuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
removeByUuid_C
Removes all the ddm data provider instances where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of ddm data provider instances where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching ddm data provider instances
-
findByGroupId
Returns all the ddm data provider instances where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching ddm data provider instances
-
findByGroupId
Returns a range of all the ddm data provider instances where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm data provider instances
-
findByGroupId_First
public static DDMDataProviderInstance findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the first ddm data provider instance in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByGroupId_Last
public static DDMDataProviderInstance findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the last ddm data provider instance in the ordered set where groupId = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByGroupId_PrevAndNext
public static DDMDataProviderInstance[] findByGroupId_PrevAndNext(long dataProviderInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where groupId = ?.- Parameters:
dataProviderInstanceId- the primary key of the current ddm data provider instancegroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
filterFindByGroupId
Returns all the ddm data provider instances that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the matching ddm data provider instances that the user has permission to view
-
filterFindByGroupId
Returns a range of all the ddm data provider instances that the user has permission to view where groupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances that the user has permission to view
-
filterFindByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances that the user has permission to view
-
filterFindByGroupId_PrevAndNext
public static DDMDataProviderInstance[] filterFindByGroupId_PrevAndNext(long dataProviderInstanceId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException 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 = ?.- Parameters:
dataProviderInstanceId- the primary key of the current ddm data provider instancegroupId- the group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
filterFindByGroupId
Returns all the ddm data provider instances that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the matching ddm data provider instances that the user has permission to view
-
filterFindByGroupId
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances that the user has permission to view
-
filterFindByGroupId
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances that the user has permission to view
-
findByGroupId
Returns all the ddm data provider instances where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
groupIds- the group IDs- Returns:
- the matching ddm data provider instances
-
findByGroupId
Returns a range of all the ddm data provider instances where groupId = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances
-
findByGroupId
public static 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 ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances
-
findByGroupId
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm data provider instances
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the ddm data provider instances where groupId = ? from the database.- Parameters:
groupId- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of ddm data provider instances where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching ddm data provider instances
-
countByGroupId
public static int countByGroupId(long[] groupIds) Returns the number of ddm data provider instances where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching ddm data provider instances
-
filterCountByGroupId
public static int filterCountByGroupId(long groupId) Returns the number of ddm data provider instances that the user has permission to view where groupId = ?.- Parameters:
groupId- the group ID- Returns:
- the number of matching ddm data provider instances that the user has permission to view
-
filterCountByGroupId
public static int filterCountByGroupId(long[] groupIds) Returns the number of ddm data provider instances that the user has permission to view where groupId = any ?.- Parameters:
groupIds- the group IDs- Returns:
- the number of matching ddm data provider instances that the user has permission to view
-
findByCompanyId
Returns all the ddm data provider instances where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching ddm data provider instances
-
findByCompanyId
Returns a range of all the ddm data provider instances where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of matching ddm data provider instances
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching ddm data provider instances
-
findByCompanyId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching ddm data provider instances
-
findByCompanyId_First
public static DDMDataProviderInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the first ddm data provider instance in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByCompanyId_Last
public static DDMDataProviderInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the last ddm data provider instance in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a matching ddm data provider instance could not be foundNoSuchDataProviderInstanceException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance, or
nullif a matching ddm data provider instance could not be found
-
findByCompanyId_PrevAndNext
public static DDMDataProviderInstance[] findByCompanyId_PrevAndNext(long dataProviderInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstance> orderByComparator) throws NoSuchDataProviderInstanceException Returns the ddm data provider instances before and after the current ddm data provider instance in the ordered set where companyId = ?.- Parameters:
dataProviderInstanceId- the primary key of the current ddm data provider instancecompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the ddm data provider instances where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of ddm data provider instances where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching ddm data provider instances
-
cacheResult
Caches the ddm data provider instance in the entity cache if it is enabled.- Parameters:
ddmDataProviderInstance- the ddm data provider instance
-
cacheResult
Caches the ddm data provider instances in the entity cache if it is enabled.- Parameters:
ddmDataProviderInstances- the ddm data provider instances
-
create
Creates a new ddm data provider instance with the primary key. Does not add the ddm data provider instance to the database.- Parameters:
dataProviderInstanceId- the primary key for the new ddm data provider instance- Returns:
- the new ddm data provider instance
-
remove
public static DDMDataProviderInstance remove(long dataProviderInstanceId) throws NoSuchDataProviderInstanceException Removes the ddm data provider instance with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
dataProviderInstanceId- the primary key of the ddm data provider instance- Returns:
- the ddm data provider instance that was removed
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
updateImpl
-
findByPrimaryKey
public static DDMDataProviderInstance findByPrimaryKey(long dataProviderInstanceId) throws NoSuchDataProviderInstanceException Returns the ddm data provider instance with the primary key or throws aNoSuchDataProviderInstanceExceptionif it could not be found.- Parameters:
dataProviderInstanceId- the primary key of the ddm data provider instance- Returns:
- the ddm data provider instance
- Throws:
NoSuchDataProviderInstanceException- if a ddm data provider instance with the primary key could not be foundNoSuchDataProviderInstanceException
-
fetchByPrimaryKey
Returns the ddm data provider instance with the primary key or returnsnullif it could not be found.- Parameters:
dataProviderInstanceId- the primary key of the ddm data provider instance- Returns:
- the ddm data provider instance, or
nullif a ddm data provider instance with the primary key could not be found
-
findAll
Returns all the ddm data provider instances.- Returns:
- the ddm data provider instances
-
findAll
Returns a range of all the ddm data provider instances.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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)- Returns:
- the range of ddm data provider instances
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of ddm data provider instances
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDMDataProviderInstanceModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of ddm data provider instances
-
removeAll
public static void removeAll()Removes all the ddm data provider instances from the database. -
countAll
public static int countAll()Returns the number of ddm data provider instances.- Returns:
- the number of ddm data provider instances
-
getPersistence
-
setPersistence
-