Class DDMDataProviderInstanceLinkUtil
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMDataProviderInstanceLinkPersistenceImpl 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(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) Caches the ddm data provider instance link in the entity cache if it is enabled.static voidcacheResult(List<DDMDataProviderInstanceLink> ddmDataProviderInstanceLinks) Caches the ddm data provider instance links in the entity cache if it is enabled.static voidstatic voidclearCache(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) static intcountAll()Returns the number of ddm data provider instance links.static intcountByD_S(long dataProviderInstanceId, long structureId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.static intcountByDataProviderInstanceId(long dataProviderInstanceId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.static intcountByStructureId(long structureId) Returns the number of ddm data provider instance links where structureId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDMDataProviderInstanceLinkcreate(long dataProviderInstanceLinkId) Creates a new ddm data provider instance link with the primary key.static DDMDataProviderInstanceLinkfetchByD_S(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnullif it could not be found.static DDMDataProviderInstanceLinkfetchByD_S(long dataProviderInstanceId, long structureId, boolean useFinderCache) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnullif it could not be found, optionally using the finder cache.static DDMDataProviderInstanceLinkfetchByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.static DDMDataProviderInstanceLinkfetchByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.static DDMDataProviderInstanceLinkfetchByPrimaryKey(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDMDataProviderInstanceLinkfetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where structureId = ?.static DDMDataProviderInstanceLinkfetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where structureId = ?.static List<DDMDataProviderInstanceLink>findAll()Returns all the ddm data provider instance links.static List<DDMDataProviderInstanceLink>findAll(int start, int end) Returns a range of all the ddm data provider instance links.static List<DDMDataProviderInstanceLink>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links.static List<DDMDataProviderInstanceLink>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links.static DDMDataProviderInstanceLinkfindByD_S(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.static List<DDMDataProviderInstanceLink>findByDataProviderInstanceId(long dataProviderInstanceId) Returns all the ddm data provider instance links where dataProviderInstanceId = ?.static List<DDMDataProviderInstanceLink>findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end) Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.static List<DDMDataProviderInstanceLink>findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.static List<DDMDataProviderInstanceLink>findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.static DDMDataProviderInstanceLinkfindByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.static DDMDataProviderInstanceLinkfindByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.static DDMDataProviderInstanceLink[]findByDataProviderInstanceId_PrevAndNext(long dataProviderInstanceLinkId, long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.static DDMDataProviderInstanceLinkfindByPrimaryKey(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.static List<DDMDataProviderInstanceLink>findByStructureId(long structureId) Returns all the ddm data provider instance links where structureId = ?.static List<DDMDataProviderInstanceLink>findByStructureId(long structureId, int start, int end) Returns a range of all the ddm data provider instance links where structureId = ?.static List<DDMDataProviderInstanceLink>findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links where structureId = ?.static List<DDMDataProviderInstanceLink>findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links where structureId = ?.static DDMDataProviderInstanceLinkfindByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where structureId = ?.static DDMDataProviderInstanceLinkfindByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where structureId = ?.static DDMDataProviderInstanceLink[]findByStructureId_PrevAndNext(long dataProviderInstanceLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where structureId = ?.static List<DDMDataProviderInstanceLink>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMDataProviderInstanceLink>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDMDataProviderInstanceLink>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) static DDMDataProviderInstanceLinkremove(long dataProviderInstanceLinkId) Removes the ddm data provider instance link with the primary key from the database.static voidRemoves all the ddm data provider instance links from the database.static DDMDataProviderInstanceLinkremoveByD_S(long dataProviderInstanceId, long structureId) Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.static voidremoveByDataProviderInstanceId(long dataProviderInstanceId) Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.static voidremoveByStructureId(long structureId) Removes all the ddm data provider instance links where structureId = ? from the database.static voidsetPersistence(DDMDataProviderInstanceLinkPersistence persistence) static DDMDataProviderInstanceLinkupdate(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) static DDMDataProviderInstanceLinkupdate(DDMDataProviderInstanceLink ddmDataProviderInstanceLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMDataProviderInstanceLinkupdateImpl(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
-
Constructor Details
-
DDMDataProviderInstanceLinkUtil
public DDMDataProviderInstanceLinkUtil()
-
-
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,DDMDataProviderInstanceLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static DDMDataProviderInstanceLink update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMDataProviderInstanceLink update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByDataProviderInstanceId
public static List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId) Returns all the ddm data provider instance links where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance ID- Returns:
- the matching ddm data provider instance links
-
findByDataProviderInstanceId
public static List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end) Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
dataProviderInstanceId- the data provider instance IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)- Returns:
- the range of matching ddm data provider instance links
-
findByDataProviderInstanceId
public static List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
dataProviderInstanceId- the data provider instance IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm data provider instance links
-
findByDataProviderInstanceId
public static List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
dataProviderInstanceId- the data provider instance IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (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 instance links
-
findByDataProviderInstanceId_First
public static DDMDataProviderInstanceLink findByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a matching ddm data provider instance link could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByDataProviderInstanceId_First
public static DDMDataProviderInstanceLink fetchByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
findByDataProviderInstanceId_Last
public static DDMDataProviderInstanceLink findByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a matching ddm data provider instance link could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByDataProviderInstanceId_Last
public static DDMDataProviderInstanceLink fetchByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
findByDataProviderInstanceId_PrevAndNext
public static DDMDataProviderInstanceLink[] findByDataProviderInstanceId_PrevAndNext(long dataProviderInstanceLinkId, long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceLinkId- the primary key of the current ddm data provider instance linkdataProviderInstanceId- the data provider instance IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a ddm data provider instance link with the primary key could not be foundNoSuchDataProviderInstanceLinkException
-
removeByDataProviderInstanceId
public static void removeByDataProviderInstanceId(long dataProviderInstanceId) Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.- Parameters:
dataProviderInstanceId- the data provider instance ID
-
countByDataProviderInstanceId
public static int countByDataProviderInstanceId(long dataProviderInstanceId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.- Parameters:
dataProviderInstanceId- the data provider instance ID- Returns:
- the number of matching ddm data provider instance links
-
findByStructureId
Returns all the ddm data provider instance links where structureId = ?.- Parameters:
structureId- the structure ID- Returns:
- the matching ddm data provider instance links
-
findByStructureId
public static List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end) Returns a range of all the ddm data provider instance links where structureId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
structureId- the structure IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)- Returns:
- the range of matching ddm data provider instance links
-
findByStructureId
public static List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links where structureId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
structureId- the structure IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching ddm data provider instance links
-
findByStructureId
public static List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links where structureId = ?.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
structureId- the structure IDstart- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (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 instance links
-
findByStructureId_First
public static DDMDataProviderInstanceLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the first ddm data provider instance link in the ordered set where structureId = ?.- Parameters:
structureId- the structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a matching ddm data provider instance link could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByStructureId_First
public static DDMDataProviderInstanceLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the first ddm data provider instance link in the ordered set where structureId = ?.- Parameters:
structureId- the structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
findByStructureId_Last
public static DDMDataProviderInstanceLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the last ddm data provider instance link in the ordered set where structureId = ?.- Parameters:
structureId- the structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a matching ddm data provider instance link could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByStructureId_Last
public static DDMDataProviderInstanceLink fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns the last ddm data provider instance link in the ordered set where structureId = ?.- Parameters:
structureId- the structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
findByStructureId_PrevAndNext
public static DDMDataProviderInstanceLink[] findByStructureId_PrevAndNext(long dataProviderInstanceLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where structureId = ?.- Parameters:
dataProviderInstanceLinkId- the primary key of the current ddm data provider instance linkstructureId- the structure IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a ddm data provider instance link with the primary key could not be foundNoSuchDataProviderInstanceLinkException
-
removeByStructureId
public static void removeByStructureId(long structureId) Removes all the ddm data provider instance links where structureId = ? from the database.- Parameters:
structureId- the structure ID
-
countByStructureId
public static int countByStructureId(long structureId) Returns the number of ddm data provider instance links where structureId = ?.- Parameters:
structureId- the structure ID- Returns:
- the number of matching ddm data provider instance links
-
findByD_S
public static DDMDataProviderInstanceLink findByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.- Parameters:
dataProviderInstanceId- the data provider instance IDstructureId- the structure ID- Returns:
- the matching ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a matching ddm data provider instance link could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByD_S
Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
dataProviderInstanceId- the data provider instance IDstructureId- the structure ID- Returns:
- the matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
fetchByD_S
public static DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId, boolean useFinderCache) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
dataProviderInstanceId- the data provider instance IDstructureId- the structure IDuseFinderCache- whether to use the finder cache- Returns:
- the matching ddm data provider instance link, or
nullif a matching ddm data provider instance link could not be found
-
removeByD_S
public static DDMDataProviderInstanceLink removeByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.- Parameters:
dataProviderInstanceId- the data provider instance IDstructureId- the structure ID- Returns:
- the ddm data provider instance link that was removed
- Throws:
NoSuchDataProviderInstanceLinkException
-
countByD_S
public static int countByD_S(long dataProviderInstanceId, long structureId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.- Parameters:
dataProviderInstanceId- the data provider instance IDstructureId- the structure ID- Returns:
- the number of matching ddm data provider instance links
-
cacheResult
Caches the ddm data provider instance link in the entity cache if it is enabled.- Parameters:
ddmDataProviderInstanceLink- the ddm data provider instance link
-
cacheResult
Caches the ddm data provider instance links in the entity cache if it is enabled.- Parameters:
ddmDataProviderInstanceLinks- the ddm data provider instance links
-
create
Creates a new ddm data provider instance link with the primary key. Does not add the ddm data provider instance link to the database.- Parameters:
dataProviderInstanceLinkId- the primary key for the new ddm data provider instance link- Returns:
- the new ddm data provider instance link
-
remove
public static DDMDataProviderInstanceLink remove(long dataProviderInstanceLinkId) throws NoSuchDataProviderInstanceLinkException Removes the ddm data provider instance link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
dataProviderInstanceLinkId- the primary key of the ddm data provider instance link- Returns:
- the ddm data provider instance link that was removed
- Throws:
NoSuchDataProviderInstanceLinkException- if a ddm data provider instance link with the primary key could not be foundNoSuchDataProviderInstanceLinkException
-
updateImpl
public static DDMDataProviderInstanceLink updateImpl(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) -
findByPrimaryKey
public static DDMDataProviderInstanceLink findByPrimaryKey(long dataProviderInstanceLinkId) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance link with the primary key or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.- Parameters:
dataProviderInstanceLinkId- the primary key of the ddm data provider instance link- Returns:
- the ddm data provider instance link
- Throws:
NoSuchDataProviderInstanceLinkException- if a ddm data provider instance link with the primary key could not be foundNoSuchDataProviderInstanceLinkException
-
fetchByPrimaryKey
Returns the ddm data provider instance link with the primary key or returnsnullif it could not be found.- Parameters:
dataProviderInstanceLinkId- the primary key of the ddm data provider instance link- Returns:
- the ddm data provider instance link, or
nullif a ddm data provider instance link with the primary key could not be found
-
findAll
Returns all the ddm data provider instance links.- Returns:
- the ddm data provider instance links
-
findAll
Returns a range of all the ddm data provider instance links.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
start- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)- Returns:
- the range of ddm data provider instance links
-
findAll
public static List<DDMDataProviderInstanceLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) Returns an ordered range of all the ddm data provider instance links.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
start- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of ddm data provider instance links
-
findAll
public static List<DDMDataProviderInstanceLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddm data provider instance links.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 fromDDMDataProviderInstanceLinkModelImpl.- Parameters:
start- the lower bound of the range of ddm data provider instance linksend- the upper bound of the range of ddm data provider instance links (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 instance links
-
removeAll
public static void removeAll()Removes all the ddm data provider instance links from the database. -
countAll
public static int countAll()Returns the number of ddm data provider instance links.- Returns:
- the number of ddm data provider instance links
-
getPersistence
-
setPersistence
-