@ProviderType public interface LayoutLocalizationPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutLocalization>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<LayoutLocalization>
Caching information and settings can be found in portal.properties
LayoutLocalizationUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(LayoutLocalization layoutLocalization)
Caches the layout localization in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<LayoutLocalization> layoutLocalizations)
Caches the layout localizations in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of layout localizations.
|
int |
countByG_L_P(long groupId,
java.lang.String languageId,
long plid)
Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.
|
int |
countByL_P(java.lang.String languageId,
long plid)
Returns the number of layout localizations where languageId = ? and plid = ?.
|
int |
countByPlid(long plid)
Returns the number of layout localizations where plid = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout localizations where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout localizations where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of layout localizations where uuid = ?.
|
LayoutLocalization |
create(long layoutLocalizationId)
Creates a new layout localization with the primary key.
|
LayoutLocalization |
fetchByG_L_P(long groupId,
java.lang.String languageId,
long plid)
Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns
null if it could not be found. |
LayoutLocalization |
fetchByG_L_P(long groupId,
java.lang.String languageId,
long plid,
boolean useFinderCache)
Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
LayoutLocalization |
fetchByL_P(java.lang.String languageId,
long plid)
Returns the layout localization where languageId = ? and plid = ? or returns
null if it could not be found. |
LayoutLocalization |
fetchByL_P(java.lang.String languageId,
long plid,
boolean useFinderCache)
Returns the layout localization where languageId = ? and plid = ? or returns
null if it could not be found, optionally using the finder cache. |
LayoutLocalization |
fetchByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where plid = ?.
|
LayoutLocalization |
fetchByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where plid = ?.
|
LayoutLocalization |
fetchByPrimaryKey(long layoutLocalizationId)
Returns the layout localization with the primary key or returns
null if it could not be found. |
LayoutLocalization |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
|
LayoutLocalization |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where uuid = ? and companyId = ?.
|
LayoutLocalization |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where uuid = ?.
|
LayoutLocalization |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout localization where uuid = ? and groupId = ? or returns
null if it could not be found. |
LayoutLocalization |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout localization where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
LayoutLocalization |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where uuid = ?.
|
java.util.List<LayoutLocalization> |
findAll()
Returns all the layout localizations.
|
java.util.List<LayoutLocalization> |
findAll(int start,
int end)
Returns a range of all the layout localizations.
|
java.util.List<LayoutLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns an ordered range of all the layout localizations.
|
java.util.List<LayoutLocalization> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout localizations.
|
LayoutLocalization |
findByG_L_P(long groupId,
java.lang.String languageId,
long plid)
Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws a
NoSuchLayoutLocalizationException if it could not be found. |
LayoutLocalization |
findByL_P(java.lang.String languageId,
long plid)
Returns the layout localization where languageId = ? and plid = ? or throws a
NoSuchLayoutLocalizationException if it could not be found. |
LayoutLocalization |
findByPlid_First(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where plid = ?.
|
LayoutLocalization |
findByPlid_Last(long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where plid = ?.
|
LayoutLocalization[] |
findByPlid_PrevAndNext(long layoutLocalizationId,
long plid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the layout localizations before and after the current layout localization in the ordered set where plid = ?.
|
java.util.List<LayoutLocalization> |
findByPlid(long plid)
Returns all the layout localizations where plid = ?.
|
java.util.List<LayoutLocalization> |
findByPlid(long plid,
int start,
int end)
Returns a range of all the layout localizations where plid = ?.
|
java.util.List<LayoutLocalization> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns an ordered range of all the layout localizations where plid = ?.
|
java.util.List<LayoutLocalization> |
findByPlid(long plid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout localizations where plid = ?.
|
LayoutLocalization |
findByPrimaryKey(long layoutLocalizationId)
Returns the layout localization with the primary key or throws a
NoSuchLayoutLocalizationException if it could not be found. |
LayoutLocalization |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.
|
LayoutLocalization |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where uuid = ? and companyId = ?.
|
LayoutLocalization[] |
findByUuid_C_PrevAndNext(long layoutLocalizationId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<LayoutLocalization> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout localizations where uuid = ? and companyId = ?.
|
java.util.List<LayoutLocalization> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout localizations where uuid = ? and companyId = ?.
|
java.util.List<LayoutLocalization> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns an ordered range of all the layout localizations where uuid = ? and companyId = ?.
|
java.util.List<LayoutLocalization> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout localizations where uuid = ? and companyId = ?.
|
LayoutLocalization |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the first layout localization in the ordered set where uuid = ?.
|
LayoutLocalization |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout localization where uuid = ? and groupId = ? or throws a
NoSuchLayoutLocalizationException if it could not be found. |
LayoutLocalization |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the last layout localization in the ordered set where uuid = ?.
|
LayoutLocalization[] |
findByUuid_PrevAndNext(long layoutLocalizationId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ?.
|
java.util.List<LayoutLocalization> |
findByUuid(java.lang.String uuid)
Returns all the layout localizations where uuid = ?.
|
java.util.List<LayoutLocalization> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout localizations where uuid = ?.
|
java.util.List<LayoutLocalization> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
Returns an ordered range of all the layout localizations where uuid = ?.
|
java.util.List<LayoutLocalization> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout localizations where uuid = ?.
|
LayoutLocalization |
remove(long layoutLocalizationId)
Removes the layout localization with the primary key from the database.
|
void |
removeAll()
Removes all the layout localizations from the database.
|
LayoutLocalization |
removeByG_L_P(long groupId,
java.lang.String languageId,
long plid)
Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.
|
LayoutLocalization |
removeByL_P(java.lang.String languageId,
long plid)
Removes the layout localization where languageId = ? and plid = ? from the database.
|
void |
removeByPlid(long plid)
Removes all the layout localizations where plid = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout localizations where uuid = ? and companyId = ? from the database.
|
LayoutLocalization |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout localization where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the layout localizations where uuid = ? from the database.
|
LayoutLocalization |
updateImpl(LayoutLocalization layoutLocalization) |
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<LayoutLocalization> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)java.util.List<LayoutLocalization> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutLocalization> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutLocalization findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization[] findByUuid_PrevAndNext(long layoutLocalizationId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
layoutLocalizationId
- the primary key of the current layout localizationuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidLayoutLocalization findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchLayoutLocalizationException
NoSuchLayoutLocalizationException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization 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 layout localization could not be foundLayoutLocalization 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 layout localization could not be foundLayoutLocalization removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchLayoutLocalizationException
uuid
- the uuidgroupId
- the group IDNoSuchLayoutLocalizationException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<LayoutLocalization> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)java.util.List<LayoutLocalization> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutLocalization> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutLocalization findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization[] findByUuid_C_PrevAndNext(long layoutLocalizationId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
layoutLocalizationId
- the primary key of the current layout localizationuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a layout localization 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<LayoutLocalization> findByPlid(long plid)
plid
- the plidjava.util.List<LayoutLocalization> findByPlid(long plid, 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 LayoutLocalizationModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)java.util.List<LayoutLocalization> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutLocalization> findByPlid(long plid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
plid
- the plidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheLayoutLocalization findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator)
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout localization could not be foundLayoutLocalization[] findByPlid_PrevAndNext(long layoutLocalizationId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException
layoutLocalizationId
- the primary key of the current layout localizationplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be foundvoid removeByPlid(long plid)
plid
- the plidint countByPlid(long plid)
plid
- the plidLayoutLocalization findByL_P(java.lang.String languageId, long plid) throws NoSuchLayoutLocalizationException
NoSuchLayoutLocalizationException
if it could not be found.languageId
- the language IDplid
- the plidNoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByL_P(java.lang.String languageId, long plid)
null
if it could not be found. Uses the finder cache.languageId
- the language IDplid
- the plidnull
if a matching layout localization could not be foundLayoutLocalization fetchByL_P(java.lang.String languageId, long plid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.languageId
- the language IDplid
- the pliduseFinderCache
- whether to use the finder cachenull
if a matching layout localization could not be foundLayoutLocalization removeByL_P(java.lang.String languageId, long plid) throws NoSuchLayoutLocalizationException
languageId
- the language IDplid
- the plidNoSuchLayoutLocalizationException
int countByL_P(java.lang.String languageId, long plid)
languageId
- the language IDplid
- the plidLayoutLocalization findByG_L_P(long groupId, java.lang.String languageId, long plid) throws NoSuchLayoutLocalizationException
NoSuchLayoutLocalizationException
if it could not be found.groupId
- the group IDlanguageId
- the language IDplid
- the plidNoSuchLayoutLocalizationException
- if a matching layout localization could not be foundLayoutLocalization fetchByG_L_P(long groupId, java.lang.String languageId, long plid)
null
if it could not be found. Uses the finder cache.groupId
- the group IDlanguageId
- the language IDplid
- the plidnull
if a matching layout localization could not be foundLayoutLocalization fetchByG_L_P(long groupId, java.lang.String languageId, long plid, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDlanguageId
- the language IDplid
- the pliduseFinderCache
- whether to use the finder cachenull
if a matching layout localization could not be foundLayoutLocalization removeByG_L_P(long groupId, java.lang.String languageId, long plid) throws NoSuchLayoutLocalizationException
groupId
- the group IDlanguageId
- the language IDplid
- the plidNoSuchLayoutLocalizationException
int countByG_L_P(long groupId, java.lang.String languageId, long plid)
groupId
- the group IDlanguageId
- the language IDplid
- the plidvoid cacheResult(LayoutLocalization layoutLocalization)
layoutLocalization
- the layout localizationvoid cacheResult(java.util.List<LayoutLocalization> layoutLocalizations)
layoutLocalizations
- the layout localizationsLayoutLocalization create(long layoutLocalizationId)
layoutLocalizationId
- the primary key for the new layout localizationLayoutLocalization remove(long layoutLocalizationId) throws NoSuchLayoutLocalizationException
layoutLocalizationId
- the primary key of the layout localizationNoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be foundLayoutLocalization updateImpl(LayoutLocalization layoutLocalization)
LayoutLocalization findByPrimaryKey(long layoutLocalizationId) throws NoSuchLayoutLocalizationException
NoSuchLayoutLocalizationException
if it could not be found.layoutLocalizationId
- the primary key of the layout localizationNoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be foundLayoutLocalization fetchByPrimaryKey(long layoutLocalizationId)
null
if it could not be found.layoutLocalizationId
- the primary key of the layout localizationnull
if a layout localization with the primary key could not be foundjava.util.List<LayoutLocalization> findAll()
java.util.List<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
start
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)java.util.List<LayoutLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
start
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<LayoutLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> 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 LayoutLocalizationModelImpl
.
start
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()