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 TypeMethodDescriptionintcountByD_S(long dataProviderInstanceId, long structureId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.intcountByDataProviderInstanceId(long dataProviderInstanceId) Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.intcountByStructureId(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.default DDMDataProviderInstanceLinkfetchByD_S(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returnsnullif 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 returnsnullif 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 = ?.fetchByPrimaryKey(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or returnsnullif 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 = ?.findByD_S(long dataProviderInstanceId, long structureId) Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.default List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId) Returns all the ddm data provider instance links where dataProviderInstanceId = ?.default List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end) Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.default 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 = ?.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 = ?.findByPrimaryKey(long dataProviderInstanceLinkId) Returns the ddm data provider instance link with the primary key or throws aNoSuchDataProviderInstanceLinkExceptionif it could not be found.default List<DDMDataProviderInstanceLink> findByStructureId(long structureId) Returns all the ddm data provider instance links where structureId = ?.default List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end) Returns a range of all the ddm data provider instance links where structureId = ?.default 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 = ?.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 = ?.remove(long dataProviderInstanceLinkId) Removes the ddm data provider instance link with the primary key from the database.removeByD_S(long dataProviderInstanceId, long structureId) Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.voidremoveByDataProviderInstanceId(long dataProviderInstanceId) Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.voidremoveByStructureId(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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
nullif a matching ddm data provider instance link 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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
nullif a matching ddm data provider instance link 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 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 found
-
fetchByD_S
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
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
-
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 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 found
-
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
-
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
-
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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.dynamic.data.mapping.model.impl.DDMDataProviderInstanceLinkModelImpl.- 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
-