public class SiteFriendlyURLUtil
extends java.lang.Object
com.liferay.site.service.persistence.impl.SiteFriendlyURLPersistenceImpl
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
SiteFriendlyURLPersistence
Constructor and Description |
---|
SiteFriendlyURLUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<SiteFriendlyURL> siteFriendlyURLs)
Caches the site friendly urls in the entity cache if it is enabled.
|
static void |
cacheResult(SiteFriendlyURL siteFriendlyURL)
Caches the site friendly url in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(SiteFriendlyURL siteFriendlyURL) |
static int |
countAll()
Returns the number of site friendly urls.
|
static int |
countByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId)
Returns the number of site friendly urls where companyId = ? and friendlyURL = ? and languageId = ?.
|
static int |
countByC_F(long companyId,
java.lang.String friendlyURL)
Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.
|
static int |
countByC_G_L(long companyId,
long groupId,
java.lang.String languageId)
Returns the number of site friendly urls where companyId = ? and groupId = ? and languageId = ?.
|
static int |
countByC_G(long companyId,
long groupId)
Returns the number of site friendly urls where companyId = ? and groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of site friendly urls where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of site friendly urls where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of site friendly urls where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static SiteFriendlyURL |
create(long siteFriendlyURLId)
Creates a new site friendly url with the primary key.
|
static SiteFriendlyURL |
fetchByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId)
Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returns
null if it could not be found. |
static SiteFriendlyURL |
fetchByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId,
boolean useFinderCache)
Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteFriendlyURL |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
Returns the site friendly url where companyId = ? and friendlyURL = ? or returns
null if it could not be found. |
static SiteFriendlyURL |
fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean useFinderCache)
Returns the site friendly url where companyId = ? and friendlyURL = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteFriendlyURL |
fetchByC_G_First(long companyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where companyId = ? and groupId = ?.
|
static SiteFriendlyURL |
fetchByC_G_L(long companyId,
long groupId,
java.lang.String languageId)
Returns the site friendly url where companyId = ? and groupId = ? and languageId = ? or returns
null if it could not be found. |
static SiteFriendlyURL |
fetchByC_G_L(long companyId,
long groupId,
java.lang.String languageId,
boolean useFinderCache)
Returns the site friendly url where companyId = ? and groupId = ? and languageId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteFriendlyURL |
fetchByC_G_Last(long companyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where companyId = ? and groupId = ?.
|
static SiteFriendlyURL |
fetchByPrimaryKey(long siteFriendlyURLId)
Returns the site friendly url with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,SiteFriendlyURL> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static SiteFriendlyURL |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where uuid = ? and companyId = ?.
|
static SiteFriendlyURL |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where uuid = ? and companyId = ?.
|
static SiteFriendlyURL |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where uuid = ?.
|
static SiteFriendlyURL |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the site friendly url where uuid = ? and groupId = ? or returns
null if it could not be found. |
static SiteFriendlyURL |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the site friendly url where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static SiteFriendlyURL |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findAll()
Returns all the site friendly urls.
|
static java.util.List<SiteFriendlyURL> |
findAll(int start,
int end)
Returns a range of all the site friendly urls.
|
static java.util.List<SiteFriendlyURL> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns an ordered range of all the site friendly urls.
|
static java.util.List<SiteFriendlyURL> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site friendly urls.
|
static SiteFriendlyURL |
findByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId)
Returns the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? or throws a
NoSuchFriendlyURLException if it could not be found. |
static SiteFriendlyURL |
findByC_F(long companyId,
java.lang.String friendlyURL)
Returns the site friendly url where companyId = ? and friendlyURL = ? or throws a
NoSuchFriendlyURLException if it could not be found. |
static SiteFriendlyURL |
findByC_G_First(long companyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where companyId = ? and groupId = ?.
|
static SiteFriendlyURL |
findByC_G_L(long companyId,
long groupId,
java.lang.String languageId)
Returns the site friendly url where companyId = ? and groupId = ? and languageId = ? or throws a
NoSuchFriendlyURLException if it could not be found. |
static SiteFriendlyURL |
findByC_G_Last(long companyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where companyId = ? and groupId = ?.
|
static SiteFriendlyURL[] |
findByC_G_PrevAndNext(long siteFriendlyURLId,
long companyId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the site friendly urls before and after the current site friendly url in the ordered set where companyId = ? and groupId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId)
Returns all the site friendly urls where companyId = ? and groupId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId,
int start,
int end)
Returns a range of all the site friendly urls where companyId = ? and groupId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns an ordered range of all the site friendly urls where companyId = ? and groupId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site friendly urls where companyId = ? and groupId = ?.
|
static SiteFriendlyURL |
findByPrimaryKey(long siteFriendlyURLId)
Returns the site friendly url with the primary key or throws a
NoSuchFriendlyURLException if it could not be found. |
static SiteFriendlyURL |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where uuid = ? and companyId = ?.
|
static SiteFriendlyURL |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where uuid = ? and companyId = ?.
|
static SiteFriendlyURL[] |
findByUuid_C_PrevAndNext(long siteFriendlyURLId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the site friendly urls where uuid = ? and companyId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the site friendly urls where uuid = ? and companyId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.
|
static SiteFriendlyURL |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the first site friendly url in the ordered set where uuid = ?.
|
static SiteFriendlyURL |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the site friendly url where uuid = ? and groupId = ? or throws a
NoSuchFriendlyURLException if it could not be found. |
static SiteFriendlyURL |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the last site friendly url in the ordered set where uuid = ?.
|
static SiteFriendlyURL[] |
findByUuid_PrevAndNext(long siteFriendlyURLId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns the site friendly urls before and after the current site friendly url in the ordered set where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid)
Returns all the site friendly urls where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the site friendly urls where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Returns an ordered range of all the site friendly urls where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the site friendly urls where uuid = ?.
|
static java.util.List<SiteFriendlyURL> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<SiteFriendlyURL> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<SiteFriendlyURL> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) |
static SiteFriendlyURLPersistence |
getPersistence() |
static SiteFriendlyURL |
remove(long siteFriendlyURLId)
Removes the site friendly url with the primary key from the database.
|
static void |
removeAll()
Removes all the site friendly urls from the database.
|
static SiteFriendlyURL |
removeByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId)
Removes the site friendly url where companyId = ? and friendlyURL = ? and languageId = ? from the database.
|
static SiteFriendlyURL |
removeByC_F(long companyId,
java.lang.String friendlyURL)
Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.
|
static SiteFriendlyURL |
removeByC_G_L(long companyId,
long groupId,
java.lang.String languageId)
Removes the site friendly url where companyId = ? and groupId = ? and languageId = ? from the database.
|
static void |
removeByC_G(long companyId,
long groupId)
Removes all the site friendly urls where companyId = ? and groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the site friendly urls where uuid = ? and companyId = ? from the database.
|
static SiteFriendlyURL |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the site friendly url where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the site friendly urls where uuid = ? from the database.
|
static SiteFriendlyURL |
update(SiteFriendlyURL siteFriendlyURL) |
static SiteFriendlyURL |
update(SiteFriendlyURL siteFriendlyURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static SiteFriendlyURL |
updateImpl(SiteFriendlyURL siteFriendlyURL) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SiteFriendlyURL siteFriendlyURL)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,SiteFriendlyURL> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<SiteFriendlyURL> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SiteFriendlyURL update(SiteFriendlyURL siteFriendlyURL)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static SiteFriendlyURL update(SiteFriendlyURL siteFriendlyURL, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)public static java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteFriendlyURL findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL[] findByUuid_PrevAndNext(long siteFriendlyURLId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
siteFriendlyURLId
- the primary key of the current site friendly urluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a site friendly url with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static SiteFriendlyURL findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLException
NoSuchFriendlyURLException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLException
uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<SiteFriendlyURL> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SiteFriendlyURL> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)public static java.util.List<SiteFriendlyURL> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteFriendlyURL> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteFriendlyURL findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL[] findByUuid_C_PrevAndNext(long siteFriendlyURLId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
siteFriendlyURLId
- the primary key of the current site friendly urluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a site friendly url with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDpublic static java.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
companyId
- the company IDgroupId
- the group IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)public static java.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
companyId
- the company IDgroupId
- the group IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
companyId
- the company IDgroupId
- the group IDstart
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static SiteFriendlyURL findByC_G_First(long companyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
companyId
- the company IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_G_First(long companyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
companyId
- the company IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL findByC_G_Last(long companyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
companyId
- the company IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_G_Last(long companyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
companyId
- the company IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching site friendly url could not be foundpublic static SiteFriendlyURL[] findByC_G_PrevAndNext(long siteFriendlyURLId, long companyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator) throws NoSuchFriendlyURLException
siteFriendlyURLId
- the primary key of the current site friendly urlcompanyId
- the company IDgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLException
- if a site friendly url with the primary key could not be foundpublic static void removeByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDpublic static int countByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDpublic static SiteFriendlyURL findByC_F(long companyId, java.lang.String friendlyURL) throws NoSuchFriendlyURLException
NoSuchFriendlyURLException
if it could not be found.companyId
- the company IDfriendlyURL
- the friendly urlNoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_F(long companyId, java.lang.String friendlyURL)
null
if it could not be found. Uses the finder cache.companyId
- the company IDfriendlyURL
- the friendly urlnull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_F(long companyId, java.lang.String friendlyURL, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDfriendlyURL
- the friendly urluseFinderCache
- whether to use the finder cachenull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL removeByC_F(long companyId, java.lang.String friendlyURL) throws NoSuchFriendlyURLException
companyId
- the company IDfriendlyURL
- the friendly urlNoSuchFriendlyURLException
public static int countByC_F(long companyId, java.lang.String friendlyURL)
companyId
- the company IDfriendlyURL
- the friendly urlpublic static SiteFriendlyURL findByC_G_L(long companyId, long groupId, java.lang.String languageId) throws NoSuchFriendlyURLException
NoSuchFriendlyURLException
if it could not be found.companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDNoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_G_L(long companyId, long groupId, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDnull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_G_L(long companyId, long groupId, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL removeByC_G_L(long companyId, long groupId, java.lang.String languageId) throws NoSuchFriendlyURLException
companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDNoSuchFriendlyURLException
public static int countByC_G_L(long companyId, long groupId, java.lang.String languageId)
companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDpublic static SiteFriendlyURL findByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId) throws NoSuchFriendlyURLException
NoSuchFriendlyURLException
if it could not be found.companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDNoSuchFriendlyURLException
- if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId)
null
if it could not be found. Uses the finder cache.companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDnull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL fetchByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDuseFinderCache
- whether to use the finder cachenull
if a matching site friendly url could not be foundpublic static SiteFriendlyURL removeByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId) throws NoSuchFriendlyURLException
companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDNoSuchFriendlyURLException
public static int countByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId)
companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDpublic static void cacheResult(SiteFriendlyURL siteFriendlyURL)
siteFriendlyURL
- the site friendly urlpublic static void cacheResult(java.util.List<SiteFriendlyURL> siteFriendlyURLs)
siteFriendlyURLs
- the site friendly urlspublic static SiteFriendlyURL create(long siteFriendlyURLId)
siteFriendlyURLId
- the primary key for the new site friendly urlpublic static SiteFriendlyURL remove(long siteFriendlyURLId) throws NoSuchFriendlyURLException
siteFriendlyURLId
- the primary key of the site friendly urlNoSuchFriendlyURLException
- if a site friendly url with the primary key could not be foundpublic static SiteFriendlyURL updateImpl(SiteFriendlyURL siteFriendlyURL)
public static SiteFriendlyURL findByPrimaryKey(long siteFriendlyURLId) throws NoSuchFriendlyURLException
NoSuchFriendlyURLException
if it could not be found.siteFriendlyURLId
- the primary key of the site friendly urlNoSuchFriendlyURLException
- if a site friendly url with the primary key could not be foundpublic static SiteFriendlyURL fetchByPrimaryKey(long siteFriendlyURLId)
null
if it could not be found.siteFriendlyURLId
- the primary key of the site friendly urlnull
if a site friendly url with the primary key could not be foundpublic static java.util.List<SiteFriendlyURL> findAll()
public static java.util.List<SiteFriendlyURL> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
start
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)public static java.util.List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
start
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
.
start
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static SiteFriendlyURLPersistence getPersistence()