@ProviderType
public class LayoutPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
implements com.liferay.portal.kernel.service.persistence.LayoutPersistence
Caching information and settings can be found in portal.properties
LayoutPersistence
,
LayoutUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_SPLU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_ICONIMAGEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LAYOUTPROTOTYPEUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_P_I |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_SOURCEPROTOTYPELAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_SPLU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_ICONIMAGEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_P_I |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_P_P_LTP |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_P_LTP |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_L |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
LayoutPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the layout persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.Layout layout)
Caches the layout in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.Layout> layouts)
Caches the layouts in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(LayoutModelImpl layoutModelImpl) |
void |
clearCache()
Clears the cache for all layouts.
|
void |
clearCache(com.liferay.portal.kernel.model.Layout layout)
Clears the cache for the layout.
|
void |
clearCache(List<com.liferay.portal.kernel.model.Layout> layouts) |
protected void |
clearUniqueFindersCache(LayoutModelImpl layoutModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of layouts.
|
int |
countByC_L(long companyId,
String layoutPrototypeUuid)
Returns the number of layouts where companyId = ? and layoutPrototypeUuid = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of layouts where companyId = ?.
|
int |
countByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Returns the number of layouts where groupId = ? and privateLayout = ? and friendlyURL = ?.
|
int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and layoutId = ?.
|
int |
countByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
int |
countByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
int |
countByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns the number of layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
int |
countByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Returns the number of layouts where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ?.
|
int |
countByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns the number of layouts where groupId = ? and privateLayout = ? and type = ?.
|
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts where groupId = ? and privateLayout = ?.
|
int |
countByGroupId(long groupId)
Returns the number of layouts where groupId = ?.
|
int |
countByIconImageId(long iconImageId)
Returns the number of layouts where iconImageId = ?.
|
int |
countByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns the number of layouts where layoutPrototypeUuid = ?.
|
int |
countByP_I(boolean privateLayout,
long iconImageId)
Returns the number of layouts where privateLayout = ? and iconImageId = ?.
|
int |
countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns the number of layouts where sourcePrototypeLayoutUuid = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layouts where uuid = ? and companyId = ?.
|
int |
countByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Returns the number of layouts where uuid = ? and groupId = ? and privateLayout = ?.
|
int |
countByUuid(String uuid)
Returns the number of layouts where uuid = ?.
|
com.liferay.portal.kernel.model.Layout |
create(long plid)
Creates a new layout with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.Layout |
fetchByC_L_First(long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByC_L_Last(long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByG_P_P_LtP_First(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByG_P_P_LtP_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
fetchByG_P_T_First(long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByP_I(boolean privateLayout,
long iconImageId)
Returns the layout where privateLayout = ? and iconImageId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Layout |
fetchByP_I(boolean privateLayout,
long iconImageId,
boolean retrieveFromCache)
Returns the layout where privateLayout = ? and iconImageId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Layout |
fetchByPrimaryKey(long plid)
Returns the layout with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Layout |
fetchByPrimaryKey(Serializable primaryKey)
Returns the layout with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.Layout> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.portal.kernel.model.Layout |
fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?.
|
int |
filterCountByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
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 = ?.
|
int |
filterCountByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
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 = ?.
|
int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layouts that the user has permission to view where groupId = ? and privateLayout = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of layouts that the user has permission to view where groupId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
filterFindByG_P_P_LtP_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> 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 = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.Layout[] |
filterFindByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> 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 = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permission to view where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
filterFindByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> 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 = ?.
|
com.liferay.portal.kernel.model.Layout[] |
filterFindByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> 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 = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ? and type = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layouts that the user has permission to view where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.Layout[] |
filterFindByGroupId_PrevAndNext(long plid,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> 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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByGroupId(long groupId)
Returns all the layouts that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts that the user has permission to view where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts that the user has permissions to view where groupId = ?.
|
protected com.liferay.portal.kernel.model.Layout |
filterGetByG_P_P_LtP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
filterGetByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
filterGetByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
List<com.liferay.portal.kernel.model.Layout> |
findAll()
Returns all the layouts.
|
List<com.liferay.portal.kernel.model.Layout> |
findAll(int start,
int end)
Returns a range of all the layouts.
|
List<com.liferay.portal.kernel.model.Layout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts.
|
List<com.liferay.portal.kernel.model.Layout> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts.
|
com.liferay.portal.kernel.model.Layout |
findByC_L_First(long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findByC_L_Last(long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByC_L_PrevAndNext(long plid,
long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ? and layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid)
Returns all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByC_L(long companyId,
String layoutPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where companyId = ? and layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByCompanyId_PrevAndNext(long plid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByCompanyId(long companyId)
Returns all the layouts where companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layouts where companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where companyId = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.Layout |
findByG_P_P_First(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByG_P_P_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByG_P_P_LtP_First(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.Layout |
findByG_P_P_LtP_Last(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByG_P_P_LtP_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByG_P_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds)
Returns all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = any ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long[] parentLayoutIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?, optionally using the finder cache.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByG_P_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
findByG_P_T_First(long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
|
com.liferay.portal.kernel.model.Layout |
findByG_P_T_Last(long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByG_P_T_PrevAndNext(long plid,
long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ? and privateLayout = ? and type = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type)
Returns all the layouts where groupId = ? and privateLayout = ? and type = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P_T(long groupId,
boolean privateLayout,
String type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ? and type = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layouts where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layouts where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.Layout |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByGroupId_PrevAndNext(long plid,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByGroupId(long groupId)
Returns all the layouts where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layouts where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where groupId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where groupId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByIconImageId(long iconImageId)
Returns the layout where iconImageId = ? or throws a
NoSuchLayoutException if it could not be found. |
com.liferay.portal.kernel.model.Layout |
findByLayoutPrototypeUuid_First(String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByLayoutPrototypeUuid_PrevAndNext(long plid,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid)
Returns all the layouts where layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end)
Returns a range of all the layouts where layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByLayoutPrototypeUuid(String layoutPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where layoutPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findByP_I(boolean privateLayout,
long iconImageId)
Returns the layout where privateLayout = ? and iconImageId = ? or throws a
NoSuchLayoutException if it could not be found. |
com.liferay.portal.kernel.model.Layout |
findByPrimaryKey(long plid)
Returns the layout with the primary key or throws a
NoSuchLayoutException if it could not be found. |
com.liferay.portal.kernel.model.Layout |
findByPrimaryKey(Serializable primaryKey)
Returns the layout with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.Layout |
findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findBySourcePrototypeLayoutUuid_PrevAndNext(long plid,
String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where sourcePrototypeLayoutUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Returns all the layouts where sourcePrototypeLayoutUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end)
Returns a range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where sourcePrototypeLayoutUuid = ?.
|
com.liferay.portal.kernel.model.Layout |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByUuid_C_PrevAndNext(long plid,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid_C(String uuid,
long companyId)
Returns all the layouts where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layouts where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.Layout |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the first layout in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.Layout |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the last layout in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.Layout[] |
findByUuid_PrevAndNext(long plid,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns the layouts before and after the current layout in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid(String uuid)
Returns all the layouts where uuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layouts where uuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Returns an ordered range of all the layouts where uuid = ?.
|
List<com.liferay.portal.kernel.model.Layout> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layouts where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.Layout |
getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long companyId,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByG_P_P_LtP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
int priority,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
long parentLayoutId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
boolean privateLayout,
String type,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByLayoutPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
String layoutPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getBySourcePrototypeLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
String sourcePrototypeLayoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.Layout |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Layout layout,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.Layout |
remove(long plid)
Removes the layout with the primary key from the database.
|
com.liferay.portal.kernel.model.Layout |
remove(Serializable primaryKey)
Removes the layout with the primary key from the database.
|
void |
removeAll()
Removes all the layouts from the database.
|
void |
removeByC_L(long companyId,
String layoutPrototypeUuid)
Removes all the layouts where companyId = ? and layoutPrototypeUuid = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the layouts where companyId = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByG_P_F(long groupId,
boolean privateLayout,
String friendlyURL)
Removes the layout where groupId = ? and privateLayout = ? and friendlyURL = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout where groupId = ? and privateLayout = ? and layoutId = ? from the database.
|
void |
removeByG_P_P_LtP(long groupId,
boolean privateLayout,
long parentLayoutId,
int priority)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? and priority ≤ ? from the database.
|
void |
removeByG_P_P(long groupId,
boolean privateLayout,
long parentLayoutId)
Removes all the layouts where groupId = ? and privateLayout = ? and parentLayoutId = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByG_P_SPLU(long groupId,
boolean privateLayout,
String sourcePrototypeLayoutUuid)
Removes the layout where groupId = ? and privateLayout = ? and sourcePrototypeLayoutUuid = ? from the database.
|
void |
removeByG_P_T(long groupId,
boolean privateLayout,
String type)
Removes all the layouts where groupId = ? and privateLayout = ? and type = ? from the database.
|
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layouts where groupId = ? and privateLayout = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the layouts where groupId = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByIconImageId(long iconImageId)
Removes the layout where iconImageId = ? from the database.
|
void |
removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
Removes all the layouts where layoutPrototypeUuid = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByP_I(boolean privateLayout,
long iconImageId)
Removes the layout where privateLayout = ? and iconImageId = ? from the database.
|
void |
removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Removes all the layouts where sourcePrototypeLayoutUuid = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layouts where uuid = ? and companyId = ? from the database.
|
com.liferay.portal.kernel.model.Layout |
removeByUUID_G_P(String uuid,
long groupId,
boolean privateLayout)
Removes the layout where uuid = ? and groupId = ? and privateLayout = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the layouts where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.Layout |
removeImpl(com.liferay.portal.kernel.model.Layout layout) |
com.liferay.portal.kernel.model.Layout |
updateImpl(com.liferay.portal.kernel.model.Layout layout) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_ICONIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_ICONIMAGEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTPROTOTYPEUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LAYOUTPROTOTYPEUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_SOURCEPROTOTYPELAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_SOURCEPROTOTYPELAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_P_I
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_P_I
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_L
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_SPLU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_SPLU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_P_LTP
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_P_P_LTP
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid)
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByUuid_PrevAndNext(long plid, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidpublic com.liferay.portal.kernel.model.Layout findByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByUUID_G_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout)
null
if it could not be found. Uses the finder cache.fetchByUUID_G_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUUID_G_P(String uuid, long groupId, boolean privateLayout, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByUUID_G_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByUUID_G_P(String uuid, long groupId, boolean privateLayout) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByUUID_G_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByUUID_G_P(String uuid, long groupId, boolean privateLayout)
countByUUID_G_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidgroupId
- the group IDprivateLayout
- the private layoutpublic List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByUuid_C_PrevAndNext(long plid, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByUuid_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByGroupId(long groupId)
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.Layout> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public com.liferay.portal.kernel.model.Layout[] filterFindByGroupId_PrevAndNext(long plid, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
filterFindByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDpublic com.liferay.portal.kernel.model.Layout findByIconImageId(long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByIconImageId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
iconImageId
- the icon image IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByIconImageId(long iconImageId)
null
if it could not be found. Uses the finder cache.fetchByIconImageId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
iconImageId
- the icon image IDnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByIconImageId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
iconImageId
- the icon image IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByIconImageId(long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByIconImageId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
iconImageId
- the icon image IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByIconImageId(long iconImageId)
countByIconImageId
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
iconImageId
- the icon image IDpublic List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid)
findByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidpublic List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByLayoutPrototypeUuid(String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByLayoutPrototypeUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByLayoutPrototypeUuid_First(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByLayoutPrototypeUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByLayoutPrototypeUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByLayoutPrototypeUuid_Last(String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByLayoutPrototypeUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByLayoutPrototypeUuid_PrevAndNext(long plid, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByLayoutPrototypeUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByLayoutPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByLayoutPrototypeUuid(String layoutPrototypeUuid)
removeByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidpublic int countByLayoutPrototypeUuid(String layoutPrototypeUuid)
countByLayoutPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layoutPrototypeUuid
- the layout prototype uuidpublic List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
findBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findBySourcePrototypeLayoutUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchBySourcePrototypeLayoutUuid_First(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchBySourcePrototypeLayoutUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findBySourcePrototypeLayoutUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchBySourcePrototypeLayoutUuid_Last(String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchBySourcePrototypeLayoutUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findBySourcePrototypeLayoutUuid_PrevAndNext(long plid, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findBySourcePrototypeLayoutUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getBySourcePrototypeLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, String sourcePrototypeLayoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
removeBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic int countBySourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
countBySourcePrototypeLayoutUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
sourcePrototypeLayoutUuid
- the source prototype layout uuidpublic List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout)
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P(long groupId, boolean privateLayout)
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic List<com.liferay.portal.kernel.model.Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public com.liferay.portal.kernel.model.Layout[] filterFindByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
filterFindByG_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByG_P(long groupId, boolean privateLayout)
removeByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic int countByG_P(long groupId, boolean privateLayout)
countByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic int filterCountByG_P(long groupId, boolean privateLayout)
filterCountByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid)
findByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- 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
)public List<com.liferay.portal.kernel.model.Layout> findByC_L(long companyId, String layoutPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- 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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByC_L_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByC_L_First(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByC_L_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByC_L_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByC_L_Last(long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByC_L_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByC_L_PrevAndNext(long plid, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByC_L_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutcompanyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByC_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long companyId, String layoutPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByC_L(long companyId, String layoutPrototypeUuid)
removeByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic int countByC_L(long companyId, String layoutPrototypeUuid)
countByC_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
companyId
- the company IDlayoutPrototypeUuid
- the layout prototype uuidpublic com.liferay.portal.kernel.model.Layout findByP_I(boolean privateLayout, long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByP_I
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
privateLayout
- the private layouticonImageId
- the icon image IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByP_I(boolean privateLayout, long iconImageId)
null
if it could not be found. Uses the finder cache.fetchByP_I
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
privateLayout
- the private layouticonImageId
- the icon image IDnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByP_I(boolean privateLayout, long iconImageId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByP_I
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
privateLayout
- the private layouticonImageId
- the icon image IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByP_I(boolean privateLayout, long iconImageId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByP_I
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
privateLayout
- the private layouticonImageId
- the icon image IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByP_I(boolean privateLayout, long iconImageId)
countByP_I
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
privateLayout
- the private layouticonImageId
- the icon image IDpublic com.liferay.portal.kernel.model.Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByG_P_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
null
if it could not be found. Uses the finder cache.fetchByG_P_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_P_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByG_P_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
countByG_P_L
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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 foundpublic com.liferay.portal.kernel.model.Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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 foundpublic com.liferay.portal.kernel.model.Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
filterFindByG_P_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- 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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDsstart
- 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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
removeByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
countByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic int countByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
countByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic int filterCountByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
filterCountByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpublic int filterCountByG_P_P(long groupId, boolean privateLayout, long[] parentLayoutIds)
filterCountByG_P_P
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutIds
- the parent layout IDspublic List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
findByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_T_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_T_First(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_T_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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 foundpublic com.liferay.portal.kernel.model.Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_T_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_T_Last(long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_T_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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 foundpublic com.liferay.portal.kernel.model.Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_T_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type)
filterFindByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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)public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public com.liferay.portal.kernel.model.Layout[] filterFindByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
filterFindByG_P_T_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout filterGetByG_P_T_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByG_P_T(long groupId, boolean privateLayout, String type)
removeByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic int countByG_P_T(long groupId, boolean privateLayout, String type)
countByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic int filterCountByG_P_T(long groupId, boolean privateLayout, String type)
filterCountByG_P_T
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layouttype
- the typepublic com.liferay.portal.kernel.model.Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByG_P_F
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
null
if it could not be found. Uses the finder cache.fetchByG_P_F
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_P_F
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByG_P_F
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
countByG_P_F
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutfriendlyURL
- the friendly urlpublic com.liferay.portal.kernel.model.Layout findByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByG_P_SPLU
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
null
if it could not be found. Uses the finder cache.fetchByG_P_SPLU
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidnull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_P_SPLU
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout removeByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
removeByG_P_SPLU
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidcom.liferay.portal.kernel.exception.NoSuchLayoutException
public int countByG_P_SPLU(long groupId, boolean privateLayout, String sourcePrototypeLayoutUuid)
countByG_P_SPLU
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutsourcePrototypeLayoutUuid
- the source prototype layout uuidpublic List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
findByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- 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
)public List<com.liferay.portal.kernel.model.Layout> findByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- 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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.Layout findByG_P_P_LtP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_LtP_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_P_LtP_First(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_P_LtP_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout findByG_P_P_LtP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_LtP_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByG_P_P_LtP_Last(long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
fetchByG_P_P_LtP_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout could not be foundpublic com.liferay.portal.kernel.model.Layout[] findByG_P_P_LtP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
findByG_P_P_LtP_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout getByG_P_P_LtP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
filterFindByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> filterFindByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
filterFindByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritystart
- 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
)public com.liferay.portal.kernel.model.Layout[] filterFindByG_P_P_LtP_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
filterFindByG_P_P_LtP_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the current layoutgroupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the priorityorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout filterGetByG_P_P_LtP_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Layout layout, long groupId, boolean privateLayout, long parentLayoutId, int priority, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean previous)
public void removeByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
removeByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic int countByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
countByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic int filterCountByG_P_P_LtP(long groupId, boolean privateLayout, long parentLayoutId, int priority)
filterCountByG_P_P_LtP
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
groupId
- the group IDprivateLayout
- the private layoutparentLayoutId
- the parent layout IDpriority
- the prioritypublic void cacheResult(com.liferay.portal.kernel.model.Layout layout)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layout
- the layoutpublic void cacheResult(List<com.liferay.portal.kernel.model.Layout> layouts)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
layouts
- the layoutspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public void clearCache(com.liferay.portal.kernel.model.Layout layout)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public void clearCache(List<com.liferay.portal.kernel.model.Layout> layouts)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
protected void cacheUniqueFindersCache(LayoutModelImpl layoutModelImpl)
protected void clearUniqueFindersCache(LayoutModelImpl layoutModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.Layout create(long plid)
create
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key for the new layoutpublic com.liferay.portal.kernel.model.Layout remove(long plid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
remove
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundpublic com.liferay.portal.kernel.model.Layout remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
primaryKey
- the primary key of the layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundprotected com.liferay.portal.kernel.model.Layout removeImpl(com.liferay.portal.kernel.model.Layout layout)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public com.liferay.portal.kernel.model.Layout updateImpl(com.liferay.portal.kernel.model.Layout layout)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public com.liferay.portal.kernel.model.Layout findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
primaryKey
- the primary key of the layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundpublic com.liferay.portal.kernel.model.Layout findByPrimaryKey(long plid) throws com.liferay.portal.kernel.exception.NoSuchLayoutException
NoSuchLayoutException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the layoutcom.liferay.portal.kernel.exception.NoSuchLayoutException
- if a layout with the primary key could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
primaryKey
- the primary key of the layoutnull
if a layout with the primary key could not be foundpublic com.liferay.portal.kernel.model.Layout fetchByPrimaryKey(long plid)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
plid
- the primary key of the layoutnull
if a layout with the primary key could not be foundpublic Map<Serializable,com.liferay.portal.kernel.model.Layout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public List<com.liferay.portal.kernel.model.Layout> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
public List<com.liferay.portal.kernel.model.Layout> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
start
- the lower bound of the range of layoutsend
- the upper bound of the range of layouts (not inclusive)public List<com.liferay.portal.kernel.model.Layout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)public List<com.liferay.portal.kernel.model.Layout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Layout> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from 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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Layout>
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.LayoutPersistence
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Layout>
public void afterPropertiesSet()
public void destroy()