Interface PLOEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<PLOEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(PLOEntry ploEntry) Caches the plo entry in the entity cache if it is enabled.voidcacheResult(List<PLOEntry> ploEntries) Caches the plo entries in the entity cache if it is enabled.intcountAll()Returns the number of plo entries.intcountByC_K(long companyId, String key) Returns the number of plo entries where companyId = ? and key = ?.intcountByC_K_L(long companyId, String key, String languageId) Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.intcountByC_L(long companyId, String languageId) Returns the number of plo entries where companyId = ? and languageId = ?.intcountByCompanyId(long companyId) Returns the number of plo entries where companyId = ?.create(long ploEntryId) Creates a new plo entry with the primary key.fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and key = ?.fetchByC_K_L(long companyId, String key, String languageId) Returns the plo entry where companyId = ? and key = ? and languageId = ? or returnsnullif it could not be found.fetchByC_K_L(long companyId, String key, String languageId, boolean useFinderCache) Returns the plo entry where companyId = ? and key = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ? and key = ?.fetchByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.fetchByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ?.fetchByPrimaryKey(long ploEntryId) Returns the plo entry with the primary key or returnsnullif it could not be found.findAll()Returns all the plo entries.findAll(int start, int end) Returns a range of all the plo entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns an ordered range of all the plo entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the plo entries.Returns all the plo entries where companyId = ? and key = ?.Returns a range of all the plo entries where companyId = ? and key = ?.findByC_K(long companyId, 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 = ?.findByC_K(long companyId, 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 = ?.findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and key = ?.findByC_K_L(long companyId, String key, String languageId) Returns the plo entry where companyId = ? and key = ? and languageId = ? or throws aNoSuchPLOEntryExceptionif it could not be found.findByC_K_Last(long companyId, 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, 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 = ?.Returns all the plo entries where companyId = ? and languageId = ?.Returns a range of all the plo entries where companyId = ? and languageId = ?.findByC_L(long companyId, 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 = ?.findByC_L(long companyId, 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 = ?.findByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.findByC_L_Last(long companyId, 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, 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 = ?.findByCompanyId(long companyId) Returns all the plo entries where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the plo entries where companyId = ?.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 = ?.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 = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ?.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 = ?.findByPrimaryKey(long ploEntryId) Returns the plo entry with the primary key or throws aNoSuchPLOEntryExceptionif it could not be found.remove(long ploEntryId) Removes the plo entry with the primary key from the database.voidRemoves all the plo entries from the database.voidremoveByC_K(long companyId, String key) Removes all the plo entries where companyId = ? and key = ? from the database.removeByC_K_L(long companyId, String key, String languageId) Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.voidremoveByC_L(long companyId, String languageId) Removes all the plo entries where companyId = ? and languageId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the plo entries where companyId = ? from the database.updateImpl(PLOEntry ploEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
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, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByCompanyId
Returns all the plo entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching plo entries
-
findByCompanyId
Returns a range of all the plo entries where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of plo entriesend- the upper bound of the range of plo entries (not inclusive)- Returns:
- the range of matching plo entries
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching plo entries
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching plo entries
-
findByCompanyId_First
PLOEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the first plo entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByCompanyId_First
PLOEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry, or
nullif a matching plo entry could not be found
-
findByCompanyId_Last
PLOEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the last plo entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByCompanyId_Last
PLOEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry, or
nullif a matching plo entry could not be found
-
findByCompanyId_PrevAndNext
PLOEntry[] findByCompanyId_PrevAndNext(long ploEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the plo entries before and after the current plo entry in the ordered set where companyId = ?.- Parameters:
ploEntryId- the primary key of the current plo entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next plo entry
- Throws:
NoSuchPLOEntryException- if a plo entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the plo entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of plo entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching plo entries
-
findByC_K
Returns all the plo entries where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the key- Returns:
- the matching plo entries
-
findByC_K
Returns a range of all the plo entries where companyId = ? and key = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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)- Returns:
- the range of matching plo entries
-
findByC_K
List<PLOEntry> findByC_K(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching plo entries
-
findByC_K
List<PLOEntry> findByC_K(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching plo entries
-
findByC_K_First
PLOEntry findByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the first plo entry in the ordered set where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByC_K_First
PLOEntry fetchByC_K_First(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry, or
nullif a matching plo entry could not be found
-
findByC_K_Last
PLOEntry findByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the last plo entry in the ordered set where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByC_K_Last
PLOEntry fetchByC_K_Last(long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry, or
nullif a matching plo entry could not be found
-
findByC_K_PrevAndNext
PLOEntry[] findByC_K_PrevAndNext(long ploEntryId, long companyId, String key, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and key = ?.- Parameters:
ploEntryId- the primary key of the current plo entrycompanyId- the company IDkey- the keyorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next plo entry
- Throws:
NoSuchPLOEntryException- if a plo entry with the primary key could not be found
-
removeByC_K
Removes all the plo entries where companyId = ? and key = ? from the database.- Parameters:
companyId- the company IDkey- the key
-
countByC_K
Returns the number of plo entries where companyId = ? and key = ?.- Parameters:
companyId- the company IDkey- the key- Returns:
- the number of matching plo entries
-
findByC_L
Returns all the plo entries where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language ID- Returns:
- the matching plo entries
-
findByC_L
Returns a range of all the plo entries where companyId = ? and languageId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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)- Returns:
- the range of matching plo entries
-
findByC_L
List<PLOEntry> findByC_L(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of matching plo entries
-
findByC_L
List<PLOEntry> findByC_L(long companyId, 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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching plo entries
-
findByC_L_First
PLOEntry findByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByC_L_First
PLOEntry fetchByC_L_First(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the first plo entry in the ordered set where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching plo entry, or
nullif a matching plo entry could not be found
-
findByC_L_Last
PLOEntry findByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByC_L_Last
PLOEntry fetchByC_L_Last(long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns the last plo entry in the ordered set where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching plo entry, or
nullif a matching plo entry could not be found
-
findByC_L_PrevAndNext
PLOEntry[] findByC_L_PrevAndNext(long ploEntryId, long companyId, String languageId, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) throws NoSuchPLOEntryException Returns the plo entries before and after the current plo entry in the ordered set where companyId = ? and languageId = ?.- Parameters:
ploEntryId- the primary key of the current plo entrycompanyId- the company IDlanguageId- the language IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next plo entry
- Throws:
NoSuchPLOEntryException- if a plo entry with the primary key could not be found
-
removeByC_L
Removes all the plo entries where companyId = ? and languageId = ? from the database.- Parameters:
companyId- the company IDlanguageId- the language ID
-
countByC_L
Returns the number of plo entries where companyId = ? and languageId = ?.- Parameters:
companyId- the company IDlanguageId- the language ID- Returns:
- the number of matching plo entries
-
findByC_K_L
Returns the plo entry where companyId = ? and key = ? and languageId = ? or throws aNoSuchPLOEntryExceptionif it could not be found.- Parameters:
companyId- the company IDkey- the keylanguageId- the language ID- Returns:
- the matching plo entry
- Throws:
NoSuchPLOEntryException- if a matching plo entry could not be found
-
fetchByC_K_L
Returns the plo entry where companyId = ? and key = ? and languageId = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
companyId- the company IDkey- the keylanguageId- the language ID- Returns:
- the matching plo entry, or
nullif a matching plo entry could not be found
-
fetchByC_K_L
Returns the plo entry where companyId = ? and key = ? and languageId = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
companyId- the company IDkey- the keylanguageId- the language IDuseFinderCache- whether to use the finder cache- Returns:
- the matching plo entry, or
nullif a matching plo entry could not be found
-
removeByC_K_L
PLOEntry removeByC_K_L(long companyId, String key, String languageId) throws NoSuchPLOEntryException Removes the plo entry where companyId = ? and key = ? and languageId = ? from the database.- Parameters:
companyId- the company IDkey- the keylanguageId- the language ID- Returns:
- the plo entry that was removed
- Throws:
NoSuchPLOEntryException
-
countByC_K_L
Returns the number of plo entries where companyId = ? and key = ? and languageId = ?.- Parameters:
companyId- the company IDkey- the keylanguageId- the language ID- Returns:
- the number of matching plo entries
-
cacheResult
Caches the plo entry in the entity cache if it is enabled.- Parameters:
ploEntry- the plo entry
-
cacheResult
Caches the plo entries in the entity cache if it is enabled.- Parameters:
ploEntries- the plo entries
-
create
Creates a new plo entry with the primary key. Does not add the plo entry to the database.- Parameters:
ploEntryId- the primary key for the new plo entry- Returns:
- the new plo entry
-
remove
Removes the plo entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
ploEntryId- the primary key of the plo entry- Returns:
- the plo entry that was removed
- Throws:
NoSuchPLOEntryException- if a plo entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the plo entry with the primary key or throws aNoSuchPLOEntryExceptionif it could not be found.- Parameters:
ploEntryId- the primary key of the plo entry- Returns:
- the plo entry
- Throws:
NoSuchPLOEntryException- if a plo entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the plo entry with the primary key or returnsnullif it could not be found.- Parameters:
ploEntryId- the primary key of the plo entry- Returns:
- the plo entry, or
nullif a plo entry with the primary key could not be found
-
findAll
Returns all the plo entries.- Returns:
- the plo entries
-
findAll
Returns a range of all the plo entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
start- the lower bound of the range of plo entriesend- the upper bound of the range of plo entries (not inclusive)- Returns:
- the range of plo entries
-
findAll
List<PLOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) Returns an ordered range of all the plo entries.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)- Returns:
- the ordered range of plo entries
-
findAll
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.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromPLOEntryModelImpl.- Parameters:
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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of plo entries
-
removeAll
void removeAll()Removes all the plo entries from the database. -
countAll
int countAll()Returns the number of plo entries.- Returns:
- the number of plo entries
-