@ProviderType
public class FriendlyURLEntryUtil
extends java.lang.Object
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryPersistenceImpl
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
FriendlyURLEntryPersistence
,
com.liferay.friendly.url.service.persistence.impl.FriendlyURLEntryPersistenceImpl
Constructor and Description |
---|
FriendlyURLEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(FriendlyURLEntry friendlyURLEntry)
Caches the friendly url entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<FriendlyURLEntry> friendlyURLEntries)
Caches the friendly url entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(FriendlyURLEntry friendlyURLEntry) |
static int |
countAll()
Returns the number of friendly url entries.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of friendly url entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of friendly url entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of friendly url entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static FriendlyURLEntry |
create(long friendlyURLEntryId)
Creates a new friendly url entry with the primary key.
|
static FriendlyURLEntry |
fetchByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static FriendlyURLEntry |
fetchByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static FriendlyURLEntry |
fetchByPrimaryKey(long friendlyURLEntryId)
Returns the friendly url entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,FriendlyURLEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static FriendlyURLEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
static FriendlyURLEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
static FriendlyURLEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ?.
|
static FriendlyURLEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the friendly url entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static FriendlyURLEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the friendly url entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static FriendlyURLEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findAll()
Returns all the friendly url entries.
|
static java.util.List<FriendlyURLEntry> |
findAll(int start,
int end)
Returns a range of all the friendly url entries.
|
static java.util.List<FriendlyURLEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries.
|
static java.util.List<FriendlyURLEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries.
|
static FriendlyURLEntry |
findByG_C_C_First(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static FriendlyURLEntry |
findByG_C_C_Last(long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static FriendlyURLEntry[] |
findByG_C_C_PrevAndNext(long friendlyURLEntryId,
long groupId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end)
Returns a range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
static java.util.List<FriendlyURLEntry> |
findByG_C_C(long groupId,
long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where groupId = ? and classNameId = ? and classPK = ?.
|
static FriendlyURLEntry |
findByPrimaryKey(long friendlyURLEntryId)
Returns the friendly url entry with the primary key or throws a
NoSuchFriendlyURLEntryException if it could not be found. |
static FriendlyURLEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
static FriendlyURLEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
static FriendlyURLEntry[] |
findByUuid_C_PrevAndNext(long friendlyURLEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the friendly url entries where uuid = ? and companyId = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the friendly url entries where uuid = ? and companyId = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where uuid = ? and companyId = ?.
|
static FriendlyURLEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the first friendly url entry in the ordered set where uuid = ?.
|
static FriendlyURLEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the friendly url entry where uuid = ? and groupId = ? or throws a
NoSuchFriendlyURLEntryException if it could not be found. |
static FriendlyURLEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the last friendly url entry in the ordered set where uuid = ?.
|
static FriendlyURLEntry[] |
findByUuid_PrevAndNext(long friendlyURLEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns the friendly url entries before and after the current friendly url entry in the ordered set where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid)
Returns all the friendly url entries where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the friendly url entries where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
Returns an ordered range of all the friendly url entries where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the friendly url entries where uuid = ?.
|
static java.util.List<FriendlyURLEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<FriendlyURLEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<FriendlyURLEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static FriendlyURLEntryPersistence |
getPersistence() |
static FriendlyURLEntry |
remove(long friendlyURLEntryId)
Removes the friendly url entry with the primary key from the database.
|
static void |
removeAll()
Removes all the friendly url entries from the database.
|
static void |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes all the friendly url entries where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the friendly url entries where uuid = ? and companyId = ? from the database.
|
static FriendlyURLEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the friendly url entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the friendly url entries where uuid = ? from the database.
|
static FriendlyURLEntry |
update(FriendlyURLEntry friendlyURLEntry) |
static FriendlyURLEntry |
update(FriendlyURLEntry friendlyURLEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static FriendlyURLEntry |
updateImpl(FriendlyURLEntry friendlyURLEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(FriendlyURLEntry friendlyURLEntry)
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.List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<FriendlyURLEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static FriendlyURLEntry update(FriendlyURLEntry friendlyURLEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static FriendlyURLEntry update(FriendlyURLEntry friendlyURLEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)public static java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static FriendlyURLEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry[] findByUuid_PrevAndNext(long friendlyURLEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url entry 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 FriendlyURLEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLEntryException
NoSuchFriendlyURLEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry 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 friendly url entry could not be foundpublic static FriendlyURLEntry 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 friendly url entry could not be foundpublic static FriendlyURLEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchFriendlyURLEntryException
uuid
- the uuidgroupId
- the group IDNoSuchFriendlyURLEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)public static java.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static FriendlyURLEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry[] findByUuid_C_PrevAndNext(long friendlyURLEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url entry 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<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static java.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, 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 FriendlyURLEntryModelImpl
. 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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)public static java.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntry> findByG_C_C(long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static FriendlyURLEntry findByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByG_C_C_First(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry findByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a matching friendly url entry could not be foundpublic static FriendlyURLEntry fetchByG_C_C_Last(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching friendly url entry could not be foundpublic static FriendlyURLEntry[] findByG_C_C_PrevAndNext(long friendlyURLEntryId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> orderByComparator) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the current friendly url entrygroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundpublic static void removeByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static void cacheResult(FriendlyURLEntry friendlyURLEntry)
friendlyURLEntry
- the friendly url entrypublic static void cacheResult(java.util.List<FriendlyURLEntry> friendlyURLEntries)
friendlyURLEntries
- the friendly url entriespublic static FriendlyURLEntry create(long friendlyURLEntryId)
friendlyURLEntryId
- the primary key for the new friendly url entrypublic static FriendlyURLEntry remove(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException
friendlyURLEntryId
- the primary key of the friendly url entryNoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundpublic static FriendlyURLEntry updateImpl(FriendlyURLEntry friendlyURLEntry)
public static FriendlyURLEntry findByPrimaryKey(long friendlyURLEntryId) throws NoSuchFriendlyURLEntryException
NoSuchFriendlyURLEntryException
if it could not be found.friendlyURLEntryId
- the primary key of the friendly url entryNoSuchFriendlyURLEntryException
- if a friendly url entry with the primary key could not be foundpublic static FriendlyURLEntry fetchByPrimaryKey(long friendlyURLEntryId)
null
if it could not be found.friendlyURLEntryId
- the primary key of the friendly url entrynull
if a friendly url entry with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,FriendlyURLEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<FriendlyURLEntry> findAll()
public static java.util.List<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)public static java.util.List<FriendlyURLEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<FriendlyURLEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<FriendlyURLEntry> 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 FriendlyURLEntryModelImpl
. 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 friendly url entriesend
- the upper bound of the range of friendly url entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static FriendlyURLEntryPersistence getPersistence()