public class PLOEntryUtil
extends java.lang.Object
com.liferay.portal.language.override.service.persistence.impl.PLOEntryPersistenceImpl
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
PLOEntryPersistence
Constructor and Description |
---|
PLOEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<PLOEntry> ploEntries)
Caches the plo entries in the entity cache if it is enabled.
|
static void |
cacheResult(PLOEntry ploEntry)
Caches the plo entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(PLOEntry ploEntry) |
static int |
countAll()
Returns the number of plo entries.
|
static 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 = ?.
|
static int |
countByC_K(long companyId,
java.lang.String key)
Returns the number of plo entries where companyId = ? and key = ?.
|
static int |
countByC_L(long companyId,
java.lang.String languageId)
Returns the number of plo entries where companyId = ? and languageId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of plo entries where companyId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static PLOEntry |
create(long ploEntryId)
Creates a new plo entry with the primary key.
|
static 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 = ?.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static PLOEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ?.
|
static PLOEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ?.
|
static PLOEntry |
fetchByPrimaryKey(long ploEntryId)
Returns the plo entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,PLOEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<PLOEntry> |
findAll()
Returns all the plo entries.
|
static java.util.List<PLOEntry> |
findAll(int start,
int end)
Returns a range of all the plo entries.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<PLOEntry> |
findByC_K(long companyId,
java.lang.String key)
Returns all the plo entries where companyId = ? and key = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<PLOEntry> |
findByC_L(long companyId,
java.lang.String languageId)
Returns all the plo entries where companyId = ? and languageId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static PLOEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the first plo entry in the ordered set where companyId = ?.
|
static PLOEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
Returns the last plo entry in the ordered set where companyId = ?.
|
static 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 = ?.
|
static java.util.List<PLOEntry> |
findByCompanyId(long companyId)
Returns all the plo entries where companyId = ?.
|
static java.util.List<PLOEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the plo entries where companyId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static PLOEntry |
findByPrimaryKey(long ploEntryId)
Returns the plo entry with the primary key or throws a
NoSuchPLOEntryException if it could not be found. |
static java.util.List<PLOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<PLOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<PLOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator) |
static PLOEntryPersistence |
getPersistence() |
static PLOEntry |
remove(long ploEntryId)
Removes the plo entry with the primary key from the database.
|
static void |
removeAll()
Removes all the plo entries from the database.
|
static 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.
|
static void |
removeByC_K(long companyId,
java.lang.String key)
Removes all the plo entries where companyId = ? and key = ? from the database.
|
static void |
removeByC_L(long companyId,
java.lang.String languageId)
Removes all the plo entries where companyId = ? and languageId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the plo entries where companyId = ? from the database.
|
static void |
setPersistence(PLOEntryPersistence persistence) |
static PLOEntry |
update(PLOEntry ploEntry) |
static PLOEntry |
update(PLOEntry ploEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static PLOEntry |
updateImpl(PLOEntry ploEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(PLOEntry ploEntry)
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,PLOEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<PLOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<PLOEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static PLOEntry update(PLOEntry ploEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static PLOEntry update(PLOEntry ploEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<PLOEntry> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.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)public static 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
)public static 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 cachepublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry[] 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 foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<PLOEntry> findByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keypublic static java.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)public static 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
)public static 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 cachepublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry[] 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 foundpublic static void removeByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keypublic static int countByC_K(long companyId, java.lang.String key)
companyId
- the company IDkey
- the keypublic static java.util.List<PLOEntry> findByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDpublic static java.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)public static 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
)public static 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 cachepublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry[] 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 foundpublic static void removeByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDpublic static int countByC_L(long companyId, java.lang.String languageId)
companyId
- the company IDlanguageId
- the language IDpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static PLOEntry removeByC_K_L(long companyId, java.lang.String key, java.lang.String languageId) throws NoSuchPLOEntryException
companyId
- the company IDkey
- the keylanguageId
- the language IDNoSuchPLOEntryException
public static int countByC_K_L(long companyId, java.lang.String key, java.lang.String languageId)
companyId
- the company IDkey
- the keylanguageId
- the language IDpublic static void cacheResult(PLOEntry ploEntry)
ploEntry
- the plo entrypublic static void cacheResult(java.util.List<PLOEntry> ploEntries)
ploEntries
- the plo entriespublic static PLOEntry create(long ploEntryId)
ploEntryId
- the primary key for the new plo entrypublic static PLOEntry remove(long ploEntryId) throws NoSuchPLOEntryException
ploEntryId
- the primary key of the plo entryNoSuchPLOEntryException
- if a plo entry with the primary key could not be foundpublic static PLOEntry 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 foundpublic static PLOEntry 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 foundpublic static java.util.List<PLOEntry> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static PLOEntryPersistence getPersistence()
public static void setPersistence(PLOEntryPersistence persistence)