Interface LayoutLocalizationPersistence
- All Superinterfaces:
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
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(LayoutLocalization layoutLocalization) Caches the layout localization in the entity cache if it is enabled.void
cacheResult
(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, String languageId, long plid) Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.int
countByL_P
(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
(String uuid) Returns the number of layout localizations where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of layout localizations where uuid = ? and companyId = ?.int
countByUUID_G
(String uuid, long groupId) Returns the number of layout localizations where uuid = ? and groupId = ?.create
(long layoutLocalizationId) Creates a new layout localization with the primary key.fetchByG_L_P
(long groupId, String languageId, long plid) Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returnsnull
if it could not be found.fetchByG_L_P
(long groupId, String languageId, long plid, boolean useFinderCache) Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByL_P
(String languageId, long plid) Returns the layout localization where languageId = ? and plid = ? or returnsnull
if it could not be found.fetchByL_P
(String languageId, long plid, boolean useFinderCache) Returns the layout localization where languageId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPlid_First
(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where plid = ?.fetchByPlid_Last
(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where plid = ?.fetchByPrimaryKey
(long layoutLocalizationId) Returns the layout localization with the primary key or returnsnull
if it could not be found.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where uuid = ?.fetchByUUID_G
(String uuid, long groupId) Returns the layout localization where uuid = ? and groupId = ? or returnsnull
if it could not be found.fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the layout localization where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where uuid = ?.findAll()
Returns all the layout localizations.findAll
(int start, int end) Returns a range of all the layout localizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns an ordered range of all the layout localizations.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout localizations.findByG_L_P
(long groupId, String languageId, long plid) Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.Returns the layout localization where languageId = ? and plid = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.findByPlid
(long plid) Returns all the layout localizations where plid = ?.findByPlid
(long plid, int start, int end) Returns a range of all the layout localizations where plid = ?.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 = ?.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 = ?.findByPlid_First
(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where plid = ?.findByPlid_Last
(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where plid = ?.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 = ?.findByPrimaryKey
(long layoutLocalizationId) Returns the layout localization with the primary key or throws aNoSuchLayoutLocalizationException
if it could not be found.findByUuid
(String uuid) Returns all the layout localizations where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the layout localizations where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the layout localizations where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout localizations where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long layoutLocalizationId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where uuid = ?.findByUUID_G
(String uuid, long groupId) Returns the layout localization where uuid = ? and groupId = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long layoutLocalizationId, 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 = ?.remove
(long layoutLocalizationId) Removes the layout localization with the primary key from the database.void
Removes all the layout localizations from the database.removeByG_L_P
(long groupId, String languageId, long plid) Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.removeByL_P
(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
(String uuid) Removes all the layout localizations where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the layout localizations where uuid = ? and companyId = ? from the database.removeByUUID_G
(String uuid, long groupId) Removes the layout localization where uuid = ? and groupId = ? from the database.updateImpl
(LayoutLocalization layoutLocalization) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the layout localizations where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout localizations
-
findByUuid
Returns a range of all the layout localizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)- Returns:
- the range of matching layout localizations
-
findByUuid
List<LayoutLocalization> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout localizations
-
findByUuid
List<LayoutLocalization> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout localizations
-
findByUuid_First
LayoutLocalization findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the first layout localization in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByUuid_First
LayoutLocalization fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization, or
null
if a matching layout localization could not be found
-
findByUuid_Last
LayoutLocalization findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the last layout localization in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByUuid_Last
LayoutLocalization fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization, or
null
if a matching layout localization could not be found
-
findByUuid_PrevAndNext
LayoutLocalization[] findByUuid_PrevAndNext(long layoutLocalizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ?.- Parameters:
layoutLocalizationId
- the primary key of the current layout localizationuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be found
-
removeByUuid
Removes all the layout localizations where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout localizations where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout localizations
-
findByUUID_G
Returns the layout localization where uuid = ? and groupId = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByUUID_G
Returns the layout localization where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
fetchByUUID_G
Returns the layout localization where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
removeByUUID_G
LayoutLocalization removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutLocalizationException Removes the layout localization where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the layout localization that was removed
- Throws:
NoSuchLayoutLocalizationException
-
countByUUID_G
Returns the number of layout localizations where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching layout localizations
-
findByUuid_C
Returns all the layout localizations where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout localizations
-
findByUuid_C
Returns a range of all the layout localizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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)- Returns:
- the range of matching layout localizations
-
findByUuid_C
List<LayoutLocalization> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout localizations
-
findByUuid_C
List<LayoutLocalization> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout localizations
-
findByUuid_C_First
LayoutLocalization findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the first layout localization in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByUuid_C_First
LayoutLocalization fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization, or
null
if a matching layout localization could not be found
-
findByUuid_C_Last
LayoutLocalization findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the last layout localization in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByUuid_C_Last
LayoutLocalization fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization, or
null
if a matching layout localization could not be found
-
findByUuid_C_PrevAndNext
LayoutLocalization[] findByUuid_C_PrevAndNext(long layoutLocalizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the layout localizations before and after the current layout localization in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutLocalizationId
- the primary key of the current layout localizationuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be found
-
removeByUuid_C
Removes all the layout localizations where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout localizations where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout localizations
-
findByPlid
Returns all the layout localizations where plid = ?.- Parameters:
plid
- the plid- Returns:
- the matching layout localizations
-
findByPlid
Returns a range of all the layout localizations where plid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)- Returns:
- the range of matching layout localizations
-
findByPlid
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching layout localizations
-
findByPlid
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching layout localizations
-
findByPlid_First
LayoutLocalization findByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the first layout localization in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByPlid_First
LayoutLocalization fetchByPlid_First(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the first layout localization in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout localization, or
null
if a matching layout localization could not be found
-
findByPlid_Last
LayoutLocalization findByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the last layout localization in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByPlid_Last
LayoutLocalization fetchByPlid_Last(long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns the last layout localization in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout localization, or
null
if a matching layout localization could not be found
-
findByPlid_PrevAndNext
LayoutLocalization[] findByPlid_PrevAndNext(long layoutLocalizationId, long plid, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) throws NoSuchLayoutLocalizationException Returns the layout localizations before and after the current layout localization in the ordered set where plid = ?.- Parameters:
layoutLocalizationId
- the primary key of the current layout localizationplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be found
-
removeByPlid
void removeByPlid(long plid) Removes all the layout localizations where plid = ? from the database.- Parameters:
plid
- the plid
-
countByPlid
int countByPlid(long plid) Returns the number of layout localizations where plid = ?.- Parameters:
plid
- the plid- Returns:
- the number of matching layout localizations
-
findByL_P
Returns the layout localization where languageId = ? and plid = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.- Parameters:
languageId
- the language IDplid
- the plid- Returns:
- the matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByL_P
Returns the layout localization where languageId = ? and plid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
languageId
- the language IDplid
- the plid- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
fetchByL_P
Returns the layout localization where languageId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
languageId
- the language IDplid
- the pliduseFinderCache
- whether to use the finder cache- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
removeByL_P
LayoutLocalization removeByL_P(String languageId, long plid) throws NoSuchLayoutLocalizationException Removes the layout localization where languageId = ? and plid = ? from the database.- Parameters:
languageId
- the language IDplid
- the plid- Returns:
- the layout localization that was removed
- Throws:
NoSuchLayoutLocalizationException
-
countByL_P
Returns the number of layout localizations where languageId = ? and plid = ?.- Parameters:
languageId
- the language IDplid
- the plid- Returns:
- the number of matching layout localizations
-
findByG_L_P
LayoutLocalization findByG_L_P(long groupId, String languageId, long plid) throws NoSuchLayoutLocalizationException Returns the layout localization where groupId = ? and languageId = ? and plid = ? or throws aNoSuchLayoutLocalizationException
if it could not be found.- Parameters:
groupId
- the group IDlanguageId
- the language IDplid
- the plid- Returns:
- the matching layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a matching layout localization could not be found
-
fetchByG_L_P
Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDlanguageId
- the language IDplid
- the plid- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
fetchByG_L_P
Returns the layout localization where groupId = ? and languageId = ? and plid = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDlanguageId
- the language IDplid
- the pliduseFinderCache
- whether to use the finder cache- Returns:
- the matching layout localization, or
null
if a matching layout localization could not be found
-
removeByG_L_P
LayoutLocalization removeByG_L_P(long groupId, String languageId, long plid) throws NoSuchLayoutLocalizationException Removes the layout localization where groupId = ? and languageId = ? and plid = ? from the database.- Parameters:
groupId
- the group IDlanguageId
- the language IDplid
- the plid- Returns:
- the layout localization that was removed
- Throws:
NoSuchLayoutLocalizationException
-
countByG_L_P
Returns the number of layout localizations where groupId = ? and languageId = ? and plid = ?.- Parameters:
groupId
- the group IDlanguageId
- the language IDplid
- the plid- Returns:
- the number of matching layout localizations
-
cacheResult
Caches the layout localization in the entity cache if it is enabled.- Parameters:
layoutLocalization
- the layout localization
-
cacheResult
Caches the layout localizations in the entity cache if it is enabled.- Parameters:
layoutLocalizations
- the layout localizations
-
create
Creates a new layout localization with the primary key. Does not add the layout localization to the database.- Parameters:
layoutLocalizationId
- the primary key for the new layout localization- Returns:
- the new layout localization
-
remove
Removes the layout localization with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutLocalizationId
- the primary key of the layout localization- Returns:
- the layout localization that was removed
- Throws:
NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
LayoutLocalization findByPrimaryKey(long layoutLocalizationId) throws NoSuchLayoutLocalizationException Returns the layout localization with the primary key or throws aNoSuchLayoutLocalizationException
if it could not be found.- Parameters:
layoutLocalizationId
- the primary key of the layout localization- Returns:
- the layout localization
- Throws:
NoSuchLayoutLocalizationException
- if a layout localization with the primary key could not be found
-
fetchByPrimaryKey
Returns the layout localization with the primary key or returnsnull
if it could not be found.- Parameters:
layoutLocalizationId
- the primary key of the layout localization- Returns:
- the layout localization, or
null
if a layout localization with the primary key could not be found
-
findAll
List<LayoutLocalization> findAll()Returns all the layout localizations.- Returns:
- the layout localizations
-
findAll
Returns a range of all the layout localizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
start
- the lower bound of the range of layout localizationsend
- the upper bound of the range of layout localizations (not inclusive)- Returns:
- the range of layout localizations
-
findAll
List<LayoutLocalization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutLocalization> orderByComparator) Returns an ordered range of all the layout localizations.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of layout localizations
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromLayoutLocalizationModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout localizations
-
removeAll
void removeAll()Removes all the layout localizations from the database. -
countAll
int countAll()Returns the number of layout localizations.- Returns:
- the number of layout localizations
-