Interface DDMDataProviderInstanceLinkPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMDataProviderInstanceLink>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMDataProviderInstanceLink>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) Caches the ddm data provider instance link in the entity cache if it is enabled.void
cacheResult
(List<DDMDataProviderInstanceLink> ddmDataProviderInstanceLinks) Caches the ddm data provider instance links in the entity cache if it is enabled.int
countAll()
Returns the number of ddm data provider instance links.int
countByD_S
(long dataProviderInstanceId, long structureId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.int
countByDataProviderInstanceId
(long dataProviderInstanceId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.int
countByStructureId
(long structureId) Returns the number of ddm data provider instance links where structureId = ?.create
(long dataProviderInstanceLinkId) Creates a new ddm data provider instance link with the primary key.fetchByD_S
(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnull
if it could not be found.fetchByD_S
(long dataProviderInstanceId, long structureId, boolean useFinderCache) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.fetchByPrimaryKey
(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or returnsnull
if it could not be found.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 = ?.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 = ?.findAll()
Returns all the ddm data provider instance links.findAll
(int start, int end) Returns a range of all the ddm data provider instance links.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.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.findByD_S
(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws aNoSuchDataProviderInstanceLinkException
if it could not be found.findByDataProviderInstanceId
(long dataProviderInstanceId) Returns all the ddm data provider instance links where dataProviderInstanceId = ?.findByDataProviderInstanceId
(long dataProviderInstanceId, int start, int end) Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.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 = ?.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 = ?.findByDataProviderInstanceId_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 = ?.findByDataProviderInstanceId_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 = ?.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 = ?.findByPrimaryKey
(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or throws aNoSuchDataProviderInstanceLinkException
if it could not be found.findByStructureId
(long structureId) Returns all the ddm data provider instance links where structureId = ?.findByStructureId
(long structureId, int start, int end) Returns a range of all the ddm data provider instance links where structureId = ?.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 = ?.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 = ?.findByStructureId_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 = ?.findByStructureId_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 = ?.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 = ?.remove
(long dataProviderInstanceLinkId) Removes the ddm data provider instance link with the primary key from the database.void
Removes all the ddm data provider instance links from the database.removeByD_S
(long dataProviderInstanceId, long structureId) Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.void
removeByDataProviderInstanceId
(long dataProviderInstanceId) Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.void
removeByStructureId
(long structureId) Removes all the ddm data provider instance links where structureId = ? from the database.updateImpl
(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByDataProviderInstanceId
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByDataProviderInstanceId_First
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
null
if a matching ddm data provider instance link could not be found
-
findByDataProviderInstanceId_Last
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 found
-
fetchByDataProviderInstanceId_Last
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
null
if a matching ddm data provider instance link could not be found
-
findByDataProviderInstanceId_PrevAndNext
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 found
-
removeByDataProviderInstanceId
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
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
Returns a range of all the ddm data provider instance links where structureId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 found
-
fetchByStructureId_First
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
null
if a matching ddm data provider instance link could not be found
-
findByStructureId_Last
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 found
-
fetchByStructureId_Last
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
null
if a matching ddm data provider instance link could not be found
-
findByStructureId_PrevAndNext
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 found
-
removeByStructureId
void removeByStructureId(long structureId) Removes all the ddm data provider instance links where structureId = ? from the database.- Parameters:
structureId
- the structure ID
-
countByStructureId
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
DDMDataProviderInstanceLink findByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws aNoSuchDataProviderInstanceLinkException
if 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 found
-
fetchByD_S
Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnull
if 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
null
if a matching ddm data provider instance link could not be found
-
fetchByD_S
DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId, boolean useFinderCache) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnull
if 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
null
if a matching ddm data provider instance link could not be found
-
removeByD_S
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
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
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 found
-
updateImpl
-
findByPrimaryKey
DDMDataProviderInstanceLink findByPrimaryKey(long dataProviderInstanceLinkId) throws NoSuchDataProviderInstanceLinkException Returns the ddm data provider instance link with the primary key or throws aNoSuchDataProviderInstanceLinkException
if 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 found
-
fetchByPrimaryKey
Returns the ddm data provider instance link with the primary key or returnsnull
if 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
null
if a ddm data provider instance link with the primary key could not be found
-
findAll
List<DDMDataProviderInstanceLink> 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
void removeAll()Removes all the ddm data provider instance links from the database. -
countAll
int countAll()Returns the number of ddm data provider instance links.- Returns:
- the number of ddm data provider instance links
-