|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.LayoutUtil
public class LayoutUtil
The persistence utility for the layout service.
Never modify this class directly. Modify service.xml and rerun ServiceBuilder to regnerate this class.
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()
Counts all the layouts. |
static int |
countByCompanyId(long companyId)
Counts all the layouts where companyId = ?. |
static int |
countByDLFolderId(long dlFolderId)
Counts all the layouts where dlFolderId = ?. |
static int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Counts all the layouts where groupId = ? and privateLayout = ? and friendlyURL = ?. |
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Counts all the layouts where groupId = ? and privateLayout = ? and layoutId = ?. |
static int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Counts all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?. |
static int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Counts all the layouts where groupId = ? and privateLayout = ? and type = ?. |
static int |
countByG_P(long groupId,
boolean privateLayout)
Counts all the layouts where groupId = ? and privateLayout = ?. |
static int |
countByGroupId(long groupId)
Counts all the layouts where groupId = ?. |
static int |
countByIconImageId(long iconImageId)
Counts all the layouts where iconImageId = ?. |
static int |
countByUUID_G(String uuid,
long groupId)
Counts all the layouts where uuid = ? and groupId = ?. |
static int |
countByUuid(String uuid)
Counts all the layouts where uuid = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Layout |
create(long plid)
Creates a new layout with the primary key. |
static Layout |
fetchByDLFolderId(long dlFolderId)
Finds the layout where dlFolderId = ? or returns null if it could not be found. |
static Layout |
fetchByDLFolderId(long dlFolderId,
boolean retrieveFromCache)
Finds the layout where dlFolderId = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Finds 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)
Finds 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_L(long groupId,
boolean privateLayout,
long layoutId)
Finds 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)
Finds the layout where groupId = ? and privateLayout = ? and layoutId = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByIconImageId(long iconImageId)
Finds the layout where iconImageId = ? or returns null if it could not be found. |
static Layout |
fetchByIconImageId(long iconImageId,
boolean retrieveFromCache)
Finds the layout where iconImageId = ? or returns null if it could not be found, optionally using the finder cache. |
static Layout |
fetchByPrimaryKey(long plid)
Finds the layout with the primary key or returns null if it could not be found. |
static Layout |
fetchByUUID_G(String uuid,
long groupId)
Finds the layout where uuid = ? and groupId = ? or returns null if it could not be found. |
static Layout |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Finds the layout where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
static List<Layout> |
findAll()
Finds all the layouts. |
static List<Layout> |
findAll(int start,
int end)
Finds a range of all the layouts. |
static List<Layout> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the layouts. |
static Layout |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first layout in the ordered set where companyId = ?. |
static Layout |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last layout in the ordered set where companyId = ?. |
static Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
Finds the layouts before and after the current layout in the ordered set where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId)
Finds all the layouts where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the layouts where companyId = ?. |
static List<Layout> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the layouts where companyId = ?. |
static Layout |
findByDLFolderId(long dlFolderId)
Finds the layout where dlFolderId = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Finds 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)
Finds the first layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?. |
static Layout |
findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds 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)
Finds an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?. |
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout)
Finds all the layouts where groupId = ? and privateLayout = ?. |
static List<Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Finds 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)
Finds an ordered range of all the layouts where groupId = ? and privateLayout = ?. |
static Layout |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first layout in the ordered set where groupId = ?. |
static Layout |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last layout in the ordered set where groupId = ?. |
static Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
Finds the layouts before and after the current layout in the ordered set where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId)
Finds all the layouts where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the layouts where groupId = ?. |
static List<Layout> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the layouts where groupId = ?. |
static Layout |
findByIconImageId(long iconImageId)
Finds the layout where iconImageId = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByPrimaryKey(long plid)
Finds the layout with the primary key or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Finds the first layout in the ordered set where uuid = ?. |
static Layout |
findByUUID_G(String uuid,
long groupId)
Finds the layout where uuid = ? and groupId = ? or throws a NoSuchLayoutException if it could not be found. |
static Layout |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Finds the last layout in the ordered set where uuid = ?. |
static Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
Finds the layouts before and after the current layout in the ordered set where uuid = ?. |
static List<Layout> |
findByUuid(String uuid)
Finds all the layouts where uuid = ?. |
static List<Layout> |
findByUuid(String uuid,
int start,
int end)
Finds a range of all the layouts where uuid = ?. |
static List<Layout> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Finds 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(Layout layout)
|
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 void |
removeByDLFolderId(long dlFolderId)
Removes the layout where dlFolderId = ? from the database. |
static void |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database. |
static void |
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 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 void |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database. |
static void |
removeByUUID_G(String uuid,
long groupId)
Removes the layout where uuid = ? and groupId = ? from the database. |
static void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database. |
void |
setPersistence(LayoutPersistence persistence)
|
static Layout |
update(Layout layout,
boolean merge)
|
static Layout |
update(Layout layout,
boolean merge,
ServiceContext serviceContext)
|
static Layout |
updateImpl(Layout layout,
boolean merge)
|
| 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 long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<Layout> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static Layout remove(Layout layout)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static Layout update(Layout layout,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static Layout update(Layout layout,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(Layout layout)
layout - the layout to cachepublic static void cacheResult(List<Layout> layouts)
layouts - the layouts to cachepublic 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 to remove
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout updateImpl(Layout layout,
boolean merge)
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 to find
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout fetchByPrimaryKey(long plid)
throws SystemException
null if it could not be found.
plid - the primary key of the layout to find
null if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static List<Layout> findByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public 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.
uuid - the uuid to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
uuid - the uuid to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
uuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
uuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByUuid_PrevAndNext(long plid,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutuuid - the uuid to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout findByUUID_G(String uuid,
long groupId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
uuid - the uuid to search withgroupId - the group id to search with
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
uuid - the uuid to search withgroupId - the group id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
uuid - the uuid to search withgroupId - the group id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static List<Layout> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByGroupId_PrevAndNext(long plid,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutgroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static List<Layout> findByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public 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.
companyId - the company id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
companyId - the company id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
companyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByCompanyId_PrevAndNext(long plid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutcompanyId - the company id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout findByDLFolderId(long dlFolderId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
dlFolderId - the dl folder id to search with
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout fetchByDLFolderId(long dlFolderId)
throws SystemException
null if it could not be found. Uses the finder cache.
dlFolderId - the dl folder id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout fetchByDLFolderId(long dlFolderId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
dlFolderId - the dl folder id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByIconImageId(long iconImageId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
iconImageId - the icon image id to search with
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout fetchByIconImageId(long iconImageId)
throws SystemException
null if it could not be found. Uses the finder cache.
iconImageId - the icon image id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public 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 id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static List<Layout> findByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutgroupId - the group id to search withprivateLayout - the private layout to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public 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 id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public 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 id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static List<Layout> findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search with
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutgroupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static Layout findByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException,
SystemException
NoSuchLayoutException if it could not be found.
groupId - the group id to search withprivateLayout - the private layout to search withfriendlyURL - the friendly u r l to search with
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public 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 id to search withprivateLayout - the private layout to search withfriendlyURL - the friendly u r l to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public 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 id to search withprivateLayout - the private layout to search withfriendlyURL - the friendly u r l to search with
null if a matching layout could not be found
SystemException - if a system exception occurred
public static List<Layout> findByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search with
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search withstart - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static Layout findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a matching layout could not be found
SystemException - if a system exception occurred
public static Layout[] findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
OrderByComparator orderByComparator)
throws NoSuchLayoutException,
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.
plid - the primary key of the current layoutgroupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search withorderByComparator - the comparator to order the set by
NoSuchLayoutException - if a layout with the primary key could not be found
SystemException - if a system exception occurred
public static List<Layout> findAll()
throws SystemException
SystemException - if a system exception occurred
public 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.
start - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)
SystemException - if a system exception occurred
public 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.
start - the lower bound of the range of layouts to returnend - the upper bound of the range of layouts to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
public static void removeByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static void removeByUUID_G(String uuid,
long groupId)
throws NoSuchLayoutException,
SystemException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
NoSuchLayoutException
public static void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static void removeByDLFolderId(long dlFolderId)
throws NoSuchLayoutException,
SystemException
dlFolderId - the dl folder id to search with
SystemException - if a system exception occurred
NoSuchLayoutException
public static void removeByIconImageId(long iconImageId)
throws NoSuchLayoutException,
SystemException
iconImageId - the icon image id to search with
SystemException - if a system exception occurred
NoSuchLayoutException
public static void removeByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public static void removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws NoSuchLayoutException,
SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
SystemException - if a system exception occurred
NoSuchLayoutException
public static void removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search with
SystemException - if a system exception occurred
public static void removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws NoSuchLayoutException,
SystemException
groupId - the group id to search withprivateLayout - the private layout to search withfriendlyURL - the friendly u r l to search with
SystemException - if a system exception occurred
NoSuchLayoutException
public static void removeByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search with
SystemException - if a system exception occurred
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByUuid(String uuid)
throws SystemException
uuid - the uuid to search with
SystemException - if a system exception occurred
public static int countByUUID_G(String uuid,
long groupId)
throws SystemException
uuid - the uuid to search withgroupId - the group id to search with
SystemException - if a system exception occurred
public static int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
public static int countByCompanyId(long companyId)
throws SystemException
companyId - the company id to search with
SystemException - if a system exception occurred
public static int countByDLFolderId(long dlFolderId)
throws SystemException
dlFolderId - the dl folder id to search with
SystemException - if a system exception occurred
public static int countByIconImageId(long iconImageId)
throws SystemException
iconImageId - the icon image id to search with
SystemException - if a system exception occurred
public static int countByG_P(long groupId,
boolean privateLayout)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search with
SystemException - if a system exception occurred
public static int countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withlayoutId - the layout id to search with
SystemException - if a system exception occurred
public static int countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withparentLayoutId - the parent layout id to search with
SystemException - if a system exception occurred
public static int countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withfriendlyURL - the friendly u r l to search with
SystemException - if a system exception occurred
public static int countByG_P_T(long groupId,
boolean privateLayout,
String type)
throws SystemException
groupId - the group id to search withprivateLayout - the private layout to search withtype - the type to search with
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static LayoutPersistence getPersistence()
public void setPersistence(LayoutPersistence persistence)
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||