@ProviderType public interface PLOEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<PLOEntry>
Caching information and settings can be found in portal.properties
PLOEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<PLOEntry> ploEntries)
Caches the plo entries in the entity cache if it is enabled.
|
void |
cacheResult(PLOEntry ploEntry)
Caches the plo entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of plo entries.
|
int |
countByC_K_L(long companyId,
java.lang.String key,
java.lang.String languageId)
Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.
|
int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of plo entries where companyId = ? and key = ?.
|
int |
countByC_L(long companyId,
java.lang.String languageId)
Returns the number of plo entries where companyId = ? and languageId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of plo entries where companyId = ?.
|
PLOEntry |
create(long ploEntryId)
Creates a new plo entry with the primary key.
|
PLOEntry |
fetchByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ? and key = ?.
|
PLOEntry |
fetchByC_K_L(long companyId,
java.lang.String key,
java.lang.String languageId)
Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns
null if it could not be found. |
PLOEntry |
fetchByC_K_L(long companyId,
java.lang.String key,
java.lang.String languageId,
boolean useFinderCache)
Returns the plo entry where companyId = ? and key = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
PLOEntry |
fetchByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ? and key = ?.
|
PLOEntry |
fetchByC_L_First(long companyId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
|
PLOEntry |
fetchByC_L_Last(long companyId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.
|
PLOEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ?.
|
PLOEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ?.
|
PLOEntry |
fetchByPrimaryKey(long ploEntryId)
Returns the plo entry with the primary key or returns
null if it could not be found. |
java.util.List<PLOEntry> |
findAll()
Returns all the plo entries.
|
java.util.List<PLOEntry> |
findAll(int start,
int end)
Returns a range of all the plo entries.
|
java.util.List<PLOEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns an ordered range of all the plo entries.
|
java.util.List<PLOEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the plo entries.
|
PLOEntry |
findByC_K_First(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ? and key = ?.
|
PLOEntry |
findByC_K_L(long companyId,
java.lang.String key,
java.lang.String languageId)
Returns the plo entry where companyId = ? and key = ? and languageId = ? or throws a
NoSuchPLOEntryException if it could not be found. |
PLOEntry |
findByC_K_Last(long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ? and key = ?.
|
PLOEntry[] |
findByC_K_PrevAndNext(long ploEntryId,
long companyId,
java.lang.String key,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and key = ?.
|
java.util.List<PLOEntry> |
findByC_K(long companyId,
java.lang.String key)
Returns all the plo entries where companyId = ? and key = ?.
|
java.util.List<PLOEntry> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end)
Returns a range of all the plo entries where companyId = ? and key = ?.
|
java.util.List<PLOEntry> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns an ordered range of all the plo entries where companyId = ? and key = ?.
|
java.util.List<PLOEntry> |
findByC_K(long companyId,
java.lang.String key,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the plo entries where companyId = ? and key = ?.
|
PLOEntry |
findByC_L_First(long companyId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.
|
PLOEntry |
findByC_L_Last(long companyId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.
|
PLOEntry[] |
findByC_L_PrevAndNext(long ploEntryId,
long companyId,
java.lang.String languageId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and languageId = ?.
|
java.util.List<PLOEntry> |
findByC_L(long companyId,
java.lang.String languageId)
Returns all the plo entries where companyId = ? and languageId = ?.
|
java.util.List<PLOEntry> |
findByC_L(long companyId,
java.lang.String languageId,
int start,
int end)
Returns a range of all the plo entries where companyId = ? and languageId = ?.
|
java.util.List<PLOEntry> |
findByC_L(long companyId,
java.lang.String languageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.
|
java.util.List<PLOEntry> |
findByC_L(long companyId,
java.lang.String languageId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the plo entries where companyId = ? and languageId = ?.
|
PLOEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ?.
|
PLOEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ?.
|
PLOEntry[] |
findByCompanyId_PrevAndNext(long ploEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the plo entries before and after the current plo entry in the ordered set where companyId = ?.
|
java.util.List<PLOEntry> |
findByCompanyId(long companyId)
Returns all the plo entries where companyId = ?.
|
java.util.List<PLOEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the plo entries where companyId = ?.
|
java.util.List<PLOEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns an ordered range of all the plo entries where companyId = ?.
|
java.util.List<PLOEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the plo entries where companyId = ?.
|
PLOEntry |
findByPrimaryKey(long ploEntryId)
Returns the plo entry with the primary key or throws a
NoSuchPLOEntryException if it could not be found. |
PLOEntry |
remove(long ploEntryId)
Removes the plo entry with the primary key from the database.
|
void |
removeAll()
Removes all the plo entries from the database.
|
PLOEntry |
removeByC_K_L(long companyId,
java.lang.String key,
java.lang.String languageId)
Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.
|
void |
removeByC_K(long companyId,
java.lang.String key)
Removes all the plo entries where companyId = ? and key = ? from the database.
|
void |
removeByC_L(long companyId,
java.lang.String languageId)
Removes all the plo entries where companyId = ? and languageId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the plo entries where companyId = ? from the database.
|
PLOEntry |
updateImpl(PLOEntry ploEntry) |
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<PLOEntry> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<PLOEntry> findByCompanyId(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 PLOEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)java.util.List<PLOEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<PLOEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachePLOEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry[] findByCompanyId_PrevAndNext(long ploEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
ploEntryId
- the primary key of the current plo entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a plo entry with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<PLOEntry> findByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keyjava.util.List<PLOEntry> findByC_K(long companyId, java.lang.String key, 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 PLOEntryModelImpl
.
companyId
- the company IDkey
- the keystart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)java.util.List<PLOEntry> findByC_K(long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDkey
- the keystart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<PLOEntry> findByC_K(long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDkey
- the keystart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachePLOEntry findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry[] findByC_K_PrevAndNext(long ploEntryId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
ploEntryId
- the primary key of the current plo entrycompanyId
- the company IDkey
- the keyorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a plo entry with the primary key could not be foundvoid removeByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keyint countByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keyjava.util.List<PLOEntry> findByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDjava.util.List<PLOEntry> findByC_L(long companyId, java.lang.String languageId, 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 PLOEntryModelImpl
.
companyId
- the company IDlanguageId
- the language IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)java.util.List<PLOEntry> findByC_L(long companyId, java.lang.String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDlanguageId
- the language IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<PLOEntry> findByC_L(long companyId, java.lang.String languageId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
companyId
- the company IDlanguageId
- the language IDstart
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachePLOEntry findByC_L_First(long companyId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByC_L_First(long companyId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry findByC_L_Last(long companyId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
companyId
- the company IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByC_L_Last(long companyId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
companyId
- the company IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching plo entry could not be foundPLOEntry[] findByC_L_PrevAndNext(long ploEntryId, long companyId, java.lang.String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException
ploEntryId
- the primary key of the current plo entrycompanyId
- the company IDlanguageId
- the language IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPLOEntryException
- if a plo entry with the primary key could not be foundvoid removeByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDint countByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDPLOEntry findByC_K_L(long companyId, java.lang.String key, java.lang.String languageId) throws NoSuchPLOEntryException
NoSuchPLOEntryException
if it could not be found.companyId
- the company IDkey
- the keylanguageId
- the language IDNoSuchPLOEntryException
- if a matching plo entry could not be foundPLOEntry fetchByC_K_L(long companyId, java.lang.String key, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDkey
- the keylanguageId
- the language IDnull
if a matching plo entry could not be foundPLOEntry fetchByC_K_L(long companyId, java.lang.String key, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDkey
- the keylanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching plo entry could not be foundPLOEntry removeByC_K_L(long companyId, java.lang.String key, java.lang.String languageId) throws NoSuchPLOEntryException
companyId
- the company IDkey
- the keylanguageId
- the language IDNoSuchPLOEntryException
int countByC_K_L(long companyId, java.lang.String key, java.lang.String languageId)
companyId
- the company IDkey
- the keylanguageId
- the language IDvoid cacheResult(PLOEntry ploEntry)
ploEntry
- the plo entryvoid cacheResult(java.util.List<PLOEntry> ploEntries)
ploEntries
- the plo entriesPLOEntry create(long ploEntryId)
ploEntryId
- the primary key for the new plo entryPLOEntry remove(long ploEntryId) throws NoSuchPLOEntryException
ploEntryId
- the primary key of the plo entryNoSuchPLOEntryException
- if a plo entry with the primary key could not be foundPLOEntry findByPrimaryKey(long ploEntryId) throws NoSuchPLOEntryException
NoSuchPLOEntryException
if it could not be found.ploEntryId
- the primary key of the plo entryNoSuchPLOEntryException
- if a plo entry with the primary key could not be foundPLOEntry fetchByPrimaryKey(long ploEntryId)
null
if it could not be found.ploEntryId
- the primary key of the plo entrynull
if a plo entry with the primary key could not be foundjava.util.List<PLOEntry> findAll()
java.util.List<PLOEntry> 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 PLOEntryModelImpl
.
start
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)java.util.List<PLOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
start
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<PLOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> 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 PLOEntryModelImpl
.
start
- the lower bound of the range of plo entriesend
- the upper bound of the range of plo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()