Interface CSDiagramPinPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CSDiagramPin>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramPin>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram pins where CPDefinitionId = ?.create(long CSDiagramPinId) Creates a new cs diagram pin with the primary key.fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) Returns the first cs diagram pin in the ordered set where CPDefinitionId = ?.fetchByPrimaryKey(long CSDiagramPinId) Returns the cs diagram pin with the primary key or returnsnullif it could not be found.default List<CSDiagramPin> findByCPDefinitionId(long CPDefinitionId) Returns all the cs diagram pins where CPDefinitionId = ?.default List<CSDiagramPin> findByCPDefinitionId(long CPDefinitionId, int start, int end) Returns a range of all the cs diagram pins where CPDefinitionId = ?.default List<CSDiagramPin> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) Returns an ordered range of all the cs diagram pins where CPDefinitionId = ?.findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram pins where CPDefinitionId = ?.findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) Returns the first cs diagram pin in the ordered set where CPDefinitionId = ?.findByPrimaryKey(long CSDiagramPinId) Returns the cs diagram pin with the primary key or throws aNoSuchCSDiagramPinExceptionif it could not be found.remove(long CSDiagramPinId) Removes the cs diagram pin with the primary key from the database.voidremoveByCPDefinitionId(long CPDefinitionId) Removes all the cs diagram pins where CPDefinitionId = ? from the database.updateImpl(CSDiagramPin csDiagramPin) 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
-
findByCPDefinitionId
List<CSDiagramPin> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram pins where CPDefinitionId = ?.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.commerce.shop.by.diagram.model.impl.CSDiagramPinModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram pinsend- the upper bound of the range of cs diagram pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching cs diagram pins
-
findByCPDefinitionId_First
CSDiagramPin findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) throws NoSuchCSDiagramPinException Returns the first cs diagram pin in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram pin
- Throws:
NoSuchCSDiagramPinException- if a matching cs diagram pin could not be found
-
fetchByCPDefinitionId_First
CSDiagramPin fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) Returns the first cs diagram pin in the ordered set where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram pin, or
nullif a matching cs diagram pin could not be found
-
removeByCPDefinitionId
void removeByCPDefinitionId(long CPDefinitionId) Removes all the cs diagram pins where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition ID
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram pins where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the number of matching cs diagram pins
-
create
Creates a new cs diagram pin with the primary key. Does not add the cs diagram pin to the database.- Parameters:
CSDiagramPinId- the primary key for the new cs diagram pin- Returns:
- the new cs diagram pin
-
remove
Removes the cs diagram pin with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CSDiagramPinId- the primary key of the cs diagram pin- Returns:
- the cs diagram pin that was removed
- Throws:
NoSuchCSDiagramPinException- if a cs diagram pin with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the cs diagram pin with the primary key or throws aNoSuchCSDiagramPinExceptionif it could not be found.- Parameters:
CSDiagramPinId- the primary key of the cs diagram pin- Returns:
- the cs diagram pin
- Throws:
NoSuchCSDiagramPinException- if a cs diagram pin with the primary key could not be found
-
fetchByPrimaryKey
Returns the cs diagram pin with the primary key or returnsnullif it could not be found.- Parameters:
CSDiagramPinId- the primary key of the cs diagram pin- Returns:
- the cs diagram pin, or
nullif a cs diagram pin with the primary key could not be found
-
findByCPDefinitionId
Returns all the cs diagram pins where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cs diagram pins
-
findByCPDefinitionId
Returns a range of all the cs diagram pins where CPDefinitionId = ?.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.commerce.shop.by.diagram.model.impl.CSDiagramPinModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram pinsend- the upper bound of the range of cs diagram pins (not inclusive)- Returns:
- the range of matching cs diagram pins
-
findByCPDefinitionId
default List<CSDiagramPin> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramPin> orderByComparator) Returns an ordered range of all the cs diagram pins where CPDefinitionId = ?.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.commerce.shop.by.diagram.model.impl.CSDiagramPinModelImpl.- Parameters:
CPDefinitionId- the cp definition IDstart- the lower bound of the range of cs diagram pinsend- the upper bound of the range of cs diagram pins (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram pins
-