@ProviderType public interface SiteFriendlyURLPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<SiteFriendlyURL>
Caching information and settings can be found in portal.properties
SiteFriendlyURLUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<SiteFriendlyURL> siteFriendlyURLs)
Caches the site friendly urls in the entity cache if it is enabled.
|
void |
cacheResult(SiteFriendlyURL siteFriendlyURL)
Caches the site friendly url in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of site friendly urls.
|
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 = ?.
|
int |
countByC_F(long companyId,
java.lang.String friendlyURL)
Returns the number of site friendly urls where companyId = ? and friendlyURL = ?.
|
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 = ?.
|
int |
countByC_G(long companyId,
long groupId)
Returns the number of site friendly urls where companyId = ? and groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of site friendly urls where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of site friendly urls where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of site friendly urls where uuid = ?.
|
SiteFriendlyURL |
create(long siteFriendlyURLId)
Creates a new site friendly url with the primary key.
|
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. |
SiteFriendlyURL |
fetchByC_F_L(long companyId,
java.lang.String friendlyURL,
java.lang.String languageId,
boolean retrieveFromCache)
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. |
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. |
SiteFriendlyURL |
fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
Returns the site friendly url where companyId = ? and friendlyURL = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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. |
SiteFriendlyURL |
fetchByC_G_L(long companyId,
long groupId,
java.lang.String languageId,
boolean retrieveFromCache)
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. |
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 = ?.
|
SiteFriendlyURL |
fetchByPrimaryKey(long siteFriendlyURLId)
Returns the site friendly url with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
SiteFriendlyURL |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the site friendly url where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findAll()
Returns all the site friendly urls.
|
java.util.List<SiteFriendlyURL> |
findAll(int start,
int end)
Returns a range of all the site friendly urls.
|
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.
|
java.util.List<SiteFriendlyURL> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the site friendly urls.
|
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. |
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. |
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId)
Returns all the site friendly urls where companyId = ? and groupId = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findByC_G(long companyId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the site friendly urls where companyId = ? and groupId = ?.
|
SiteFriendlyURL |
findByPrimaryKey(long siteFriendlyURLId)
Returns the site friendly url with the primary key or throws a
NoSuchFriendlyURLException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the site friendly urls where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the site friendly urls where uuid = ? and companyId = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid)
Returns all the site friendly urls where uuid = ?.
|
java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the site friendly urls where uuid = ?.
|
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 = ?.
|
java.util.List<SiteFriendlyURL> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the site friendly urls where uuid = ?.
|
SiteFriendlyURL |
remove(long siteFriendlyURLId)
Removes the site friendly url with the primary key from the database.
|
void |
removeAll()
Removes all the site friendly urls from the database.
|
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.
|
SiteFriendlyURL |
removeByC_F(long companyId,
java.lang.String friendlyURL)
Removes the site friendly url where companyId = ? and friendlyURL = ? from the database.
|
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.
|
void |
removeByC_G(long companyId,
long groupId)
Removes all the site friendly urls where companyId = ? and groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the site friendly urls where uuid = ? and companyId = ? from the database.
|
SiteFriendlyURL |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the site friendly url where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the site friendly urls where uuid = ? from the database.
|
SiteFriendlyURL |
updateImpl(SiteFriendlyURL siteFriendlyURL) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<SiteFriendlyURL> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching site friendly url could not be foundSiteFriendlyURL removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLException
uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<SiteFriendlyURL> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<SiteFriendlyURL> findByC_G(long companyId, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cacheSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL[] 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 foundvoid removeByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDint countByC_G(long companyId, long groupId)
companyId
- the company IDgroupId
- the group IDSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL fetchByC_F(long companyId, java.lang.String friendlyURL, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDfriendlyURL
- the friendly urlretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching site friendly url could not be foundSiteFriendlyURL removeByC_F(long companyId, java.lang.String friendlyURL) throws NoSuchFriendlyURLException
companyId
- the company IDfriendlyURL
- the friendly urlNoSuchFriendlyURLException
int countByC_F(long companyId, java.lang.String friendlyURL)
companyId
- the company IDfriendlyURL
- the friendly urlSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL fetchByC_G_L(long companyId, long groupId, java.lang.String languageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching site friendly url could not be foundSiteFriendlyURL removeByC_G_L(long companyId, long groupId, java.lang.String languageId) throws NoSuchFriendlyURLException
companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDNoSuchFriendlyURLException
int countByC_G_L(long companyId, long groupId, java.lang.String languageId)
companyId
- the company IDgroupId
- the group IDlanguageId
- the language IDSiteFriendlyURL 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 foundSiteFriendlyURL 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 foundSiteFriendlyURL fetchByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching site friendly url could not be foundSiteFriendlyURL 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
int countByC_F_L(long companyId, java.lang.String friendlyURL, java.lang.String languageId)
companyId
- the company IDfriendlyURL
- the friendly urllanguageId
- the language IDvoid cacheResult(SiteFriendlyURL siteFriendlyURL)
siteFriendlyURL
- the site friendly urlvoid cacheResult(java.util.List<SiteFriendlyURL> siteFriendlyURLs)
siteFriendlyURLs
- the site friendly urlsSiteFriendlyURL create(long siteFriendlyURLId)
siteFriendlyURLId
- the primary key for the new site friendly urlSiteFriendlyURL 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 foundSiteFriendlyURL updateImpl(SiteFriendlyURL siteFriendlyURL)
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 foundSiteFriendlyURL 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 foundjava.util.List<SiteFriendlyURL> findAll()
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of site friendly urlsend
- the upper bound of the range of site friendly urls (not inclusive)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)java.util.List<SiteFriendlyURL> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<SiteFriendlyURL> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from SiteFriendlyURLModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()