@ProviderType
public class LayoutPrototypeUtil
extends java.lang.Object
LayoutPrototypePersistenceImpl 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
LayoutPrototypePersistence,
LayoutPrototypePersistenceImpl| Constructor and Description |
|---|
LayoutPrototypeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(LayoutPrototype layoutPrototype)
Caches the layout prototype in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutPrototype> layoutPrototypes)
Caches the layout prototypes in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutPrototype layoutPrototype) |
static int |
countAll()
Returns the number of layout prototypes.
|
static int |
countByC_A(long companyId,
boolean active)
Returns the number of layout prototypes where companyId = ? and active = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of layout prototypes where companyId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout prototypes where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout prototypes where uuid = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static LayoutPrototype |
create(long layoutPrototypeId)
Creates a new layout prototype with the primary key.
|
static LayoutPrototype |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutPrototype |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutPrototype |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
static LayoutPrototype |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
static LayoutPrototype |
fetchByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or returns
null if it could not be found. |
static LayoutPrototype |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPrototype |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPrototype |
fetchByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
static LayoutPrototype |
fetchByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
static int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
static int |
filterCountByCompanyId(long companyId)
Returns the number of layout prototypes that the user has permission to view where companyId = ?.
|
static int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static int |
filterCountByUuid(java.lang.String uuid)
Returns the number of layout prototypes that the user has permission to view where uuid = ?.
|
static LayoutPrototype[] |
filterFindByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ? and active = ?.
|
static LayoutPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout prototypes that the user has permission to view where companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ?.
|
static LayoutPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
static LayoutPrototype[] |
filterFindByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid(java.lang.String uuid)
Returns all the layout prototypes that the user has permission to view where uuid = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ?.
|
static java.util.List<LayoutPrototype> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ?.
|
static java.util.List<LayoutPrototype> |
findAll()
Returns all the layout prototypes.
|
static java.util.List<LayoutPrototype> |
findAll(int start,
int end)
Returns a range of all the layout prototypes.
|
static java.util.List<LayoutPrototype> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes.
|
static LayoutPrototype |
findByC_A_First(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutPrototype |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
static LayoutPrototype[] |
findByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout prototypes where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ? and active = ?.
|
static java.util.List<LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
static LayoutPrototype |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
static LayoutPrototype |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
static LayoutPrototype[] |
findByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByCompanyId(long companyId)
Returns all the layout prototypes where companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
static LayoutPrototype |
findByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or throws a
NoSuchLayoutPrototypeException if it could not be found. |
static LayoutPrototype |
findByUuid_C_First(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPrototype |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
static LayoutPrototype[] |
findByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout prototypes where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ? and companyId = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
static LayoutPrototype |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
static LayoutPrototype |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
static LayoutPrototype[] |
findByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid(java.lang.String uuid)
Returns all the layout prototypes where uuid = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ?.
|
static java.util.List<LayoutPrototype> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
static java.util.List<LayoutPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<LayoutPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutPrototype> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator) |
static LayoutPrototypePersistence |
getPersistence() |
static LayoutPrototype |
remove(long layoutPrototypeId)
Removes the layout prototype with the primary key from the database.
|
static void |
removeAll()
Removes all the layout prototypes from the database.
|
static void |
removeByC_A(long companyId,
boolean active)
Removes all the layout prototypes where companyId = ? and active = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the layout prototypes where companyId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout prototypes where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout prototypes where uuid = ? from the database.
|
void |
setPersistence(LayoutPrototypePersistence persistence)
Deprecated.
As of 6.2.0
|
static LayoutPrototype |
update(LayoutPrototype layoutPrototype) |
static LayoutPrototype |
update(LayoutPrototype layoutPrototype,
ServiceContext serviceContext) |
static LayoutPrototype |
updateImpl(LayoutPrototype layoutPrototype) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(LayoutPrototype layoutPrototype)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
public static java.util.List<LayoutPrototype> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
public static LayoutPrototype update(LayoutPrototype layoutPrototype) throws SystemException
public static LayoutPrototype update(LayoutPrototype layoutPrototype, ServiceContext serviceContext) throws SystemException
public static java.util.List<LayoutPrototype> findByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByUuid(java.lang.String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype[] findByUuid_PrevAndNext(long layoutPrototypeId, java.lang.String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid(java.lang.String uuid) throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid(java.lang.String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid(java.lang.String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype[] filterFindByUuid_PrevAndNext(long layoutPrototypeId, java.lang.String uuid, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int countByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static int filterCountByUuid(java.lang.String uuid)
throws SystemException
uuid - the uuidSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype findByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByUuid_C_First(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype findByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByUuid_C_Last(java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype[] findByUuid_C_PrevAndNext(long layoutPrototypeId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid_C(java.lang.String uuid, long companyId) throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype[] filterFindByUuid_C_PrevAndNext(long layoutPrototypeId, java.lang.String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int countByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static int filterCountByUuid_C(java.lang.String uuid,
long companyId)
throws SystemException
uuid - the uuidcompanyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByCompanyId(long companyId) throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype[] filterFindByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static int countByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static int filterCountByCompanyId(long companyId)
throws SystemException
companyId - the company IDSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active) throws SystemException
companyId - the company IDactive - the activeSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype findByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByC_A_First(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype findByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByC_A_Last(long companyId, boolean active, OrderByComparator orderByComparator) throws SystemException
companyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByC_A(long companyId, boolean active) throws SystemException
companyId - the company IDactive - the activeSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByC_A(long companyId, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static LayoutPrototype[] filterFindByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, OrderByComparator orderByComparator) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static void removeByC_A(long companyId,
boolean active)
throws SystemException
companyId - the company IDactive - the activeSystemException - if a system exception occurredpublic static int countByC_A(long companyId,
boolean active)
throws SystemException
companyId - the company IDactive - the activeSystemException - if a system exception occurredpublic static int filterCountByC_A(long companyId,
boolean active)
throws SystemException
companyId - the company IDactive - the activeSystemException - if a system exception occurredpublic static void cacheResult(LayoutPrototype layoutPrototype)
layoutPrototype - the layout prototypepublic static void cacheResult(java.util.List<LayoutPrototype> layoutPrototypes)
layoutPrototypes - the layout prototypespublic static LayoutPrototype create(long layoutPrototypeId)
layoutPrototypeId - the primary key for the new layout prototypepublic static LayoutPrototype remove(long layoutPrototypeId) throws NoSuchLayoutPrototypeException, SystemException
layoutPrototypeId - the primary key of the layout prototypeNoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype updateImpl(LayoutPrototype layoutPrototype) throws SystemException
SystemExceptionpublic static LayoutPrototype findByPrimaryKey(long layoutPrototypeId) throws NoSuchLayoutPrototypeException, SystemException
NoSuchLayoutPrototypeException if it could not be found.layoutPrototypeId - the primary key of the layout prototypeNoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId) throws SystemException
null if it could not be found.layoutPrototypeId - the primary key of the layout prototypenull if a layout prototype with the primary key could not be foundSystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findAll() throws SystemException
SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)SystemException - if a system exception occurredpublic static java.util.List<LayoutPrototype> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl. 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 prototypesend - the upper bound of the range of layout prototypes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static void removeAll()
throws SystemException
SystemException - if a system exception occurredpublic static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static LayoutPrototypePersistence getPersistence()
public void setPersistence(LayoutPrototypePersistence persistence)