@ProviderType public interface TranslationEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<TranslationEntry>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<TranslationEntry>
Caching information and settings can be found in portal.properties
TranslationEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<TranslationEntry> translationEntries)
Caches the translation entries in the entity cache if it is enabled.
|
void |
cacheResult(TranslationEntry translationEntry)
Caches the translation entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of translation entries.
|
int |
countByC_C_L(long classNameId,
long classPK,
java.lang.String languageId)
Returns the number of translation entries where classNameId = ? and classPK = ? and languageId = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of translation entries where classNameId = ? and classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of translation entries where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of translation entries where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of translation entries where uuid = ?.
|
TranslationEntry |
create(long translationEntryId)
Creates a new translation entry with the primary key.
|
TranslationEntry |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where classNameId = ? and classPK = ?.
|
TranslationEntry |
fetchByC_C_L(long classNameId,
long classPK,
java.lang.String languageId)
Returns the translation entry where classNameId = ? and classPK = ? and languageId = ? or returns
null if it could not be found. |
TranslationEntry |
fetchByC_C_L(long classNameId,
long classPK,
java.lang.String languageId,
boolean useFinderCache)
Returns the translation entry where classNameId = ? and classPK = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
TranslationEntry |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where classNameId = ? and classPK = ?.
|
TranslationEntry |
fetchByPrimaryKey(long translationEntryId)
Returns the translation entry with the primary key or returns
null if it could not be found. |
TranslationEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where uuid = ? and companyId = ?.
|
TranslationEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where uuid = ? and companyId = ?.
|
TranslationEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where uuid = ?.
|
TranslationEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the translation entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
TranslationEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the translation entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
TranslationEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where uuid = ?.
|
java.util.List<TranslationEntry> |
findAll()
Returns all the translation entries.
|
java.util.List<TranslationEntry> |
findAll(int start,
int end)
Returns a range of all the translation entries.
|
java.util.List<TranslationEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns an ordered range of all the translation entries.
|
java.util.List<TranslationEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the translation entries.
|
TranslationEntry |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where classNameId = ? and classPK = ?.
|
TranslationEntry |
findByC_C_L(long classNameId,
long classPK,
java.lang.String languageId)
Returns the translation entry where classNameId = ? and classPK = ? and languageId = ? or throws a
NoSuchEntryException if it could not be found. |
TranslationEntry |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where classNameId = ? and classPK = ?.
|
TranslationEntry[] |
findByC_C_PrevAndNext(long translationEntryId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the translation entries before and after the current translation entry in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<TranslationEntry> |
findByC_C(long classNameId,
long classPK)
Returns all the translation entries where classNameId = ? and classPK = ?.
|
java.util.List<TranslationEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the translation entries where classNameId = ? and classPK = ?.
|
java.util.List<TranslationEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns an ordered range of all the translation entries where classNameId = ? and classPK = ?.
|
java.util.List<TranslationEntry> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the translation entries where classNameId = ? and classPK = ?.
|
TranslationEntry |
findByPrimaryKey(long translationEntryId)
Returns the translation entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
TranslationEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where uuid = ? and companyId = ?.
|
TranslationEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where uuid = ? and companyId = ?.
|
TranslationEntry[] |
findByUuid_C_PrevAndNext(long translationEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the translation entries before and after the current translation entry in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<TranslationEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the translation entries where uuid = ? and companyId = ?.
|
java.util.List<TranslationEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the translation entries where uuid = ? and companyId = ?.
|
java.util.List<TranslationEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns an ordered range of all the translation entries where uuid = ? and companyId = ?.
|
java.util.List<TranslationEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the translation entries where uuid = ? and companyId = ?.
|
TranslationEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the first translation entry in the ordered set where uuid = ?.
|
TranslationEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the translation entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
TranslationEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the last translation entry in the ordered set where uuid = ?.
|
TranslationEntry[] |
findByUuid_PrevAndNext(long translationEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns the translation entries before and after the current translation entry in the ordered set where uuid = ?.
|
java.util.List<TranslationEntry> |
findByUuid(java.lang.String uuid)
Returns all the translation entries where uuid = ?.
|
java.util.List<TranslationEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the translation entries where uuid = ?.
|
java.util.List<TranslationEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
Returns an ordered range of all the translation entries where uuid = ?.
|
java.util.List<TranslationEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the translation entries where uuid = ?.
|
TranslationEntry |
remove(long translationEntryId)
Removes the translation entry with the primary key from the database.
|
void |
removeAll()
Removes all the translation entries from the database.
|
TranslationEntry |
removeByC_C_L(long classNameId,
long classPK,
java.lang.String languageId)
Removes the translation entry where classNameId = ? and classPK = ? and languageId = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the translation entries where classNameId = ? and classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the translation entries where uuid = ? and companyId = ? from the database.
|
TranslationEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the translation entry where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the translation entries where uuid = ? from the database.
|
TranslationEntry |
updateImpl(TranslationEntry translationEntry) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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<TranslationEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<TranslationEntry> findByUuid(java.lang.String uuid, 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 TranslationEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)java.util.List<TranslationEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<TranslationEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheTranslationEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry[] findByUuid_PrevAndNext(long translationEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
translationEntryId
- the primary key of the current translation entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a translation entry with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidTranslationEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching translation entry could not be foundTranslationEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching translation entry could not be foundTranslationEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<TranslationEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<TranslationEntry> findByUuid_C(java.lang.String uuid, 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 TranslationEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)java.util.List<TranslationEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<TranslationEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheTranslationEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry[] findByUuid_C_PrevAndNext(long translationEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
translationEntryId
- the primary key of the current translation entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a translation entry with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<TranslationEntry> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<TranslationEntry> findByC_C(long classNameId, long classPK, 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 TranslationEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)java.util.List<TranslationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<TranslationEntry> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheTranslationEntry findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching translation entry could not be foundTranslationEntry[] findByC_C_PrevAndNext(long translationEntryId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> orderByComparator) throws NoSuchEntryException
translationEntryId
- the primary key of the current translation entryclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a translation entry with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkTranslationEntry findByC_C_L(long classNameId, long classPK, java.lang.String languageId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.classNameId
- the class name IDclassPK
- the class pklanguageId
- the language IDNoSuchEntryException
- if a matching translation entry could not be foundTranslationEntry fetchByC_C_L(long classNameId, long classPK, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pklanguageId
- the language IDnull
if a matching translation entry could not be foundTranslationEntry fetchByC_C_L(long classNameId, long classPK, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pklanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching translation entry could not be foundTranslationEntry removeByC_C_L(long classNameId, long classPK, java.lang.String languageId) throws NoSuchEntryException
classNameId
- the class name IDclassPK
- the class pklanguageId
- the language IDNoSuchEntryException
int countByC_C_L(long classNameId, long classPK, java.lang.String languageId)
classNameId
- the class name IDclassPK
- the class pklanguageId
- the language IDvoid cacheResult(TranslationEntry translationEntry)
translationEntry
- the translation entryvoid cacheResult(java.util.List<TranslationEntry> translationEntries)
translationEntries
- the translation entriesTranslationEntry create(long translationEntryId)
translationEntryId
- the primary key for the new translation entryTranslationEntry remove(long translationEntryId) throws NoSuchEntryException
translationEntryId
- the primary key of the translation entryNoSuchEntryException
- if a translation entry with the primary key could not be foundTranslationEntry updateImpl(TranslationEntry translationEntry)
TranslationEntry findByPrimaryKey(long translationEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.translationEntryId
- the primary key of the translation entryNoSuchEntryException
- if a translation entry with the primary key could not be foundTranslationEntry fetchByPrimaryKey(long translationEntryId)
null
if it could not be found.translationEntryId
- the primary key of the translation entrynull
if a translation entry with the primary key could not be foundjava.util.List<TranslationEntry> findAll()
java.util.List<TranslationEntry> 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 TranslationEntryModelImpl
.
start
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)java.util.List<TranslationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
start
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<TranslationEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<TranslationEntry> 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 TranslationEntryModelImpl
.
start
- the lower bound of the range of translation entriesend
- the upper bound of the range of translation entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()