Interface CSDiagramSettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<CSDiagramSetting>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CSDiagramSetting>
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 settings where CPDefinitionId = ?.intcountByUuid(String uuid) Returns the number of cs diagram settings where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of cs diagram settings where uuid = ? and companyId = ?.create(long CSDiagramSettingId) Creates a new cs diagram setting with the primary key.default CSDiagramSettingfetchByCPDefinitionId(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found.fetchByCPDefinitionId(long CPDefinitionId, boolean useFinderCache) Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.findByCPDefinitionId(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or throws aNoSuchCSDiagramSettingExceptionif it could not be found.findByPrimaryKey(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or throws aNoSuchCSDiagramSettingExceptionif it could not be found.default List<CSDiagramSetting> findByUuid(String uuid) Returns all the cs diagram settings where uuid = ?.default List<CSDiagramSetting> findByUuid(String uuid, int start, int end) Returns a range of all the cs diagram settings where uuid = ?.default List<CSDiagramSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings where uuid = ?.default List<CSDiagramSetting> findByUuid_C(String uuid, long companyId) Returns all the cs diagram settings where uuid = ? and companyId = ?.default List<CSDiagramSetting> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the cs diagram settings where uuid = ? and companyId = ?.default List<CSDiagramSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.remove(long CSDiagramSettingId) Removes the cs diagram setting with the primary key from the database.removeByCPDefinitionId(long CPDefinitionId) Removes the cs diagram setting where CPDefinitionId = ? from the database.voidremoveByUuid(String uuid) Removes all the cs diagram settings where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.updateImpl(CSDiagramSetting csDiagramSetting) 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
-
findByUuid
List<CSDiagramSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (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 settings
-
findByUuid_First
CSDiagramSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the first cs diagram setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a matching cs diagram setting could not be found
-
fetchByUuid_First
CSDiagramSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
removeByUuid
Removes all the cs diagram settings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of cs diagram settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching cs diagram settings
-
findByUuid_C
List<CSDiagramSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (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 settings
-
findByUuid_C_First
CSDiagramSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a matching cs diagram setting could not be found
-
fetchByUuid_C_First
CSDiagramSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
removeByUuid_C
Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of cs diagram settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching cs diagram settings
-
findByCPDefinitionId
Returns the cs diagram setting where CPDefinitionId = ? or throws aNoSuchCSDiagramSettingExceptionif it could not be found.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a matching cs diagram setting could not be found
-
fetchByCPDefinitionId
Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
CPDefinitionId- the cp definition IDuseFinderCache- whether to use the finder cache- Returns:
- the matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
removeByCPDefinitionId
Removes the cs diagram setting where CPDefinitionId = ? from the database.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the cs diagram setting that was removed
- Throws:
NoSuchCSDiagramSettingException
-
countByCPDefinitionId
int countByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram settings where CPDefinitionId = ?.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the number of matching cs diagram settings
-
create
Creates a new cs diagram setting with the primary key. Does not add the cs diagram setting to the database.- Parameters:
CSDiagramSettingId- the primary key for the new cs diagram setting- Returns:
- the new cs diagram setting
-
remove
Removes the cs diagram setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
CSDiagramSettingId- the primary key of the cs diagram setting- Returns:
- the cs diagram setting that was removed
- Throws:
NoSuchCSDiagramSettingException- if a cs diagram setting with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the cs diagram setting with the primary key or throws aNoSuchCSDiagramSettingExceptionif it could not be found.- Parameters:
CSDiagramSettingId- the primary key of the cs diagram setting- Returns:
- the cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a cs diagram setting with the primary key could not be found
-
fetchByPrimaryKey
Returns the cs diagram setting with the primary key or returnsnullif it could not be found.- Parameters:
CSDiagramSettingId- the primary key of the cs diagram setting- Returns:
- the cs diagram setting, or
nullif a cs diagram setting with the primary key could not be found
-
fetchByCPDefinitionId
Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId- the cp definition ID- Returns:
- the matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
findByUuid
Returns all the cs diagram settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching cs diagram settings
-
findByUuid
Returns a range of all the cs diagram settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (not inclusive)- Returns:
- the range of matching cs diagram settings
-
findByUuid
default List<CSDiagramSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram settings
-
findByUuid_C
Returns all the cs diagram settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching cs diagram settings
-
findByUuid_C
Returns a range of all the cs diagram settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (not inclusive)- Returns:
- the range of matching cs diagram settings
-
findByUuid_C
default List<CSDiagramSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting 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.CSDiagramSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of cs diagram settingsend- the upper bound of the range of cs diagram settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching cs diagram settings
-