|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.LayoutFriendlyURLUtil
@ProviderType public class LayoutFriendlyURLUtil
The persistence utility for the layout friendly u r l service. This utility wraps LayoutFriendlyURLPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
LayoutFriendlyURLPersistence
,
LayoutFriendlyURLPersistenceImpl
Constructor Summary | |
---|---|
LayoutFriendlyURLUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(LayoutFriendlyURL layoutFriendlyURL)
Caches the layout friendly u r l in the entity cache if it is enabled. |
static void |
cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
Caches the layout friendly u r ls in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(LayoutFriendlyURL layoutFriendlyURL)
|
static int |
countAll()
Returns the number of layout friendly u r ls. |
static int |
countByCompanyId(long companyId)
Returns the number of layout friendly u r ls where companyId = ?. |
static int |
countByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ?. |
static int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static int |
countByGroupId(long groupId)
Returns the number of layout friendly u r ls where groupId = ?. |
static int |
countByP_F(long plid,
String friendlyURL)
Returns the number of layout friendly u r ls where plid = ? and friendlyURL = ?. |
static int |
countByP_L(long plid,
String languageId)
Returns the number of layout friendly u r ls where plid = ? and languageId = ?. |
static int |
countByPlid(long plid)
Returns the number of layout friendly u r ls where plid = ?. |
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layout friendly u r ls where uuid = ? and companyId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Returns the number of layout friendly u r ls where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Returns the number of layout friendly u r ls where uuid = ?. |
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static LayoutFriendlyURL |
create(long layoutFriendlyURLId)
Creates a new layout friendly u r l with the primary key. |
static LayoutFriendlyURL |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where companyId = ?. |
static LayoutFriendlyURL |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where companyId = ?. |
static LayoutFriendlyURL |
fetchByG_P_F_First(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
fetchByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found. |
static LayoutFriendlyURL |
fetchByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId,
boolean retrieveFromCache)
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache. |
static LayoutFriendlyURL |
fetchByG_P_F_Last(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ?. |
static LayoutFriendlyURL |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ?. |
static LayoutFriendlyURL |
fetchByP_F_First(long plid,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
fetchByP_F_Last(long plid,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
fetchByP_L(long plid,
String languageId)
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found. |
static LayoutFriendlyURL |
fetchByP_L(long plid,
String languageId,
boolean retrieveFromCache)
Returns the layout friendly u r l where plid = ? and languageId = ? or returns null if it could not be found, optionally using the finder cache. |
static LayoutFriendlyURL |
fetchByPlid_First(long plid,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ?. |
static LayoutFriendlyURL |
fetchByPlid_Last(long plid,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ?. |
static LayoutFriendlyURL |
fetchByPrimaryKey(long layoutFriendlyURLId)
Returns the layout friendly u r l with the primary key or returns null if it could not be found. |
static LayoutFriendlyURL |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?. |
static LayoutFriendlyURL |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?. |
static LayoutFriendlyURL |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ?. |
static LayoutFriendlyURL |
fetchByUUID_G(String uuid,
long groupId)
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found. |
static LayoutFriendlyURL |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the layout friendly u r l where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static LayoutFriendlyURL |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ?. |
static List<LayoutFriendlyURL> |
findAll()
Returns all the layout friendly u r ls. |
static List<LayoutFriendlyURL> |
findAll(int start,
int end)
Returns a range of all the layout friendly u r ls. |
static List<LayoutFriendlyURL> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls. |
static LayoutFriendlyURL |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where companyId = ?. |
static LayoutFriendlyURL |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where companyId = ?. |
static LayoutFriendlyURL[] |
findByCompanyId_PrevAndNext(long layoutFriendlyURLId,
long companyId,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where companyId = ?. |
static List<LayoutFriendlyURL> |
findByCompanyId(long companyId)
Returns all the layout friendly u r ls where companyId = ?. |
static List<LayoutFriendlyURL> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout friendly u r ls where companyId = ?. |
static List<LayoutFriendlyURL> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where companyId = ?. |
static LayoutFriendlyURL |
findByG_P_F_First(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
findByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
Returns the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found. |
static LayoutFriendlyURL |
findByG_P_F_Last(long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static LayoutFriendlyURL[] |
findByG_P_F_PrevAndNext(long layoutFriendlyURLId,
long groupId,
boolean privateLayout,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
int start,
int end)
Returns a range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where groupId = ?. |
static LayoutFriendlyURL |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where groupId = ?. |
static LayoutFriendlyURL[] |
findByGroupId_PrevAndNext(long layoutFriendlyURLId,
long groupId,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where groupId = ?. |
static List<LayoutFriendlyURL> |
findByGroupId(long groupId)
Returns all the layout friendly u r ls where groupId = ?. |
static List<LayoutFriendlyURL> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout friendly u r ls where groupId = ?. |
static List<LayoutFriendlyURL> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where groupId = ?. |
static LayoutFriendlyURL |
findByP_F_First(long plid,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
findByP_F_Last(long plid,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. |
static LayoutFriendlyURL[] |
findByP_F_PrevAndNext(long layoutFriendlyURLId,
long plid,
String friendlyURL,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByP_F(long plid,
String friendlyURL)
Returns all the layout friendly u r ls where plid = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByP_F(long plid,
String friendlyURL,
int start,
int end)
Returns a range of all the layout friendly u r ls where plid = ? and friendlyURL = ?. |
static List<LayoutFriendlyURL> |
findByP_F(long plid,
String friendlyURL,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where plid = ? and friendlyURL = ?. |
static LayoutFriendlyURL |
findByP_L(long plid,
String languageId)
Returns the layout friendly u r l where plid = ? and languageId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found. |
static LayoutFriendlyURL |
findByPlid_First(long plid,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where plid = ?. |
static LayoutFriendlyURL |
findByPlid_Last(long plid,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where plid = ?. |
static LayoutFriendlyURL[] |
findByPlid_PrevAndNext(long layoutFriendlyURLId,
long plid,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where plid = ?. |
static List<LayoutFriendlyURL> |
findByPlid(long plid)
Returns all the layout friendly u r ls where plid = ?. |
static List<LayoutFriendlyURL> |
findByPlid(long plid,
int start,
int end)
Returns a range of all the layout friendly u r ls where plid = ?. |
static List<LayoutFriendlyURL> |
findByPlid(long plid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where plid = ?. |
static LayoutFriendlyURL |
findByPrimaryKey(long layoutFriendlyURLId)
Returns the layout friendly u r l with the primary key or throws a NoSuchLayoutFriendlyURLException if it could not be found. |
static LayoutFriendlyURL |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ? and companyId = ?. |
static LayoutFriendlyURL |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ? and companyId = ?. |
static LayoutFriendlyURL[] |
findByUuid_C_PrevAndNext(long layoutFriendlyURLId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ? and companyId = ?. |
static List<LayoutFriendlyURL> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout friendly u r ls where uuid = ? and companyId = ?. |
static List<LayoutFriendlyURL> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout friendly u r ls where uuid = ? and companyId = ?. |
static List<LayoutFriendlyURL> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where uuid = ? and companyId = ?. |
static LayoutFriendlyURL |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout friendly u r l in the ordered set where uuid = ?. |
static LayoutFriendlyURL |
findByUUID_G(String uuid,
long groupId)
Returns the layout friendly u r l where uuid = ? and groupId = ? or throws a NoSuchLayoutFriendlyURLException if it could not be found. |
static LayoutFriendlyURL |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout friendly u r l in the ordered set where uuid = ?. |
static LayoutFriendlyURL[] |
findByUuid_PrevAndNext(long layoutFriendlyURLId,
String uuid,
OrderByComparator orderByComparator)
Returns the layout friendly u r ls before and after the current layout friendly u r l in the ordered set where uuid = ?. |
static List<LayoutFriendlyURL> |
findByUuid(String uuid)
Returns all the layout friendly u r ls where uuid = ?. |
static List<LayoutFriendlyURL> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout friendly u r ls where uuid = ?. |
static List<LayoutFriendlyURL> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout friendly u r ls where uuid = ?. |
static List<LayoutFriendlyURL> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<LayoutFriendlyURL> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<LayoutFriendlyURL> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static LayoutFriendlyURLPersistence |
getPersistence()
|
static LayoutFriendlyURL |
remove(long layoutFriendlyURLId)
Removes the layout friendly u r l with the primary key from the database. |
static void |
removeAll()
Removes all the layout friendly u r ls from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the layout friendly u r ls where companyId = ? from the database. |
static LayoutFriendlyURL |
removeByG_P_F_L(long groupId,
boolean privateLayout,
String friendlyURL,
String languageId)
Removes the layout friendly u r l where groupId = ? and privateLayout = ? and friendlyURL = ? and languageId = ? from the database. |
static void |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes all the layout friendly u r ls where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the layout friendly u r ls where groupId = ? from the database. |
static void |
removeByP_F(long plid,
String friendlyURL)
Removes all the layout friendly u r ls where plid = ? and friendlyURL = ? from the database. |
static LayoutFriendlyURL |
removeByP_L(long plid,
String languageId)
Removes the layout friendly u r l where plid = ? and languageId = ? from the database. |
static void |
removeByPlid(long plid)
Removes all the layout friendly u r ls where plid = ? from the database. |
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layout friendly u r ls where uuid = ? and companyId = ? from the database. |
static LayoutFriendlyURL |
removeByUUID_G(String uuid,
long groupId)
Removes the layout friendly u r l where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the layout friendly u r ls where uuid = ? from the database. |
void |
setPersistence(LayoutFriendlyURLPersistence persistence)
Deprecated. As of 6.2.0 |
static LayoutFriendlyURL |
update(LayoutFriendlyURL layoutFriendlyURL)
|
static LayoutFriendlyURL |
update(LayoutFriendlyURL layoutFriendlyURL,
ServiceContext serviceContext)
|
static LayoutFriendlyURL |
updateImpl(LayoutFriendlyURL layoutFriendlyURL)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutFriendlyURLUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutFriendlyURL layoutFriendlyURL)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<LayoutFriendlyURL> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel)
public static LayoutFriendlyURL update(LayoutFriendlyURL layoutFriendlyURL, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<LayoutFriendlyURL> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByUuid_PrevAndNext(long layoutFriendlyURLId, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r luuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static int countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByUUID_G(String uuid, long groupId) throws NoSuchLayoutFriendlyURLException, SystemException
NoSuchLayoutFriendlyURLException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL removeByUUID_G(String uuid, long groupId) throws NoSuchLayoutFriendlyURLException, SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchLayoutFriendlyURLException
public static int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByUuid_C_PrevAndNext(long layoutFriendlyURLId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r luuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByGroupId_PrevAndNext(long layoutFriendlyURLId, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r lgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static int countByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByCompanyId_PrevAndNext(long layoutFriendlyURLId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r lcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static int countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByPlid(long plid) throws SystemException
plid
- the plid
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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.
plid
- the plidstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByPlid(long plid, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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.
plid
- the plidstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByPlid_First(long plid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByPlid_First(long plid, OrderByComparator orderByComparator) throws SystemException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByPlid_Last(long plid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByPlid_Last(long plid, OrderByComparator orderByComparator) throws SystemException
plid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByPlid_PrevAndNext(long layoutFriendlyURLId, long plid, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r lplid
- the plidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByPlid(long plid) throws SystemException
plid
- the plid
SystemException
- if a system exception occurredpublic static int countByPlid(long plid) throws SystemException
plid
- the plid
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL) throws SystemException
plid
- the plidfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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.
plid
- the plidfriendlyURL
- the friendly u r lstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByP_F(long plid, String friendlyURL, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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.
plid
- the plidfriendlyURL
- the friendly u r lstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
plid
- the plidfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByP_F_First(long plid, String friendlyURL, OrderByComparator orderByComparator) throws SystemException
plid
- the plidfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
plid
- the plidfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByP_F_Last(long plid, String friendlyURL, OrderByComparator orderByComparator) throws SystemException
plid
- the plidfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByP_F_PrevAndNext(long layoutFriendlyURLId, long plid, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r lplid
- the plidfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByP_F(long plid, String friendlyURL) throws SystemException
plid
- the plidfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static int countByP_F(long plid, String friendlyURL) throws SystemException
plid
- the plidfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByP_L(long plid, String languageId) throws NoSuchLayoutFriendlyURLException, SystemException
NoSuchLayoutFriendlyURLException
if it could not be found.
plid
- the plidlanguageId
- the language ID
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByP_L(long plid, String languageId) throws SystemException
null
if it could not be found. Uses the finder cache.
plid
- the plidlanguageId
- the language ID
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByP_L(long plid, String languageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
plid
- the plidlanguageId
- the language IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL removeByP_L(long plid, String languageId) throws NoSuchLayoutFriendlyURLException, SystemException
plid
- the plidlanguageId
- the language ID
SystemException
- if a system exception occurred
NoSuchLayoutFriendlyURLException
public static int countByP_L(long plid, String languageId) throws SystemException
plid
- the plidlanguageId
- the language ID
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findByG_P_F(long groupId, boolean privateLayout, String friendlyURL, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lstart
- the lower bound of the range of layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByG_P_F_First(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByG_P_F_Last(long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL[] findByG_P_F_PrevAndNext(long layoutFriendlyURLId, long groupId, boolean privateLayout, String friendlyURL, OrderByComparator orderByComparator) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the current layout friendly u r lgroupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r lorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL findByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws NoSuchLayoutFriendlyURLException, SystemException
NoSuchLayoutFriendlyURLException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r llanguageId
- the language ID
NoSuchLayoutFriendlyURLException
- if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r llanguageId
- the language ID
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r llanguageId
- the language IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout friendly u r l could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL removeByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws NoSuchLayoutFriendlyURLException, SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r llanguageId
- the language ID
SystemException
- if a system exception occurred
NoSuchLayoutFriendlyURLException
public static int countByG_P_F_L(long groupId, boolean privateLayout, String friendlyURL, String languageId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r llanguageId
- the language ID
SystemException
- if a system exception occurredpublic static void cacheResult(LayoutFriendlyURL layoutFriendlyURL)
layoutFriendlyURL
- the layout friendly u r lpublic static void cacheResult(List<LayoutFriendlyURL> layoutFriendlyURLs)
layoutFriendlyURLs
- the layout friendly u r lspublic static LayoutFriendlyURL create(long layoutFriendlyURLId)
layoutFriendlyURLId
- the primary key for the new layout friendly u r l
public static LayoutFriendlyURL remove(long layoutFriendlyURLId) throws NoSuchLayoutFriendlyURLException, SystemException
layoutFriendlyURLId
- the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL updateImpl(LayoutFriendlyURL layoutFriendlyURL) throws SystemException
SystemException
public static LayoutFriendlyURL findByPrimaryKey(long layoutFriendlyURLId) throws NoSuchLayoutFriendlyURLException, SystemException
NoSuchLayoutFriendlyURLException
if it could not be found.
layoutFriendlyURLId
- the primary key of the layout friendly u r l
NoSuchLayoutFriendlyURLException
- if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static LayoutFriendlyURL fetchByPrimaryKey(long layoutFriendlyURLId) throws SystemException
null
if it could not be found.
layoutFriendlyURLId
- the primary key of the layout friendly u r l
null
if a layout friendly u r l with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findAll(int start, int end) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)
SystemException
- if a system exception occurredpublic static List<LayoutFriendlyURL> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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 LayoutFriendlyURLModelImpl
. 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 layout friendly u r lsend
- the upper bound of the range of layout friendly u r ls (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static LayoutFriendlyURLPersistence getPersistence()
public void setPersistence(LayoutFriendlyURLPersistence persistence)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |