Class CSDiagramSettingUtil
com.liferay.commerce.shop.by.diagram.service.persistence.impl.CSDiagramSettingPersistenceImpl 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(CSDiagramSetting csDiagramSetting) Caches the cs diagram setting in the entity cache if it is enabled.static voidcacheResult(List<CSDiagramSetting> csDiagramSettings) Caches the cs diagram settings in the entity cache if it is enabled.static voidstatic voidclearCache(CSDiagramSetting csDiagramSetting) static intcountAll()Returns the number of cs diagram settings.static intcountByCPDefinitionId(long CPDefinitionId) Returns the number of cs diagram settings where CPDefinitionId = ?.static intcountByUuid(String uuid) Returns the number of cs diagram settings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of cs diagram settings where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CSDiagramSettingcreate(long CSDiagramSettingId) Creates a new cs diagram setting with the primary key.static CSDiagramSettingfetchByCPDefinitionId(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found.static CSDiagramSettingfetchByCPDefinitionId(long CPDefinitionId, boolean useFinderCache) Returns the cs diagram setting where CPDefinitionId = ? or returnsnullif it could not be found, optionally using the finder cache.static CSDiagramSettingfetchByPrimaryKey(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or returnsnullif it could not be found.static Map<Serializable,CSDiagramSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static CSDiagramSettingfetchByUuid_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 = ?.static CSDiagramSettingfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last cs diagram setting in the ordered set where uuid = ? and companyId = ?.static CSDiagramSettingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.static CSDiagramSettingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last cs diagram setting in the ordered set where uuid = ?.static List<CSDiagramSetting>findAll()Returns all the cs diagram settings.static List<CSDiagramSetting>findAll(int start, int end) Returns a range of all the cs diagram settings.static List<CSDiagramSetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings.static List<CSDiagramSetting>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings.static CSDiagramSettingfindByCPDefinitionId(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or throws aNoSuchCSDiagramSettingExceptionif it could not be found.static CSDiagramSettingfindByPrimaryKey(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or throws aNoSuchCSDiagramSettingExceptionif it could not be found.static List<CSDiagramSetting>findByUuid(String uuid) Returns all the cs diagram settings where uuid = ?.static List<CSDiagramSetting>findByUuid(String uuid, int start, int end) Returns a range of all the cs diagram settings where uuid = ?.static 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 = ?.static 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 = ?.static List<CSDiagramSetting>findByUuid_C(String uuid, long companyId) Returns all the cs diagram settings where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static CSDiagramSettingfindByUuid_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 = ?.static CSDiagramSettingfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last cs diagram setting in the ordered set where uuid = ? and companyId = ?.static CSDiagramSetting[]findByUuid_C_PrevAndNext(long CSDiagramSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ? and companyId = ?.static CSDiagramSettingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.static CSDiagramSettingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last cs diagram setting in the ordered set where uuid = ?.static CSDiagramSetting[]findByUuid_PrevAndNext(long CSDiagramSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ?.static List<CSDiagramSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<CSDiagramSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<CSDiagramSetting>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) static CSDiagramSettingPersistencestatic CSDiagramSettingremove(long CSDiagramSettingId) Removes the cs diagram setting with the primary key from the database.static voidRemoves all the cs diagram settings from the database.static CSDiagramSettingremoveByCPDefinitionId(long CPDefinitionId) Removes the cs diagram setting where CPDefinitionId = ? from the database.static voidremoveByUuid(String uuid) Removes all the cs diagram settings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.static voidsetPersistence(CSDiagramSettingPersistence persistence) static CSDiagramSettingupdate(CSDiagramSetting csDiagramSetting) static CSDiagramSettingupdate(CSDiagramSetting csDiagramSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CSDiagramSettingupdateImpl(CSDiagramSetting csDiagramSetting)
-
Constructor Details
-
CSDiagramSettingUtil
public CSDiagramSettingUtil()
-
-
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
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CSDiagramSetting update(CSDiagramSetting csDiagramSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 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 fromCSDiagramSettingModelImpl.- 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
public static 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 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 fromCSDiagramSettingModelImpl.- 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
public static 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 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 fromCSDiagramSettingModelImpl.- 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
public static 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 foundNoSuchCSDiagramSettingException
-
fetchByUuid_First
public static 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
-
findByUuid_Last
public static CSDiagramSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the last cs diagram setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a matching cs diagram setting could not be foundNoSuchCSDiagramSettingException
-
fetchByUuid_Last
public static CSDiagramSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last cs diagram setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
findByUuid_PrevAndNext
public static CSDiagramSetting[] findByUuid_PrevAndNext(long CSDiagramSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ?.- Parameters:
CSDiagramSettingId- the primary key of the current cs diagram settinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a cs diagram setting with the primary key could not be foundNoSuchCSDiagramSettingException
-
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
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 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 fromCSDiagramSettingModelImpl.- 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
public static 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 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 fromCSDiagramSettingModelImpl.- 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
-
findByUuid_C
public static 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 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 fromCSDiagramSettingModelImpl.- 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
public static 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 foundNoSuchCSDiagramSettingException
-
fetchByUuid_C_First
public static 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
-
findByUuid_C_Last
public static CSDiagramSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the last 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 last matching cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a matching cs diagram setting could not be foundNoSuchCSDiagramSettingException
-
fetchByUuid_C_Last
public static CSDiagramSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the last 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 last matching cs diagram setting, or
nullif a matching cs diagram setting could not be found
-
findByUuid_C_PrevAndNext
public static CSDiagramSetting[] findByUuid_C_PrevAndNext(long CSDiagramSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException Returns the cs diagram settings before and after the current cs diagram setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
CSDiagramSettingId- the primary key of the current cs diagram settinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next cs diagram setting
- Throws:
NoSuchCSDiagramSettingException- if a cs diagram setting with the primary key could not be foundNoSuchCSDiagramSettingException
-
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
public static CSDiagramSetting findByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException 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 foundNoSuchCSDiagramSettingException
-
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
-
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
public static CSDiagramSetting removeByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException 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
public static 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
-
cacheResult
Caches the cs diagram setting in the entity cache if it is enabled.- Parameters:
csDiagramSetting- the cs diagram setting
-
cacheResult
Caches the cs diagram settings in the entity cache if it is enabled.- Parameters:
csDiagramSettings- the 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
public static CSDiagramSetting remove(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException 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 foundNoSuchCSDiagramSettingException
-
updateImpl
-
findByPrimaryKey
public static CSDiagramSetting findByPrimaryKey(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException 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 foundNoSuchCSDiagramSettingException
-
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
-
findAll
Returns all the cs diagram settings.- Returns:
- the cs diagram settings
-
findAll
Returns a range of all the cs diagram settings.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 fromCSDiagramSettingModelImpl.- Parameters:
start- 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 cs diagram settings
-
findAll
public static List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns an ordered range of all the cs diagram settings.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 fromCSDiagramSettingModelImpl.- Parameters:
start- 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 cs diagram settings
-
findAll
public static List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the cs diagram settings.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 fromCSDiagramSettingModelImpl.- Parameters:
start- 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 cs diagram settings
-
removeAll
public static void removeAll()Removes all the cs diagram settings from the database. -
countAll
public static int countAll()Returns the number of cs diagram settings.- Returns:
- the number of cs diagram settings
-
getPersistence
-
setPersistence
-