Class LayoutFriendlyURLUtil
com.liferay.portal.service.persistence.impl.LayoutFriendlyURLPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(LayoutFriendlyURL layoutFriendlyURL) Caches the layout friendly url in the entity cache if it is enabled.static void
cacheResult
(List<LayoutFriendlyURL> layoutFriendlyURLs) Caches the layout friendly urls in the entity cache if it is enabled.static void
static void
clearCache
(LayoutFriendlyURL layoutFriendlyURL) static int
countAll()
Returns the number of layout friendly urls.static int
countByC_F
(long companyId, String friendlyURL) Returns the number of layout friendly urls where companyId = ? and friendlyURL = ?.static int
countByCompanyId
(long companyId) Returns the number of layout friendly urls where companyId = ?.static int
countByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Returns the number of layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.static int
countByG_P_F_L
(long groupId, boolean privateLayout, String friendlyURL, String languageId) Returns the number of layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.static int
countByGroupId
(long groupId) Returns the number of layout friendly urls where groupId = ?.static int
countByP_F
(long plid, String friendlyURL) Returns the number of layout friendly urls where plid = ? and friendlyURL = ?.static int
countByP_L
(long[] plids, String languageId) Returns the number of layout friendly urls where plid = any ? and languageId = ?.static int
countByP_L
(long plid, String languageId) Returns the number of layout friendly urls where plid = ? and languageId = ?.static int
countByPlid
(long plid) Returns the number of layout friendly urls where plid = ?.static int
countByUuid
(String uuid) Returns the number of layout friendly urls where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of layout friendly urls where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of layout friendly urls where uuid = ? and groupId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static LayoutFriendlyURL
create
(long layoutFriendlyURLId) Creates a new layout friendly url with the primary key.static LayoutFriendlyURL
fetchByC_F_First
(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByC_F_Last
(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByCompanyId_First
(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ?.static LayoutFriendlyURL
fetchByCompanyId_Last
(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ?.static LayoutFriendlyURL
fetchByG_P_F_First
(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByG_P_F_L
(long groupId, boolean privateLayout, String friendlyURL, String languageId) Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returnsnull
if it could not be found.static LayoutFriendlyURL
fetchByG_P_F_L
(long groupId, boolean privateLayout, String friendlyURL, String languageId, boolean useFinderCache) Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.static LayoutFriendlyURL
fetchByG_P_F_Last
(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByGroupId_First
(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ?.static LayoutFriendlyURL
fetchByGroupId_Last
(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ?.static LayoutFriendlyURL
fetchByP_F_First
(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByP_F_Last
(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ? and friendlyURL = ?.static LayoutFriendlyURL
fetchByP_L
(long plid, String languageId) Returns the layout friendly url where plid = ? and languageId = ? or returnsnull
if it could not be found.static LayoutFriendlyURL
fetchByP_L
(long plid, String languageId, boolean useFinderCache) Returns the layout friendly url where plid = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.static LayoutFriendlyURL
fetchByPlid_First
(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ?.static LayoutFriendlyURL
fetchByPlid_Last
(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ?.static LayoutFriendlyURL
fetchByPrimaryKey
(long layoutFriendlyURLId) Returns the layout friendly url with the primary key or returnsnull
if it could not be found.static Map<Serializable,
LayoutFriendlyURL> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static LayoutFriendlyURL
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where uuid = ? and companyId = ?.static LayoutFriendlyURL
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where uuid = ? and companyId = ?.static LayoutFriendlyURL
fetchByUuid_First
(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where uuid = ?.static LayoutFriendlyURL
fetchByUUID_G
(String uuid, long groupId) Returns the layout friendly url where uuid = ? and groupId = ? or returnsnull
if it could not be found.static LayoutFriendlyURL
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the layout friendly url where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static LayoutFriendlyURL
fetchByUuid_Last
(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where uuid = ?.static List<LayoutFriendlyURL>
findAll()
Returns all the layout friendly urls.static List<LayoutFriendlyURL>
findAll
(int start, int end) Returns a range of all the layout friendly urls.static List<LayoutFriendlyURL>
findAll
(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls.static List<LayoutFriendlyURL>
findAll
(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls.static List<LayoutFriendlyURL>
Returns all the layout friendly urls where companyId = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
Returns a range of all the layout friendly urls where companyId = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByC_F
(long companyId, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where companyId = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByC_F
(long companyId, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where companyId = ? and friendlyURL = ?.static LayoutFriendlyURL
findByC_F_First
(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.static LayoutFriendlyURL
findByC_F_Last
(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.static LayoutFriendlyURL[]
findByC_F_PrevAndNext
(long layoutFriendlyURLId, long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByCompanyId
(long companyId) Returns all the layout friendly urls where companyId = ?.static List<LayoutFriendlyURL>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the layout friendly urls where companyId = ?.static List<LayoutFriendlyURL>
findByCompanyId
(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where companyId = ?.static List<LayoutFriendlyURL>
findByCompanyId
(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where companyId = ?.static LayoutFriendlyURL
findByCompanyId_First
(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ?.static LayoutFriendlyURL
findByCompanyId_Last
(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ?.static LayoutFriendlyURL[]
findByCompanyId_PrevAndNext
(long layoutFriendlyURLId, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where companyId = ?.static List<LayoutFriendlyURL>
findByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Returns all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByG_P_F
(long groupId, boolean privateLayout, String friendlyURL, int start, int end) Returns a range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByG_P_F
(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByG_P_F
(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.static LayoutFriendlyURL
findByG_P_F_First
(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.static LayoutFriendlyURL
findByG_P_F_L
(long groupId, boolean privateLayout, String friendlyURL, String languageId) Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.static LayoutFriendlyURL
findByG_P_F_Last
(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.static LayoutFriendlyURL[]
findByG_P_F_PrevAndNext
(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByGroupId
(long groupId) Returns all the layout friendly urls where groupId = ?.static List<LayoutFriendlyURL>
findByGroupId
(long groupId, int start, int end) Returns a range of all the layout friendly urls where groupId = ?.static List<LayoutFriendlyURL>
findByGroupId
(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where groupId = ?.static List<LayoutFriendlyURL>
findByGroupId
(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where groupId = ?.static LayoutFriendlyURL
findByGroupId_First
(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ?.static LayoutFriendlyURL
findByGroupId_Last
(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ?.static LayoutFriendlyURL[]
findByGroupId_PrevAndNext
(long layoutFriendlyURLId, long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where groupId = ?.static List<LayoutFriendlyURL>
Returns all the layout friendly urls where plid = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
Returns a range of all the layout friendly urls where plid = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByP_F
(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where plid = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
findByP_F
(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where plid = ? and friendlyURL = ?.static LayoutFriendlyURL
findByP_F_First
(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ? and friendlyURL = ?.static LayoutFriendlyURL
findByP_F_Last
(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ? and friendlyURL = ?.static LayoutFriendlyURL[]
findByP_F_PrevAndNext
(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where plid = ? and friendlyURL = ?.static List<LayoutFriendlyURL>
Returns all the layout friendly urls where plid = any ? and languageId = ?.static List<LayoutFriendlyURL>
Returns a range of all the layout friendly urls where plid = any ? and languageId = ?.static List<LayoutFriendlyURL>
findByP_L
(long[] plids, String languageId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where plid = any ? and languageId = ?.static List<LayoutFriendlyURL>
findByP_L
(long[] plids, String languageId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where plid = ? and languageId = ?, optionally using the finder cache.static LayoutFriendlyURL
Returns the layout friendly url where plid = ? and languageId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.static List<LayoutFriendlyURL>
findByPlid
(long plid) Returns all the layout friendly urls where plid = ?.static List<LayoutFriendlyURL>
findByPlid
(long plid, int start, int end) Returns a range of all the layout friendly urls where plid = ?.static List<LayoutFriendlyURL>
findByPlid
(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where plid = ?.static List<LayoutFriendlyURL>
findByPlid
(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where plid = ?.static LayoutFriendlyURL
findByPlid_First
(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ?.static LayoutFriendlyURL
findByPlid_Last
(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ?.static LayoutFriendlyURL[]
findByPlid_PrevAndNext
(long layoutFriendlyURLId, long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where plid = ?.static LayoutFriendlyURL
findByPrimaryKey
(long layoutFriendlyURLId) Returns the layout friendly url with the primary key or throws aNoSuchLayoutFriendlyURLException
if it could not be found.static List<LayoutFriendlyURL>
findByUuid
(String uuid) Returns all the layout friendly urls where uuid = ?.static List<LayoutFriendlyURL>
findByUuid
(String uuid, int start, int end) Returns a range of all the layout friendly urls where uuid = ?.static List<LayoutFriendlyURL>
findByUuid
(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where uuid = ?.static List<LayoutFriendlyURL>
findByUuid
(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where uuid = ?.static List<LayoutFriendlyURL>
findByUuid_C
(String uuid, long companyId) Returns all the layout friendly urls where uuid = ? and companyId = ?.static List<LayoutFriendlyURL>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the layout friendly urls where uuid = ? and companyId = ?.static List<LayoutFriendlyURL>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where uuid = ? and companyId = ?.static List<LayoutFriendlyURL>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where uuid = ? and companyId = ?.static LayoutFriendlyURL
findByUuid_C_First
(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where uuid = ? and companyId = ?.static LayoutFriendlyURL
findByUuid_C_Last
(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where uuid = ? and companyId = ?.static LayoutFriendlyURL[]
findByUuid_C_PrevAndNext
(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where uuid = ? and companyId = ?.static LayoutFriendlyURL
findByUuid_First
(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where uuid = ?.static LayoutFriendlyURL
findByUUID_G
(String uuid, long groupId) Returns the layout friendly url where uuid = ? and groupId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.static LayoutFriendlyURL
findByUuid_Last
(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where uuid = ?.static LayoutFriendlyURL[]
findByUuid_PrevAndNext
(long layoutFriendlyURLId, String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the layout friendly urls before and after the current layout friendly url in the ordered set where uuid = ?.static List<LayoutFriendlyURL>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<LayoutFriendlyURL>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<LayoutFriendlyURL>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) static LayoutFriendlyURLPersistence
static LayoutFriendlyURL
remove
(long layoutFriendlyURLId) Removes the layout friendly url with the primary key from the database.static void
Removes all the layout friendly urls from the database.static void
removeByC_F
(long companyId, String friendlyURL) Removes all the layout friendly urls where companyId = ? and friendlyURL = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the layout friendly urls where companyId = ? from the database.static void
removeByG_P_F
(long groupId, boolean privateLayout, String friendlyURL) Removes all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.static LayoutFriendlyURL
removeByG_P_F_L
(long groupId, boolean privateLayout, String friendlyURL, String languageId) Removes the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.static void
removeByGroupId
(long groupId) Removes all the layout friendly urls where groupId = ? from the database.static void
removeByP_F
(long plid, String friendlyURL) Removes all the layout friendly urls where plid = ? and friendlyURL = ? from the database.static LayoutFriendlyURL
removeByP_L
(long plid, String languageId) Removes the layout friendly url where plid = ? and languageId = ? from the database.static void
removeByPlid
(long plid) Removes all the layout friendly urls where plid = ? from the database.static void
removeByUuid
(String uuid) Removes all the layout friendly urls where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the layout friendly urls where uuid = ? and companyId = ? from the database.static LayoutFriendlyURL
removeByUUID_G
(String uuid, long groupId) Removes the layout friendly url where uuid = ? and groupId = ? from the database.static void
setPersistence
(LayoutFriendlyURLPersistence persistence) static LayoutFriendlyURL
update
(LayoutFriendlyURL layoutFriendlyURL) static LayoutFriendlyURL
update
(LayoutFriendlyURL layoutFriendlyURL, ServiceContext serviceContext) static LayoutFriendlyURL
updateImpl
(LayoutFriendlyURL layoutFriendlyURL)
-
Constructor Details
-
LayoutFriendlyURLUtil
public LayoutFriendlyURLUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) -
update
-
update
public static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL, ServiceContext serviceContext) -
findByUuid
Returns all the layout friendly urls where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching layout friendly urls
-
findByUuid
Returns a range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByUuid
public static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByUuid
public static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByUuid_First
public static LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByUuid_First
public static LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByUuid_Last
public static LayoutFriendlyURL findByUuid_Last(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByUuid_Last
public static LayoutFriendlyURL fetchByUuid_Last(String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByUuid_PrevAndNext
public static LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where uuid = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urluuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByUuid
Removes all the layout friendly urls where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of layout friendly urls where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching layout friendly urls
-
findByUUID_G
public static LayoutFriendlyURL findByUUID_G(String uuid, long groupId) throws NoSuchLayoutFriendlyURLException Returns the layout friendly url where uuid = ? and groupId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByUUID_G
Returns the layout friendly url 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 friendly url, or
null
if a matching layout friendly url could not be found
-
fetchByUUID_G
Returns the layout friendly url 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 friendly url, or
null
if a matching layout friendly url could not be found
-
removeByUUID_G
public static LayoutFriendlyURL removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutFriendlyURLException Removes the layout friendly url where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the layout friendly url that was removed
- Throws:
NoSuchLayoutFriendlyURLException
-
countByUUID_G
Returns the number of layout friendly urls where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching layout friendly urls
-
findByUuid_C
Returns all the layout friendly urls where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching layout friendly urls
-
findByUuid_C
Returns a range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByUuid_C
public static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByUuid_C
public static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByUuid_C_First
public static LayoutFriendlyURL findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url 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 friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByUuid_C_First
public static LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url 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 friendly url, or
null
if a matching layout friendly url could not be found
-
findByUuid_C_Last
public static LayoutFriendlyURL findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url 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 friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByUuid_C_Last
public static LayoutFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url 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 friendly url, or
null
if a matching layout friendly url could not be found
-
findByUuid_C_PrevAndNext
public static LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where uuid = ? and companyId = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByUuid_C
Removes all the layout friendly urls where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of layout friendly urls where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching layout friendly urls
-
findByGroupId
Returns all the layout friendly urls where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching layout friendly urls
-
findByGroupId
Returns a range of all the layout friendly urls where groupId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByGroupId
public static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where groupId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByGroupId
public static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where groupId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByGroupId_First
public static LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByGroupId_First
public static LayoutFriendlyURL fetchByGroupId_First(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByGroupId_Last
public static LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByGroupId_Last
public static LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByGroupId_PrevAndNext
public static LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where groupId = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the layout friendly urls where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of layout friendly urls where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching layout friendly urls
-
findByCompanyId
Returns all the layout friendly urls where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching layout friendly urls
-
findByCompanyId
Returns a range of all the layout friendly urls where 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByCompanyId
public static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByCompanyId
public static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByCompanyId_First
public static LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByCompanyId_First
public static LayoutFriendlyURL fetchByCompanyId_First(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByCompanyId_Last
public static LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByCompanyId_Last
public static LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByCompanyId_PrevAndNext
public static LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where companyId = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the layout friendly urls where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static int countByCompanyId(long companyId) Returns the number of layout friendly urls where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching layout friendly urls
-
findByPlid
Returns all the layout friendly urls where plid = ?.- Parameters:
plid
- the plid- Returns:
- the matching layout friendly urls
-
findByPlid
Returns a range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByPlid
public static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByPlid
public static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls 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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByPlid_First
public static LayoutFriendlyURL findByPlid_First(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByPlid_First
public static LayoutFriendlyURL fetchByPlid_First(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByPlid_Last
public static LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByPlid_Last
public static LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ?.- Parameters:
plid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByPlid_PrevAndNext
public static LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where plid = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlplid
- the plidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByPlid
public static void removeByPlid(long plid) Removes all the layout friendly urls where plid = ? from the database.- Parameters:
plid
- the plid
-
countByPlid
public static int countByPlid(long plid) Returns the number of layout friendly urls where plid = ?.- Parameters:
plid
- the plid- Returns:
- the number of matching layout friendly urls
-
findByC_F
Returns all the layout friendly urls where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly url- Returns:
- the matching layout friendly urls
-
findByC_F
public static List<LayoutFriendlyURL> findByC_F(long companyId, String friendlyURL, int start, int end) Returns a range of all the layout friendly urls where companyId = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByC_F
public static List<LayoutFriendlyURL> findByC_F(long companyId, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where companyId = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByC_F
public static List<LayoutFriendlyURL> findByC_F(long companyId, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where companyId = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByC_F_First
public static LayoutFriendlyURL findByC_F_First(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByC_F_First
public static LayoutFriendlyURL fetchByC_F_First(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByC_F_Last
public static LayoutFriendlyURL findByC_F_Last(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByC_F_Last
public static LayoutFriendlyURL fetchByC_F_Last(long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByC_F_PrevAndNext
public static LayoutFriendlyURL[] findByC_F_PrevAndNext(long layoutFriendlyURLId, long companyId, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where companyId = ? and friendlyURL = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlcompanyId
- the company IDfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByC_F
Removes all the layout friendly urls where companyId = ? and friendlyURL = ? from the database.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly url
-
countByC_F
Returns the number of layout friendly urls where companyId = ? and friendlyURL = ?.- Parameters:
companyId
- the company IDfriendlyURL
- the friendly url- Returns:
- the number of matching layout friendly urls
-
findByP_F
Returns all the layout friendly urls where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly url- Returns:
- the matching layout friendly urls
-
findByP_F
Returns a range of all the layout friendly urls where plid = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByP_F
public static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where plid = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByP_F
public static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where plid = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByP_F_First
public static LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByP_F_First
public static LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByP_F_Last
public static LayoutFriendlyURL findByP_F_Last(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByP_F_Last
public static LayoutFriendlyURL fetchByP_F_Last(long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByP_F_PrevAndNext
public static LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where plid = ? and friendlyURL = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlplid
- the plidfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByP_F
Removes all the layout friendly urls where plid = ? and friendlyURL = ? from the database.- Parameters:
plid
- the plidfriendlyURL
- the friendly url
-
countByP_F
Returns the number of layout friendly urls where plid = ? and friendlyURL = ?.- Parameters:
plid
- the plidfriendlyURL
- the friendly url- Returns:
- the number of matching layout friendly urls
-
findByP_L
Returns all the layout friendly urls where plid = any ? and languageId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plids
- the plidslanguageId
- the language ID- Returns:
- the matching layout friendly urls
-
findByP_L
public static List<LayoutFriendlyURL> findByP_L(long[] plids, String languageId, int start, int end) Returns a range of all the layout friendly urls where plid = any ? and languageId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plids
- the plidslanguageId
- the language IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByP_L
public static List<LayoutFriendlyURL> findByP_L(long[] plids, String languageId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where plid = any ? and languageId = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plids
- the plidslanguageId
- the language IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByP_L
public static List<LayoutFriendlyURL> findByP_L(long[] plids, String languageId, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where plid = ? and languageId = ?, optionally using the finder cache.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
plids
- the plidslanguageId
- the language IDstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByP_L
public static LayoutFriendlyURL findByP_L(long plid, String languageId) throws NoSuchLayoutFriendlyURLException Returns the layout friendly url where plid = ? and languageId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.- Parameters:
plid
- the plidlanguageId
- the language ID- Returns:
- the matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByP_L
Returns the layout friendly url where plid = ? and languageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
plid
- the plidlanguageId
- the language ID- Returns:
- the matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
fetchByP_L
Returns the layout friendly url where plid = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
plid
- the plidlanguageId
- the language IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
removeByP_L
public static LayoutFriendlyURL removeByP_L(long plid, String languageId) throws NoSuchLayoutFriendlyURLException Removes the layout friendly url where plid = ? and languageId = ? from the database.- Parameters:
plid
- the plidlanguageId
- the language ID- Returns:
- the layout friendly url that was removed
- Throws:
NoSuchLayoutFriendlyURLException
-
countByP_L
Returns the number of layout friendly urls where plid = ? and languageId = ?.- Parameters:
plid
- the plidlanguageId
- the language ID- Returns:
- the number of matching layout friendly urls
-
countByP_L
Returns the number of layout friendly urls where plid = any ? and languageId = ?.- Parameters:
plids
- the plidslanguageId
- the language ID- Returns:
- the number of matching layout friendly urls
-
findByG_P_F
public static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) Returns all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the matching layout friendly urls
-
findByG_P_F
public static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end) Returns a range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of matching layout friendly urls
-
findByG_P_F
public static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching layout friendly urls
-
findByG_P_F
public static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlstart
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (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 friendly urls
-
findByG_P_F_First
public static LayoutFriendlyURL findByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the first layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByG_P_F_First
public static LayoutFriendlyURL fetchByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the first layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByG_P_F_Last
public static LayoutFriendlyURL findByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the last layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByG_P_F_Last
public static LayoutFriendlyURL fetchByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns the last layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
findByG_P_F_PrevAndNext
public static LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator<LayoutFriendlyURL> orderByComparator) throws NoSuchLayoutFriendlyURLException Returns the layout friendly urls before and after the current layout friendly url in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
layoutFriendlyURLId
- the primary key of the current layout friendly urlgroupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
removeByG_P_F
Removes all the layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url
-
countByG_P_F
Returns the number of layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly url- Returns:
- the number of matching layout friendly urls
-
findByG_P_F_L
public static LayoutFriendlyURL findByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws NoSuchLayoutFriendlyURLException Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws aNoSuchLayoutFriendlyURLException
if it could not be found.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urllanguageId
- the language ID- Returns:
- the matching layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a matching layout friendly url could not be foundNoSuchLayoutFriendlyURLException
-
fetchByG_P_F_L
public static LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urllanguageId
- the language ID- Returns:
- the matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
fetchByG_P_F_L
public static LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId, boolean useFinderCache) Returns the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urllanguageId
- the language IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching layout friendly url, or
null
if a matching layout friendly url could not be found
-
removeByG_P_F_L
public static LayoutFriendlyURL removeByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws NoSuchLayoutFriendlyURLException Removes the layout friendly url where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urllanguageId
- the language ID- Returns:
- the layout friendly url that was removed
- Throws:
NoSuchLayoutFriendlyURLException
-
countByG_P_F_L
public static int countByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) Returns the number of layout friendly urls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?.- Parameters:
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urllanguageId
- the language ID- Returns:
- the number of matching layout friendly urls
-
cacheResult
Caches the layout friendly url in the entity cache if it is enabled.- Parameters:
layoutFriendlyURL
- the layout friendly url
-
cacheResult
Caches the layout friendly urls in the entity cache if it is enabled.- Parameters:
layoutFriendlyURLs
- the layout friendly urls
-
create
Creates a new layout friendly url with the primary key. Does not add the layout friendly url to the database.- Parameters:
layoutFriendlyURLId
- the primary key for the new layout friendly url- Returns:
- the new layout friendly url
-
remove
public static LayoutFriendlyURL remove(long layoutFriendlyURLId) throws NoSuchLayoutFriendlyURLException Removes the layout friendly url with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
layoutFriendlyURLId
- the primary key of the layout friendly url- Returns:
- the layout friendly url that was removed
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
updateImpl
-
findByPrimaryKey
public static LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId) throws NoSuchLayoutFriendlyURLException Returns the layout friendly url with the primary key or throws aNoSuchLayoutFriendlyURLException
if it could not be found.- Parameters:
layoutFriendlyURLId
- the primary key of the layout friendly url- Returns:
- the layout friendly url
- Throws:
NoSuchLayoutFriendlyURLException
- if a layout friendly url with the primary key could not be foundNoSuchLayoutFriendlyURLException
-
fetchByPrimaryKey
Returns the layout friendly url with the primary key or returnsnull
if it could not be found.- Parameters:
layoutFriendlyURLId
- the primary key of the layout friendly url- Returns:
- the layout friendly url, or
null
if a layout friendly url with the primary key could not be found
-
findAll
Returns all the layout friendly urls.- Returns:
- the layout friendly urls
-
findAll
Returns a range of all the layout friendly urls.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
start
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)- Returns:
- the range of layout friendly urls
-
findAll
public static List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator) Returns an ordered range of all the layout friendly urls.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
start
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of layout friendly urls
-
findAll
public static List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator<LayoutFriendlyURL> orderByComparator, boolean useFinderCache) Returns an ordered range of all the layout friendly urls.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 fromLayoutFriendlyURLModelImpl
.- Parameters:
start
- the lower bound of the range of layout friendly urlsend
- the upper bound of the range of layout friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of layout friendly urls
-
removeAll
public static void removeAll()Removes all the layout friendly urls from the database. -
countAll
public static int countAll()Returns the number of layout friendly urls.- Returns:
- the number of layout friendly urls
-
getPersistence
-
setPersistence
-