|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.service.persistence.LayoutUtil
@ProviderType public class LayoutUtil
The persistence utility for the layout service. This utility wraps LayoutPersistenceImpl
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
LayoutPersistence
,
LayoutPersistenceImpl
Constructor Summary | |
---|---|
LayoutUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(Layout layout)
Caches the layout in the entity cache if it is enabled. |
static void |
cacheResult(List<Layout> layouts)
Caches the layouts in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(Layout layout)
|
static int |
countAll()
Returns the number of layouts. |
static int |
countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?. |
static int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?. |
static int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static int |
countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?. |
static int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?. |
static int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?. |
static int |
countByGroupId(long groupId)
Returns the number of layouts where groupId = ?. |
static int |
countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?. |
static int |
countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?. |
static int |
countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?. |
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layouts where uuid = ? and companyId = ?. |
static int |
countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?. |
static int |
countByUuid(String uuid)
Returns the number of layouts where uuid = ?. |
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Layout |
create(long plid)
Creates a new layout with the primary key. |
static Layout |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
static Layout |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
static Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found. |
static Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found. |
static Layout |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout |
fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found. |
static Layout |
fetchByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid,
boolean retrieveFromCache)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
static Layout |
fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
static Layout |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
static Layout |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
static Layout |
fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns null if it could not be found. |
static Layout |
fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
Returns the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
static Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
static Layout |
fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns null if it could not be found. |
static Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
static Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
static Layout |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
static Layout |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
static Layout |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
static Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found. |
static Layout |
fetchByUUID_G_P(String uuid,
long groupId,
boolean privateLayout,
boolean retrieveFromCache)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
static int |
filterCountByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static int |
filterCountByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
static int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
static int |
filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?. |
static Layout[] |
filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout[] |
filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
static Layout[] |
filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
static List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ?. |
static List<Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?. |
static Layout[] |
filterFindByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set of layouts that the user has permission to view where groupId = ?. |
static List<Layout> |
filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?. |
static List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ?. |
static List<Layout> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?. |
static List<Layout> |
findAll()
Returns all the layouts. |
static List<Layout> |
findAll(int start,
int end)
Returns a range of all the layouts. |
static List<Layout> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts. |
static Layout |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where companyId = ?. |
static Layout |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where companyId = ?. |
static Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId)
Returns all the layouts where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layouts where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where companyId = ?. |
static Layout |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the layout where groupId = ? and privateLayout = ? and friendlyURL = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout where groupId = ? and privateLayout = ? and layoutId = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout |
findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout[] |
findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static List<Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static Layout[] |
findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
findByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
static Layout |
findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
static Layout[] |
findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?. |
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?. |
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
static Layout |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where groupId = ?. |
static Layout |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where groupId = ?. |
static Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId)
Returns all the layouts where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where groupId = ?. |
static Layout |
findByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?. |
static Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?. |
static Layout[] |
findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?. |
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?. |
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?. |
static List<Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?. |
static Layout |
findByPrimaryKey(long plid)
Returns the layout with the primary key or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
static Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
static Layout[] |
findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?. |
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?. |
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?. |
static List<Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?. |
static Layout |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?. |
static Layout |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?. |
static Layout[] |
findByUuid_C_PrevAndNext(long plid,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?. |
static List<Layout> |
findByUuid_C(String uuid,
long companyId)
Returns all the layouts where uuid = ? and companyId = ?. |
static List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layouts where uuid = ? and companyId = ?. |
static List<Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?. |
static Layout |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first layout in the ordered set where uuid = ?. |
static Layout |
findByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the layout where uuid = ? and groupId = ? and privateLayout = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last layout in the ordered set where uuid = ?. |
static Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ?. |
static List<Layout> |
findByUuid(String uuid)
Returns all the layouts where uuid = ?. |
static List<Layout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layouts where uuid = ?. |
static List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layouts where uuid = ?. |
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<Layout> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static LayoutPersistence |
getPersistence()
|
static Layout |
remove(long plid)
Removes the layout with the primary key from the database. |
static void |
removeAll()
Removes all the layouts from the database. |
static void |
removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database. |
static Layout |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. |
static Layout |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database. |
static void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database. |
static Layout |
removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database. |
static void |
removeByG_P_T(long groupId,
boolean privateLayout,
String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database. |
static void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database. |
static void |
removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database. |
static Layout |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database. |
static void |
removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database. |
static void |
removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database. |
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layouts where uuid = ? and companyId = ? from the database. |
static Layout |
removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database. |
void |
setPersistence(LayoutPersistence persistence)
Deprecated. As of 6.2.0 |
static Layout |
update(Layout layout)
|
static Layout |
update(Layout layout,
ServiceContext serviceContext)
|
static Layout |
updateImpl(Layout layout)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(Layout layout)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static Layout update(Layout layout) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel)
public static Layout update(Layout layout, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)
public static List<Layout> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout 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 Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws NoSuchLayoutException, SystemException
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurred
NoSuchLayoutException
public static int countByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws SystemException
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static List<Layout> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout 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<Layout> findByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByGroupId(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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByGroupId(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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout 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 int filterCountByGroupId(long groupId) throws SystemException
groupId
- the group ID
SystemException
- if a system exception occurredpublic static List<Layout> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout 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 could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout 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 Layout findByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
iconImageId
- the icon image ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByIconImageId(long iconImageId) throws SystemException
null
if it could not be found. Uses the finder cache.
iconImageId
- the icon image ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
iconImageId
- the icon image IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout removeByIconImageId(long iconImageId) throws NoSuchLayoutException, SystemException
iconImageId
- the icon image ID
SystemException
- if a system exception occurred
NoSuchLayoutException
public static int countByIconImageId(long iconImageId) throws SystemException
iconImageId
- the icon image ID
SystemException
- if a system exception occurredpublic static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, 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 LayoutModelImpl
. 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.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, 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 LayoutModelImpl
. 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.
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, OrderByComparator orderByComparator) throws SystemException
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic static int countByLayoutPrototypeUuid(String layoutPrototypeUuid) throws SystemException
layoutPrototypeUuid
- the layout prototype uuid
SystemException
- if a system exception occurredpublic static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, 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 LayoutModelImpl
. 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.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, 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 LayoutModelImpl
. 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.
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic static int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid) throws SystemException
sourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P(long groupId, boolean privateLayout, 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 LayoutModelImpl
. 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 layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P(long groupId, boolean privateLayout, 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 LayoutModelImpl
. 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 layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, 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 LayoutModelImpl
. 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 layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P(long groupId, boolean privateLayout, 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 LayoutModelImpl
. 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 layoutstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static int countByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static int filterCountByG_P(long groupId, boolean privateLayout) throws SystemException
groupId
- the group IDprivateLayout
- the private layout
SystemException
- if a system exception occurredpublic static Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurred
NoSuchLayoutException
public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout ID
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, 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 LayoutModelImpl
. 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 layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, 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 LayoutModelImpl
. 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 layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, 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 LayoutModelImpl
. 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 layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, 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 LayoutModelImpl
. 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 layoutparentLayoutId
- the parent layout IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic static int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic static int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout ID
SystemException
- if a system exception occurredpublic static Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, 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 lretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurred
NoSuchLayoutException
public 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 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, 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 LayoutModelImpl
. 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 layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, 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 LayoutModelImpl
. 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 layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, 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 LayoutModelImpl
. 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 layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, 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 LayoutModelImpl
. 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 layouttype
- the typestart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredpublic static Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator) throws NoSuchLayoutException, SystemException
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static void removeByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic static int countByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic static int filterCountByG_P_T(long groupId, boolean privateLayout, String type) throws SystemException
groupId
- the group IDprivateLayout
- the private layouttype
- the type
SystemException
- if a system exception occurredpublic static Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
NoSuchLayoutException
- if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws SystemException
null
if it could not be found. Uses the finder cache.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidretrieveFromCache
- whether to use the finder cache
null
if a matching layout could not be found
SystemException
- if a system exception occurredpublic static Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws NoSuchLayoutException, SystemException
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurred
NoSuchLayoutException
public static int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws SystemException
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuid
SystemException
- if a system exception occurredpublic static void cacheResult(Layout layout)
layout
- the layoutpublic static void cacheResult(List<Layout> layouts)
layouts
- the layoutspublic static Layout create(long plid)
plid
- the primary key for the new layout
public static Layout remove(long plid) throws NoSuchLayoutException, SystemException
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static Layout updateImpl(Layout layout) throws SystemException
SystemException
public static Layout findByPrimaryKey(long plid) throws NoSuchLayoutException, SystemException
NoSuchLayoutException
if it could not be found.
plid
- the primary key of the layout
NoSuchLayoutException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static Layout fetchByPrimaryKey(long plid) throws SystemException
null
if it could not be found.
plid
- the primary key of the layout
null
if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<Layout> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (not inclusive)
SystemException
- if a system exception occurredpublic static List<Layout> 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 LayoutModelImpl
. 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 layoutsend
- the upper bound of the range of layouts (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 LayoutPersistence getPersistence()
public void setPersistence(LayoutPersistence persistence)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |