public class LayoutSetPrototypeUtil
extends Object
com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl
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
LayoutSetPrototypePersistence
Constructor and Description |
---|
LayoutSetPrototypeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutSetPrototype layoutSetPrototype)
Caches the layout set prototype in the entity cache if it is enabled.
|
static void |
cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
Caches the layout set prototypes in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutSetPrototype layoutSetPrototype) |
static int |
countAll()
Returns the number of layout set prototypes.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes where companyId = ? and active = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of layout set prototypes where companyId = ?.
|
static int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layout set prototypes where uuid = ? and companyId = ?.
|
static int |
countByUuid(String uuid)
Returns the number of layout set prototypes where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static LayoutSetPrototype |
create(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key.
|
static LayoutSetPrototype |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutSetPrototype |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutSetPrototype |
fetchByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?.
|
static LayoutSetPrototype |
fetchByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?.
|
static LayoutSetPrototype |
fetchByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or returns
null if it could not be found. |
static Map<Serializable,LayoutSetPrototype> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static LayoutSetPrototype |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSetPrototype |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSetPrototype |
fetchByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?.
|
static LayoutSetPrototype |
fetchByUuid_Last(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?.
|
static int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of layout set prototypes that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(String uuid,
long companyId)
Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(String uuid)
Returns the number of layout set prototypes that the user has permission to view where uuid = ?.
|
static LayoutSetPrototype[] |
filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.
|
static LayoutSetPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout set prototypes that the user has permission to view where companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.
|
static LayoutSetPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId)
Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
static LayoutSetPrototype[] |
filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid(String uuid)
Returns all the layout set prototypes that the user has permission to view where uuid = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.
|
static List<LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.
|
static List<LayoutSetPrototype> |
findAll()
Returns all the layout set prototypes.
|
static List<LayoutSetPrototype> |
findAll(int start,
int end)
Returns a range of all the layout set prototypes.
|
static List<LayoutSetPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes.
|
static List<LayoutSetPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes.
|
static LayoutSetPrototype |
findByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutSetPrototype |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutSetPrototype[] |
findByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout set prototypes where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
|
static List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
|
static LayoutSetPrototype |
findByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?.
|
static LayoutSetPrototype |
findByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?.
|
static LayoutSetPrototype[] |
findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.
|
static List<LayoutSetPrototype> |
findByCompanyId(long companyId)
Returns all the layout set prototypes where companyId = ?.
|
static List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ?.
|
static List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ?.
|
static List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where companyId = ?.
|
static LayoutSetPrototype |
findByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or throws a
NoSuchLayoutSetPrototypeException if it could not be found. |
static LayoutSetPrototype |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSetPrototype |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSetPrototype[] |
findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout set prototypes where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
|
static List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
|
static LayoutSetPrototype |
findByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?.
|
static LayoutSetPrototype |
findByUuid_Last(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?.
|
static LayoutSetPrototype[] |
findByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.
|
static List<LayoutSetPrototype> |
findByUuid(String uuid)
Returns all the layout set prototypes where uuid = ?.
|
static List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ?.
|
static List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ?.
|
static List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where uuid = ?.
|
static List<LayoutSetPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<LayoutSetPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<LayoutSetPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator) |
static LayoutSetPrototypePersistence |
getPersistence() |
static LayoutSetPrototype |
remove(long layoutSetPrototypeId)
Removes the layout set prototype with the primary key from the database.
|
static void |
removeAll()
Removes all the layout set prototypes from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the layout set prototypes where companyId = ? and active = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the layout set prototypes where companyId = ? from the database.
|
static void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(String uuid)
Removes all the layout set prototypes where uuid = ? from the database.
|
static LayoutSetPrototype |
update(LayoutSetPrototype layoutSetPrototype) |
static LayoutSetPrototype |
update(LayoutSetPrototype layoutSetPrototype,
ServiceContext serviceContext) |
static LayoutSetPrototype |
updateImpl(LayoutSetPrototype layoutSetPrototype) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutSetPrototype layoutSetPrototype)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static Map<Serializable,LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<LayoutSetPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator)
public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype)
public static LayoutSetPrototype update(LayoutSetPrototype layoutSetPrototype, ServiceContext serviceContext)
public static List<LayoutSetPrototype> findByUuid(String uuid)
uuid
- the uuidpublic static List<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetPrototype> findByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache)
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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetPrototype findByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByUuid_First(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype findByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByUuid_Last(String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static List<LayoutSetPrototype> filterFindByUuid(String uuid)
uuid
- the uuidpublic static List<LayoutSetPrototype> filterFindByUuid(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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static void removeByUuid(String uuid)
uuid
- the uuidpublic static int countByUuid(String uuid)
uuid
- the uuidpublic static int filterCountByUuid(String uuid)
uuid
- the uuidpublic static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache)
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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<LayoutSetPrototype> filterFindByUuid_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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static void removeByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int filterCountByUuid_C(String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static List<LayoutSetPrototype> findByCompanyId(long companyId)
companyId
- the company IDpublic static List<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache)
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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetPrototype findByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByCompanyId_First(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype findByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByCompanyId_Last(long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
companyId
- the company IDpublic static List<LayoutSetPrototype> filterFindByCompanyId(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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static int filterCountByCompanyId(long companyId)
companyId
- the company IDpublic static List<LayoutSetPrototype> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache)
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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetPrototype findByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic static LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic static LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, OrderByComparator<LayoutSetPrototype> orderByComparator) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static void removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static int filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activepublic static void cacheResult(LayoutSetPrototype layoutSetPrototype)
layoutSetPrototype
- the layout set prototypepublic static void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
layoutSetPrototypes
- the layout set prototypespublic static LayoutSetPrototype create(long layoutSetPrototypeId)
layoutSetPrototypeId
- the primary key for the new layout set prototypepublic static LayoutSetPrototype remove(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException
layoutSetPrototypeId
- the primary key of the layout set prototypeNoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
public static LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws NoSuchLayoutSetPrototypeException
NoSuchLayoutSetPrototypeException
if it could not be found.layoutSetPrototypeId
- the primary key of the layout set prototypeNoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic static LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
null
if it could not be found.layoutSetPrototypeId
- the primary key of the layout set prototypenull
if a layout set prototype with the primary key could not be foundpublic static List<LayoutSetPrototype> findAll()
public static List<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. 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 set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
. 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 set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetPrototype> findAll(int start, int end, OrderByComparator<LayoutSetPrototype> orderByComparator, boolean useFinderCache)
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 LayoutSetPrototypeModelImpl
. 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 set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static LayoutSetPrototypePersistence getPersistence()