public class CSDiagramEntryUtil
extends java.lang.Object
com.liferay.commerce.shop.by.diagram.service.persistence.impl.CSDiagramEntryPersistenceImpl
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
CSDiagramEntryPersistence
Constructor and Description |
---|
CSDiagramEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CSDiagramEntry csDiagramEntry)
Caches the cs diagram entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CSDiagramEntry> csDiagramEntries)
Caches the cs diagram entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CSDiagramEntry csDiagramEntry) |
static int |
countAll()
Returns the number of cs diagram entries.
|
static int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cs diagram entries where CPDefinitionId = ?.
|
static int |
countByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.
|
static int |
countByCPInstanceId(long CPInstanceId)
Returns the number of cs diagram entries where CPInstanceId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CSDiagramEntry |
create(long CSDiagramEntryId)
Creates a new cs diagram entry with the primary key.
|
static CSDiagramEntry |
fetchByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.
|
static CSDiagramEntry |
fetchByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.
|
static CSDiagramEntry |
fetchByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returns
null if it could not be found. |
static CSDiagramEntry |
fetchByCPDI_S(long CPDefinitionId,
java.lang.String sequence,
boolean useFinderCache)
Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or returns
null if it could not be found, optionally using the finder cache. |
static CSDiagramEntry |
fetchByCPInstanceId_First(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
|
static CSDiagramEntry |
fetchByCPInstanceId_Last(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.
|
static CSDiagramEntry |
fetchByPrimaryKey(long CSDiagramEntryId)
Returns the cs diagram entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CSDiagramEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CSDiagramEntry> |
findAll()
Returns all the cs diagram entries.
|
static java.util.List<CSDiagramEntry> |
findAll(int start,
int end)
Returns a range of all the cs diagram entries.
|
static java.util.List<CSDiagramEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns an ordered range of all the cs diagram entries.
|
static java.util.List<CSDiagramEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram entries.
|
static CSDiagramEntry |
findByCPDefinitionId_First(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the first cs diagram entry in the ordered set where CPDefinitionId = ?.
|
static CSDiagramEntry |
findByCPDefinitionId_Last(long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the last cs diagram entry in the ordered set where CPDefinitionId = ?.
|
static CSDiagramEntry[] |
findByCPDefinitionId_PrevAndNext(long CSDiagramEntryId,
long CPDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPDefinitionId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cs diagram entries where CPDefinitionId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cs diagram entries where CPDefinitionId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram entries where CPDefinitionId = ?.
|
static CSDiagramEntry |
findByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Returns the cs diagram entry where CPDefinitionId = ? and sequence = ? or throws a
NoSuchCSDiagramEntryException if it could not be found. |
static CSDiagramEntry |
findByCPInstanceId_First(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the first cs diagram entry in the ordered set where CPInstanceId = ?.
|
static CSDiagramEntry |
findByCPInstanceId_Last(long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the last cs diagram entry in the ordered set where CPInstanceId = ?.
|
static CSDiagramEntry[] |
findByCPInstanceId_PrevAndNext(long CSDiagramEntryId,
long CPInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns the cs diagram entries before and after the current cs diagram entry in the ordered set where CPInstanceId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId)
Returns all the cs diagram entries where CPInstanceId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId,
int start,
int end)
Returns a range of all the cs diagram entries where CPInstanceId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.
|
static java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the cs diagram entries where CPInstanceId = ?.
|
static CSDiagramEntry |
findByPrimaryKey(long CSDiagramEntryId)
Returns the cs diagram entry with the primary key or throws a
NoSuchCSDiagramEntryException if it could not be found. |
static java.util.List<CSDiagramEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CSDiagramEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CSDiagramEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) |
static CSDiagramEntryPersistence |
getPersistence() |
static CSDiagramEntry |
remove(long CSDiagramEntryId)
Removes the cs diagram entry with the primary key from the database.
|
static void |
removeAll()
Removes all the cs diagram entries from the database.
|
static void |
removeByCPDefinitionId(long CPDefinitionId)
Removes all the cs diagram entries where CPDefinitionId = ? from the database.
|
static CSDiagramEntry |
removeByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.
|
static void |
removeByCPInstanceId(long CPInstanceId)
Removes all the cs diagram entries where CPInstanceId = ? from the database.
|
static CSDiagramEntry |
update(CSDiagramEntry csDiagramEntry) |
static CSDiagramEntry |
update(CSDiagramEntry csDiagramEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CSDiagramEntry |
updateImpl(CSDiagramEntry csDiagramEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CSDiagramEntry csDiagramEntry)
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,CSDiagramEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CSDiagramEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CSDiagramEntry update(CSDiagramEntry csDiagramEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CSDiagramEntry update(CSDiagramEntry csDiagramEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static java.util.List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, 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 CSDiagramEntryModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)public static java.util.List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
CPDefinitionId
- the cp definition IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CSDiagramEntry findByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPDefinitionId_First(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry findByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPDefinitionId_Last(long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
CPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry[] findByCPDefinitionId_PrevAndNext(long CSDiagramEntryId, long CPDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CSDiagramEntryId
- the primary key of the current cs diagram entryCPDefinitionId
- the cp definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a cs diagram entry with the primary key could not be foundpublic static void removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static int countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDpublic static java.util.List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static java.util.List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, 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 CSDiagramEntryModelImpl
.
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)public static java.util.List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
CPInstanceId
- the cp instance IDstart
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CSDiagramEntry findByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPInstanceId_First(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry findByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPInstanceId_Last(long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator)
CPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry[] findByCPInstanceId_PrevAndNext(long CSDiagramEntryId, long CPInstanceId, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> orderByComparator) throws NoSuchCSDiagramEntryException
CSDiagramEntryId
- the primary key of the current cs diagram entryCPInstanceId
- the cp instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchCSDiagramEntryException
- if a cs diagram entry with the primary key could not be foundpublic static void removeByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static int countByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDpublic static CSDiagramEntry findByCPDI_S(long CPDefinitionId, java.lang.String sequence) throws NoSuchCSDiagramEntryException
NoSuchCSDiagramEntryException
if it could not be found.CPDefinitionId
- the cp definition IDsequence
- the sequenceNoSuchCSDiagramEntryException
- if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPDI_S(long CPDefinitionId, java.lang.String sequence)
null
if it could not be found. Uses the finder cache.CPDefinitionId
- the cp definition IDsequence
- the sequencenull
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry fetchByCPDI_S(long CPDefinitionId, java.lang.String sequence, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.CPDefinitionId
- the cp definition IDsequence
- the sequenceuseFinderCache
- whether to use the finder cachenull
if a matching cs diagram entry could not be foundpublic static CSDiagramEntry removeByCPDI_S(long CPDefinitionId, java.lang.String sequence) throws NoSuchCSDiagramEntryException
CPDefinitionId
- the cp definition IDsequence
- the sequenceNoSuchCSDiagramEntryException
public static int countByCPDI_S(long CPDefinitionId, java.lang.String sequence)
CPDefinitionId
- the cp definition IDsequence
- the sequencepublic static void cacheResult(CSDiagramEntry csDiagramEntry)
csDiagramEntry
- the cs diagram entrypublic static void cacheResult(java.util.List<CSDiagramEntry> csDiagramEntries)
csDiagramEntries
- the cs diagram entriespublic static CSDiagramEntry create(long CSDiagramEntryId)
CSDiagramEntryId
- the primary key for the new cs diagram entrypublic static CSDiagramEntry remove(long CSDiagramEntryId) throws NoSuchCSDiagramEntryException
CSDiagramEntryId
- the primary key of the cs diagram entryNoSuchCSDiagramEntryException
- if a cs diagram entry with the primary key could not be foundpublic static CSDiagramEntry updateImpl(CSDiagramEntry csDiagramEntry)
public static CSDiagramEntry findByPrimaryKey(long CSDiagramEntryId) throws NoSuchCSDiagramEntryException
NoSuchCSDiagramEntryException
if it could not be found.CSDiagramEntryId
- the primary key of the cs diagram entryNoSuchCSDiagramEntryException
- if a cs diagram entry with the primary key could not be foundpublic static CSDiagramEntry fetchByPrimaryKey(long CSDiagramEntryId)
null
if it could not be found.CSDiagramEntryId
- the primary key of the cs diagram entrynull
if a cs diagram entry with the primary key could not be foundpublic static java.util.List<CSDiagramEntry> findAll()
public static java.util.List<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
start
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)public static java.util.List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
start
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CSDiagramEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CSDiagramEntry> 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 CSDiagramEntryModelImpl
.
start
- the lower bound of the range of cs diagram entriesend
- the upper bound of the range of cs diagram entries (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 CSDiagramEntryPersistence getPersistence()