@ProviderType
public class LayoutSetUtil
extends java.lang.Object
com.liferay.portal.service.persistence.impl.LayoutSetPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
LayoutSetPersistence
Constructor and Description |
---|
LayoutSetUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutSet layoutSet)
Caches the layout set in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutSet> layoutSets)
Caches the layout sets in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutSet layoutSet) |
static int |
countAll()
Returns the number of layout sets.
|
static int |
countByG_P_Head(long groupId,
boolean privateLayout,
boolean head)
Returns the number of layout sets where groupId = ? and privateLayout = ? and head = ?.
|
static int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layout sets where groupId = ? and privateLayout = ?.
|
static int |
countByGroupId_Head(long groupId,
boolean head)
Returns the number of layout sets where groupId = ? and head = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of layout sets where groupId = ?.
|
static int |
countByHeadId(long headId)
Returns the number of layout sets where headId = ?.
|
static int |
countByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head)
Returns the number of layout sets where layoutSetPrototypeUuid = ? and head = ?.
|
static int |
countByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
Returns the number of layout sets where layoutSetPrototypeUuid = ?.
|
static int |
countByP_L_Head(boolean privateLayout,
long logoId,
boolean head)
Returns the number of layout sets where privateLayout = ? and logoId = ? and head = ?.
|
static int |
countByP_L(boolean privateLayout,
long logoId)
Returns the number of layout sets where privateLayout = ? and logoId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static LayoutSet |
create(long layoutSetId)
Creates a new layout set with the primary key.
|
static LayoutSet |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSet |
fetchByG_P_Head(long groupId,
boolean privateLayout,
boolean head)
Returns the layout set where groupId = ? and privateLayout = ? and head = ? or returns
null if it could not be found. |
static LayoutSet |
fetchByG_P_Head(long groupId,
boolean privateLayout,
boolean head,
boolean retrieveFromCache)
Returns the layout set where groupId = ? and privateLayout = ? and head = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSet |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSet |
fetchByGroupId_First(long groupId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ?.
|
static LayoutSet |
fetchByGroupId_Head_First(long groupId,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ? and head = ?.
|
static LayoutSet |
fetchByGroupId_Head_Last(long groupId,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ? and head = ?.
|
static LayoutSet |
fetchByGroupId_Last(long groupId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ?.
|
static LayoutSet |
fetchByHeadId(long headId)
Returns the layout set where headId = ? or returns
null if it could not be found. |
static LayoutSet |
fetchByHeadId(long headId,
boolean retrieveFromCache)
Returns the layout set where headId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSet |
fetchByLayoutSetPrototypeUuid_First(java.lang.String layoutSetPrototypeUuid,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSet |
fetchByLayoutSetPrototypeUuid_Head_First(java.lang.String layoutSetPrototypeUuid,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ? and head = ?.
|
static LayoutSet |
fetchByLayoutSetPrototypeUuid_Head_Last(java.lang.String layoutSetPrototypeUuid,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where layoutSetPrototypeUuid = ? and head = ?.
|
static LayoutSet |
fetchByLayoutSetPrototypeUuid_Last(java.lang.String layoutSetPrototypeUuid,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSet |
fetchByP_L_First(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSet |
fetchByP_L_Head(boolean privateLayout,
long logoId,
boolean head)
Returns the layout set where privateLayout = ? and logoId = ? and head = ? or returns
null if it could not be found. |
static LayoutSet |
fetchByP_L_Head(boolean privateLayout,
long logoId,
boolean head,
boolean retrieveFromCache)
Returns the layout set where privateLayout = ? and logoId = ? and head = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSet |
fetchByP_L_Last(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSet |
fetchByPrimaryKey(long layoutSetId)
Returns the layout set with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutSet> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<LayoutSet> |
findAll()
Returns all the layout sets.
|
static java.util.List<LayoutSet> |
findAll(int start,
int end)
Returns a range of all the layout sets.
|
static java.util.List<LayoutSet> |
findAll(int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets.
|
static java.util.List<LayoutSet> |
findAll(int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets.
|
static LayoutSet |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSet |
findByG_P_Head(long groupId,
boolean privateLayout,
boolean head)
Returns the layout set where groupId = ? and privateLayout = ? and head = ? or throws a
NoSuchLayoutSetException if it could not be found. |
static LayoutSet |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSet[] |
findByG_P_PrevAndNext(long layoutSetId,
long groupId,
boolean privateLayout,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where groupId = ? and privateLayout = ?.
|
static java.util.List<LayoutSet> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout sets where groupId = ? and privateLayout = ?.
|
static java.util.List<LayoutSet> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout sets where groupId = ? and privateLayout = ?.
|
static java.util.List<LayoutSet> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where groupId = ? and privateLayout = ?.
|
static java.util.List<LayoutSet> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where groupId = ? and privateLayout = ?.
|
static LayoutSet |
findByGroupId_First(long groupId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ?.
|
static LayoutSet |
findByGroupId_Head_First(long groupId,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where groupId = ? and head = ?.
|
static LayoutSet |
findByGroupId_Head_Last(long groupId,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ? and head = ?.
|
static LayoutSet[] |
findByGroupId_Head_PrevAndNext(long layoutSetId,
long groupId,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where groupId = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByGroupId_Head(long groupId,
boolean head)
Returns all the layout sets where groupId = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end)
Returns a range of all the layout sets where groupId = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where groupId = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where groupId = ? and head = ?.
|
static LayoutSet |
findByGroupId_Last(long groupId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where groupId = ?.
|
static LayoutSet[] |
findByGroupId_PrevAndNext(long layoutSetId,
long groupId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where groupId = ?.
|
static java.util.List<LayoutSet> |
findByGroupId(long groupId)
Returns all the layout sets where groupId = ?.
|
static java.util.List<LayoutSet> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout sets where groupId = ?.
|
static java.util.List<LayoutSet> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where groupId = ?.
|
static java.util.List<LayoutSet> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where groupId = ?.
|
static LayoutSet |
findByHeadId(long headId)
Returns the layout set where headId = ? or throws a
NoSuchLayoutSetException if it could not be found. |
static LayoutSet |
findByLayoutSetPrototypeUuid_First(java.lang.String layoutSetPrototypeUuid,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSet |
findByLayoutSetPrototypeUuid_Head_First(java.lang.String layoutSetPrototypeUuid,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where layoutSetPrototypeUuid = ? and head = ?.
|
static LayoutSet |
findByLayoutSetPrototypeUuid_Head_Last(java.lang.String layoutSetPrototypeUuid,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where layoutSetPrototypeUuid = ? and head = ?.
|
static LayoutSet[] |
findByLayoutSetPrototypeUuid_Head_PrevAndNext(long layoutSetId,
java.lang.String layoutSetPrototypeUuid,
boolean head,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where layoutSetPrototypeUuid = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head)
Returns all the layout sets where layoutSetPrototypeUuid = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head,
int start,
int end)
Returns a range of all the layout sets where layoutSetPrototypeUuid = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ? and head = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ? and head = ?.
|
static LayoutSet |
findByLayoutSetPrototypeUuid_Last(java.lang.String layoutSetPrototypeUuid,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSet[] |
findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetId,
java.lang.String layoutSetPrototypeUuid,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where layoutSetPrototypeUuid = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
Returns all the layout sets where layoutSetPrototypeUuid = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid,
int start,
int end)
Returns a range of all the layout sets where layoutSetPrototypeUuid = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.
|
static java.util.List<LayoutSet> |
findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where layoutSetPrototypeUuid = ?.
|
static LayoutSet |
findByP_L_First(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the first layout set in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSet |
findByP_L_Head(boolean privateLayout,
long logoId,
boolean head)
Returns the layout set where privateLayout = ? and logoId = ? and head = ? or throws a
NoSuchLayoutSetException if it could not be found. |
static LayoutSet |
findByP_L_Last(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the last layout set in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSet[] |
findByP_L_PrevAndNext(long layoutSetId,
boolean privateLayout,
long logoId,
OrderByComparator<LayoutSet> orderByComparator)
Returns the layout sets before and after the current layout set in the ordered set where privateLayout = ? and logoId = ?.
|
static java.util.List<LayoutSet> |
findByP_L(boolean privateLayout,
long logoId)
Returns all the layout sets where privateLayout = ? and logoId = ?.
|
static java.util.List<LayoutSet> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end)
Returns a range of all the layout sets where privateLayout = ? and logoId = ?.
|
static java.util.List<LayoutSet> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator)
Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.
|
static java.util.List<LayoutSet> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout sets where privateLayout = ? and logoId = ?.
|
static LayoutSet |
findByPrimaryKey(long layoutSetId)
Returns the layout set with the primary key or throws a
NoSuchLayoutSetException if it could not be found. |
static java.util.List<LayoutSet> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<LayoutSet> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutSet> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<LayoutSet> orderByComparator) |
static LayoutSetPersistence |
getPersistence() |
static LayoutSet |
remove(long layoutSetId)
Removes the layout set with the primary key from the database.
|
static void |
removeAll()
Removes all the layout sets from the database.
|
static LayoutSet |
removeByG_P_Head(long groupId,
boolean privateLayout,
boolean head)
Removes the layout set where groupId = ? and privateLayout = ? and head = ? from the database.
|
static void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layout sets where groupId = ? and privateLayout = ? from the database.
|
static void |
removeByGroupId_Head(long groupId,
boolean head)
Removes all the layout sets where groupId = ? and head = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the layout sets where groupId = ? from the database.
|
static LayoutSet |
removeByHeadId(long headId)
Removes the layout set where headId = ? from the database.
|
static void |
removeByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid,
boolean head)
Removes all the layout sets where layoutSetPrototypeUuid = ? and head = ? from the database.
|
static void |
removeByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
Removes all the layout sets where layoutSetPrototypeUuid = ? from the database.
|
static LayoutSet |
removeByP_L_Head(boolean privateLayout,
long logoId,
boolean head)
Removes the layout set where privateLayout = ? and logoId = ? and head = ? from the database.
|
static void |
removeByP_L(boolean privateLayout,
long logoId)
Removes all the layout sets where privateLayout = ? and logoId = ? from the database.
|
static LayoutSet |
update(LayoutSet layoutSet) |
static LayoutSet |
update(LayoutSet layoutSet,
ServiceContext serviceContext) |
static LayoutSet |
updateImpl(LayoutSet layoutSet) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutSet layoutSet)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.Map<java.io.Serializable,LayoutSet> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutSet> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.List<LayoutSet> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static java.util.List<LayoutSet> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSet> orderByComparator)
public static LayoutSet update(LayoutSet layoutSet, ServiceContext serviceContext)
public static java.util.List<LayoutSet> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByGroupId_First(long groupId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByGroupId_First(long groupId, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByGroupId_Last(long groupId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByGroupId_Last(long groupId, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByGroupId_PrevAndNext(long layoutSetId, long groupId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<LayoutSet> findByGroupId_Head(long groupId, boolean head)
groupId
- the group IDhead
- the headpublic static java.util.List<LayoutSet> findByGroupId_Head(long groupId, boolean head, 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByGroupId_Head(long groupId, boolean head, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByGroupId_Head(long groupId, boolean head, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByGroupId_Head_First(long groupId, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByGroupId_Head_First(long groupId, boolean head, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByGroupId_Head_Last(long groupId, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByGroupId_Head_Last(long groupId, boolean head, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByGroupId_Head_PrevAndNext(long layoutSetId, long groupId, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setgroupId
- the group IDhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByGroupId_Head(long groupId, boolean head)
groupId
- the group IDhead
- the headpublic static int countByGroupId_Head(long groupId, boolean head)
groupId
- the group IDhead
- the headpublic static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid, 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByLayoutSetPrototypeUuid_First(java.lang.String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByLayoutSetPrototypeUuid_First(java.lang.String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByLayoutSetPrototypeUuid_Last(java.lang.String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByLayoutSetPrototypeUuid_Last(java.lang.String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetId, java.lang.String layoutSetPrototypeUuid, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static int countByLayoutSetPrototypeUuid(java.lang.String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head)
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headpublic static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head, 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByLayoutSetPrototypeUuid_Head_First(java.lang.String layoutSetPrototypeUuid, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByLayoutSetPrototypeUuid_Head_First(java.lang.String layoutSetPrototypeUuid, boolean head, OrderByComparator<LayoutSet> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByLayoutSetPrototypeUuid_Head_Last(java.lang.String layoutSetPrototypeUuid, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByLayoutSetPrototypeUuid_Head_Last(java.lang.String layoutSetPrototypeUuid, boolean head, OrderByComparator<LayoutSet> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByLayoutSetPrototypeUuid_Head_PrevAndNext(long layoutSetId, java.lang.String layoutSetPrototypeUuid, boolean head, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setlayoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head)
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headpublic static int countByLayoutSetPrototypeUuid_Head(java.lang.String layoutSetPrototypeUuid, boolean head)
layoutSetPrototypeUuid
- the layout set prototype uuidhead
- the headpublic static java.util.List<LayoutSet> findByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static java.util.List<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<LayoutSet> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByG_P_PrevAndNext(long layoutSetId, long groupId, boolean privateLayout, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static int countByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static LayoutSet findByG_P_Head(long groupId, boolean privateLayout, boolean head) throws NoSuchLayoutSetException
NoSuchLayoutSetException
if it could not be found.groupId
- the group IDprivateLayout
- the private layouthead
- the headNoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByG_P_Head(long groupId, boolean privateLayout, boolean head)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layouthead
- the headnull
if a matching layout set could not be foundpublic static LayoutSet fetchByG_P_Head(long groupId, boolean privateLayout, boolean head, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layouthead
- the headretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set could not be foundpublic static LayoutSet removeByG_P_Head(long groupId, boolean privateLayout, boolean head) throws NoSuchLayoutSetException
groupId
- the group IDprivateLayout
- the private layouthead
- the headNoSuchLayoutSetException
public static int countByG_P_Head(long groupId, boolean privateLayout, boolean head)
groupId
- the group IDprivateLayout
- the private layouthead
- the headpublic static java.util.List<LayoutSet> findByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static java.util.List<LayoutSet> findByP_L(boolean privateLayout, long logoId, 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 LayoutSetModelImpl
. 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.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. 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.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static LayoutSet findByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet findByP_L_Last(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByP_L_Last(boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set could not be foundpublic static LayoutSet[] findByP_L_PrevAndNext(long layoutSetId, boolean privateLayout, long logoId, OrderByComparator<LayoutSet> orderByComparator) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the current layout setprivateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static void removeByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static int countByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static LayoutSet findByP_L_Head(boolean privateLayout, long logoId, boolean head) throws NoSuchLayoutSetException
NoSuchLayoutSetException
if it could not be found.privateLayout
- the private layoutlogoId
- the logo IDhead
- the headNoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByP_L_Head(boolean privateLayout, long logoId, boolean head)
null
if it could not be found. Uses the finder cache.privateLayout
- the private layoutlogoId
- the logo IDhead
- the headnull
if a matching layout set could not be foundpublic static LayoutSet fetchByP_L_Head(boolean privateLayout, long logoId, boolean head, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.privateLayout
- the private layoutlogoId
- the logo IDhead
- the headretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set could not be foundpublic static LayoutSet removeByP_L_Head(boolean privateLayout, long logoId, boolean head) throws NoSuchLayoutSetException
privateLayout
- the private layoutlogoId
- the logo IDhead
- the headNoSuchLayoutSetException
public static int countByP_L_Head(boolean privateLayout, long logoId, boolean head)
privateLayout
- the private layoutlogoId
- the logo IDhead
- the headpublic static LayoutSet findByHeadId(long headId) throws NoSuchLayoutSetException
NoSuchLayoutSetException
if it could not be found.headId
- the head IDNoSuchLayoutSetException
- if a matching layout set could not be foundpublic static LayoutSet fetchByHeadId(long headId)
null
if it could not be found. Uses the finder cache.headId
- the head IDnull
if a matching layout set could not be foundpublic static LayoutSet fetchByHeadId(long headId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.headId
- the head IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set could not be foundpublic static LayoutSet removeByHeadId(long headId) throws NoSuchLayoutSetException
headId
- the head IDNoSuchLayoutSetException
public static int countByHeadId(long headId)
headId
- the head IDpublic static void cacheResult(LayoutSet layoutSet)
layoutSet
- the layout setpublic static void cacheResult(java.util.List<LayoutSet> layoutSets)
layoutSets
- the layout setspublic static LayoutSet create(long layoutSetId)
layoutSetId
- the primary key for the new layout setpublic static LayoutSet remove(long layoutSetId) throws NoSuchLayoutSetException
layoutSetId
- the primary key of the layout setNoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static LayoutSet findByPrimaryKey(long layoutSetId) throws NoSuchLayoutSetException
NoSuchLayoutSetException
if it could not be found.layoutSetId
- the primary key of the layout setNoSuchLayoutSetException
- if a layout set with the primary key could not be foundpublic static LayoutSet fetchByPrimaryKey(long layoutSetId)
null
if it could not be found.layoutSetId
- the primary key of the layout setnull
if a layout set with the primary key could not be foundpublic static java.util.List<LayoutSet> findAll()
public static java.util.List<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)public static java.util.List<LayoutSet> findAll(int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSet> findAll(int start, int end, OrderByComparator<LayoutSet> 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 LayoutSetModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of layout setsend
- the upper bound of the range of layout sets (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static LayoutSetPersistence getPersistence()