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 void
cacheResult
(CSDiagramSetting csDiagramSetting) Caches the cs diagram setting in the entity cache if it is enabled.static void
cacheResult
(List<CSDiagramSetting> csDiagramSettings) Caches the cs diagram settings in the entity cache if it is enabled.static void
static void
clearCache
(CSDiagramSetting csDiagramSetting) static int
countAll()
Returns the number of cs diagram settings.static int
countByCPDefinitionId
(long CPDefinitionId) Returns the number of cs diagram settings where CPDefinitionId = ?.static int
countByUuid
(String uuid) Returns the number of cs diagram settings where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of cs diagram settings where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static CSDiagramSetting
create
(long CSDiagramSettingId) Creates a new cs diagram setting with the primary key.static CSDiagramSetting
fetchByCPDefinitionId
(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or returnsnull
if it could not be found.static CSDiagramSetting
fetchByCPDefinitionId
(long CPDefinitionId, boolean useFinderCache) Returns the cs diagram setting where CPDefinitionId = ? or returnsnull
if it could not be found, optionally using the finder cache.static CSDiagramSetting
fetchByPrimaryKey
(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or returnsnull
if it could not be found.static Map<Serializable,
CSDiagramSetting> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.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 CSDiagramSetting
findByCPDefinitionId
(long CPDefinitionId) Returns the cs diagram setting where CPDefinitionId = ? or throws aNoSuchCSDiagramSettingException
if it could not be found.static CSDiagramSetting
findByPrimaryKey
(long CSDiagramSettingId) Returns the cs diagram setting with the primary key or throws aNoSuchCSDiagramSettingException
if 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 CSDiagramSetting
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 = ?.static CSDiagramSetting
findByUuid_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 CSDiagramSetting
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) Returns the first cs diagram setting in the ordered set where uuid = ?.static CSDiagramSetting
findByUuid_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 CSDiagramSettingPersistence
static CSDiagramSetting
remove
(long CSDiagramSettingId) Removes the cs diagram setting with the primary key from the database.static void
Removes all the cs diagram settings from the database.static CSDiagramSetting
removeByCPDefinitionId
(long CPDefinitionId) Removes the cs diagram setting where CPDefinitionId = ? from the database.static void
removeByUuid
(String uuid) Removes all the cs diagram settings where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.static void
setPersistence
(CSDiagramSettingPersistence persistence) static CSDiagramSetting
update
(CSDiagramSetting csDiagramSetting) static CSDiagramSetting
update
(CSDiagramSetting csDiagramSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static CSDiagramSetting
updateImpl
(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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 - 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 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 - 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 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 - 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 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
null
if 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
null
if 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 aNoSuchCSDiagramSettingException
if 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 returnsnull
if it could not be found. Uses the finder cache.- Parameters:
CPDefinitionId
- the cp definition ID- Returns:
- the matching cs diagram setting, or
null
if a matching cs diagram setting could not be found
-
fetchByCPDefinitionId
Returns the cs diagram setting where CPDefinitionId = ? or returnsnull
if 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
null
if 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 aNoSuchCSDiagramSettingException
if 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 returnsnull
if it could not be found.- Parameters:
CSDiagramSettingId
- the primary key of the cs diagram setting- Returns:
- the cs diagram setting, or
null
if 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 - 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 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 - 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 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 - 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 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
-