@ProviderType public interface CSDiagramEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CSDiagramEntry>
Caching information and settings can be found in portal.properties
CSDiagramEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CSDiagramEntry csDiagramEntry)
Caches the cs diagram entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CSDiagramEntry> csDiagramEntries)
Caches the cs diagram entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of cs diagram entries.
|
int |
countByCPDefinitionId(long CPDefinitionId)
Returns the number of cs diagram entries where CPDefinitionId = ?.
|
int |
countByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Returns the number of cs diagram entries where CPDefinitionId = ? and sequence = ?.
|
int |
countByCPInstanceId(long CPInstanceId)
Returns the number of cs diagram entries where CPInstanceId = ?.
|
CSDiagramEntry |
create(long CSDiagramEntryId)
Creates a new cs diagram entry with the primary key.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
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 = ?.
|
CSDiagramEntry |
fetchByPrimaryKey(long CSDiagramEntryId)
Returns the cs diagram entry with the primary key or returns
null if it could not be found. |
java.util.List<CSDiagramEntry> |
findAll()
Returns all the cs diagram entries.
|
java.util.List<CSDiagramEntry> |
findAll(int start,
int end)
Returns a range of all the cs diagram entries.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId)
Returns all the cs diagram entries where CPDefinitionId = ?.
|
java.util.List<CSDiagramEntry> |
findByCPDefinitionId(long CPDefinitionId,
int start,
int end)
Returns a range of all the cs diagram entries where CPDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId)
Returns all the cs diagram entries where CPInstanceId = ?.
|
java.util.List<CSDiagramEntry> |
findByCPInstanceId(long CPInstanceId,
int start,
int end)
Returns a range of all the cs diagram entries where CPInstanceId = ?.
|
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 = ?.
|
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 = ?.
|
CSDiagramEntry |
findByPrimaryKey(long CSDiagramEntryId)
Returns the cs diagram entry with the primary key or throws a
NoSuchCSDiagramEntryException if it could not be found. |
CSDiagramEntry |
remove(long CSDiagramEntryId)
Removes the cs diagram entry with the primary key from the database.
|
void |
removeAll()
Removes all the cs diagram entries from the database.
|
void |
removeByCPDefinitionId(long CPDefinitionId)
Removes all the cs diagram entries where CPDefinitionId = ? from the database.
|
CSDiagramEntry |
removeByCPDI_S(long CPDefinitionId,
java.lang.String sequence)
Removes the cs diagram entry where CPDefinitionId = ? and sequence = ? from the database.
|
void |
removeByCPInstanceId(long CPInstanceId)
Removes all the cs diagram entries where CPInstanceId = ? from the database.
|
CSDiagramEntry |
updateImpl(CSDiagramEntry csDiagramEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CSDiagramEntry> findByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.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)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
)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 cacheCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry[] 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 foundvoid removeByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDint countByCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition IDjava.util.List<CSDiagramEntry> findByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDjava.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)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
)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 cacheCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry[] 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 foundvoid removeByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDint countByCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance IDCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry 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 foundCSDiagramEntry removeByCPDI_S(long CPDefinitionId, java.lang.String sequence) throws NoSuchCSDiagramEntryException
CPDefinitionId
- the cp definition IDsequence
- the sequenceNoSuchCSDiagramEntryException
int countByCPDI_S(long CPDefinitionId, java.lang.String sequence)
CPDefinitionId
- the cp definition IDsequence
- the sequencevoid cacheResult(CSDiagramEntry csDiagramEntry)
csDiagramEntry
- the cs diagram entryvoid cacheResult(java.util.List<CSDiagramEntry> csDiagramEntries)
csDiagramEntries
- the cs diagram entriesCSDiagramEntry create(long CSDiagramEntryId)
CSDiagramEntryId
- the primary key for the new cs diagram entryCSDiagramEntry 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 foundCSDiagramEntry updateImpl(CSDiagramEntry csDiagramEntry)
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 foundCSDiagramEntry 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 foundjava.util.List<CSDiagramEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()