public class CSDiagramSettingUtil
extends java.lang.Object
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
CSDiagramSettingPersistence
Constructor and Description |
---|
CSDiagramSettingUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CSDiagramSetting csDiagramSetting)
Caches the cs diagram setting in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CSDiagramSetting> csDiagramSettings)
Caches the cs diagram settings in the entity cache if it is enabled.
|
static void |
clearCache() |
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_C(java.lang.String uuid,
long companyId)
Returns the number of cs diagram settings where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of cs diagram settings where uuid = ?.
|
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 returns
null if it could not be found. |
static CSDiagramSetting |
fetchByCPDefinitionId(long CPDefinitionId,
boolean useFinderCache)
Returns the cs diagram setting where CPDefinitionId = ? or returns
null 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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CSDiagramSetting> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CSDiagramSetting |
fetchByUuid_C_First(java.lang.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(java.lang.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(java.lang.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(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Returns the last cs diagram setting in the ordered set where uuid = ?.
|
static java.util.List<CSDiagramSetting> |
findAll()
Returns all the cs diagram settings.
|
static java.util.List<CSDiagramSetting> |
findAll(int start,
int end)
Returns a range of all the cs diagram settings.
|
static java.util.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 java.util.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 a
NoSuchCSDiagramSettingException if it could not be found. |
static CSDiagramSetting |
findByPrimaryKey(long CSDiagramSettingId)
Returns the cs diagram setting with the primary key or throws a
NoSuchCSDiagramSettingException if it could not be found. |
static CSDiagramSetting |
findByUuid_C_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the cs diagram settings where uuid = ? and companyId = ?.
|
static java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the cs diagram settings where uuid = ? and companyId = ?.
|
static java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.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 java.util.List<CSDiagramSetting> |
findByUuid_C(java.lang.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_First(java.lang.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(java.lang.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,
java.lang.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 java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid)
Returns all the cs diagram settings where uuid = ?.
|
static java.util.List<CSDiagramSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the cs diagram settings where uuid = ?.
|
static java.util.List<CSDiagramSetting> |
findByUuid(java.lang.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 java.util.List<CSDiagramSetting> |
findByUuid(java.lang.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 java.util.List<CSDiagramSetting> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CSDiagramSetting> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.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 |
getPersistence() |
static CSDiagramSetting |
remove(long CSDiagramSettingId)
Removes the cs diagram setting with the primary key from the database.
|
static void |
removeAll()
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_C(java.lang.String uuid,
long companyId)
Removes all the cs diagram settings where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the cs diagram settings where uuid = ? from the database.
|
static CSDiagramSetting |
update(CSDiagramSetting csDiagramSetting) |
static CSDiagramSetting |
update(CSDiagramSetting csDiagramSetting,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CSDiagramSetting |
updateImpl(CSDiagramSetting csDiagramSetting) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CSDiagramSetting csDiagramSetting)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CSDiagramSetting> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CSDiagramSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CSDiagramSetting update(CSDiagramSetting csDiagramSetting)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CSDiagramSetting update(CSDiagramSetting csDiagramSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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)public static java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)public static java.util.List<CSDiagramSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CSDiagramSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting[] findByUuid_PrevAndNext(long CSDiagramSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the current cs diagram settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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)public static java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)public static java.util.List<CSDiagramSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static CSDiagramSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting[] findByUuid_C_PrevAndNext(long CSDiagramSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the current cs diagram settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static CSDiagramSetting findByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException
NoSuchCSDiagramSettingException
if it could not be found.CPDefinitionId
- the cp definition IDNoSuchCSDiagramSettingException
- if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByCPDefinitionId(long CPDefinitionId)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDnull
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting fetchByCPDefinitionId(long CPDefinitionId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDuseFinderCache
- whether to use the finder cachenull
if a matching cs diagram setting could not be foundpublic static CSDiagramSetting removeByCPDefinitionId(long CPDefinitionId) throws NoSuchCSDiagramSettingException
CPDefinitionId
- the cp definition IDNoSuchCSDiagramSettingException
public static int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static void cacheResult(CSDiagramSetting csDiagramSetting)
csDiagramSetting
- the cs diagram settingpublic static void cacheResult(java.util.List<CSDiagramSetting> csDiagramSettings)
csDiagramSettings
- the cs diagram settingspublic static CSDiagramSetting create(long CSDiagramSettingId)
CSDiagramSettingId
- the primary key for the new cs diagram settingpublic static CSDiagramSetting remove(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException
CSDiagramSettingId
- the primary key of the cs diagram settingNoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundpublic static CSDiagramSetting updateImpl(CSDiagramSetting csDiagramSetting)
public static CSDiagramSetting findByPrimaryKey(long CSDiagramSettingId) throws NoSuchCSDiagramSettingException
NoSuchCSDiagramSettingException
if it could not be found.CSDiagramSettingId
- the primary key of the cs diagram settingNoSuchCSDiagramSettingException
- if a cs diagram setting with the primary key could not be foundpublic static CSDiagramSetting fetchByPrimaryKey(long CSDiagramSettingId)
null
if it could not be found.CSDiagramSettingId
- the primary key of the cs diagram settingnull
if a cs diagram setting with the primary key could not be foundpublic static java.util.List<CSDiagramSetting> findAll()
public static java.util.List<CSDiagramSetting> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
start
- the lower bound of the range of cs diagram settingsend
- the upper bound of the range of cs diagram settings (not inclusive)public static java.util.List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)public static java.util.List<CSDiagramSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CSDiagramSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static CSDiagramSettingPersistence getPersistence()