public class LayoutSetVersionUtil
extends Object
com.liferay.portal.service.persistence.impl.LayoutSetVersionPersistenceImpl
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
LayoutSetVersionPersistence
Constructor and Description |
---|
LayoutSetVersionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutSetVersion layoutSetVersion)
Caches the layout set version in the entity cache if it is enabled.
|
static void |
cacheResult(List<LayoutSetVersion> layoutSetVersions)
Caches the layout set versions in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutSetVersion layoutSetVersion) |
static int |
countAll()
Returns the number of layout set versions.
|
static int |
countByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version)
Returns the number of layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static int |
countByC_L(long companyId,
String layoutSetPrototypeUuid)
Returns the number of layout set versions where companyId = ? and layoutSetPrototypeUuid = ?.
|
static int |
countByG_P_Version(long groupId,
boolean privateLayout,
int version)
Returns the number of layout set versions where groupId = ? and privateLayout = ? and version = ?.
|
static int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set versions where groupId = ? and privateLayout = ?.
|
static int |
countByGroupId_Version(long groupId,
int version)
Returns the number of layout set versions where groupId = ? and version = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of layout set versions where groupId = ?.
|
static int |
countByLayoutSetId_Version(long layoutSetId,
int version)
Returns the number of layout set versions where layoutSetId = ? and version = ?.
|
static int |
countByLayoutSetId(long layoutSetId)
Returns the number of layout set versions where layoutSetId = ?.
|
static int |
countByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Returns the number of layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
static int |
countByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Returns the number of layout set versions where layoutSetPrototypeUuid = ?.
|
static int |
countByP_L_Version(boolean privateLayout,
long logoId,
int version)
Returns the number of layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
static int |
countByP_L(boolean privateLayout,
long logoId)
Returns the number of layout set versions where privateLayout = ? and logoId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static LayoutSetVersion |
create(long layoutSetVersionId)
Creates a new layout set version with the primary key.
|
static LayoutSetVersion |
fetchByC_L_First(long companyId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
fetchByC_L_Last(long companyId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
fetchByC_L_Version_First(long companyId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
fetchByC_L_Version_Last(long companyId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
fetchByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion |
fetchByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion |
fetchByG_P_Version(long groupId,
boolean privateLayout,
int version)
Returns the layout set version where groupId = ? and privateLayout = ? and version = ? or returns
null if it could not be found. |
static LayoutSetVersion |
fetchByG_P_Version(long groupId,
boolean privateLayout,
int version,
boolean useFinderCache)
Returns the layout set version where groupId = ? and privateLayout = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSetVersion |
fetchByGroupId_First(long groupId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ?.
|
static LayoutSetVersion |
fetchByGroupId_Last(long groupId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ?.
|
static LayoutSetVersion |
fetchByGroupId_Version_First(long groupId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and version = ?.
|
static LayoutSetVersion |
fetchByGroupId_Version_Last(long groupId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and version = ?.
|
static LayoutSetVersion |
fetchByLayoutSetId_First(long layoutSetId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetId = ?.
|
static LayoutSetVersion |
fetchByLayoutSetId_Last(long layoutSetId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetId = ?.
|
static LayoutSetVersion |
fetchByLayoutSetId_Version(long layoutSetId,
int version)
Returns the layout set version where layoutSetId = ? and version = ? or returns
null if it could not be found. |
static LayoutSetVersion |
fetchByLayoutSetId_Version(long layoutSetId,
int version,
boolean useFinderCache)
Returns the layout set version where layoutSetId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
fetchByP_L_First(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion |
fetchByP_L_Last(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion |
fetchByP_L_Version_First(boolean privateLayout,
long logoId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
static LayoutSetVersion |
fetchByP_L_Version_Last(boolean privateLayout,
long logoId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
static LayoutSetVersion |
fetchByPrimaryKey(long layoutSetVersionId)
Returns the layout set version with the primary key or returns
null if it could not be found. |
static Map<Serializable,LayoutSetVersion> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static List<LayoutSetVersion> |
findAll()
Returns all the layout set versions.
|
static List<LayoutSetVersion> |
findAll(int start,
int end)
Returns a range of all the layout set versions.
|
static List<LayoutSetVersion> |
findAll(int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions.
|
static List<LayoutSetVersion> |
findAll(int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions.
|
static LayoutSetVersion |
findByC_L_First(long companyId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByC_L_Last(long companyId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion[] |
findByC_L_PrevAndNext(long layoutSetVersionId,
long companyId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByC_L_Version_First(long companyId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
findByC_L_Version_Last(long companyId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion[] |
findByC_L_Version_PrevAndNext(long layoutSetVersionId,
long companyId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version)
Returns all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version,
int start,
int end)
Returns a range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByC_L(long companyId,
String layoutSetPrototypeUuid)
Returns all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByC_L(long companyId,
String layoutSetPrototypeUuid,
int start,
int end)
Returns a range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByC_L(long companyId,
String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByC_L(long companyId,
String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByG_P_First(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion |
findByG_P_Last(long groupId,
boolean privateLayout,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion[] |
findByG_P_PrevAndNext(long layoutSetVersionId,
long groupId,
boolean privateLayout,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion |
findByG_P_Version(long groupId,
boolean privateLayout,
int version)
Returns the layout set version where groupId = ? and privateLayout = ? and version = ? or throws a
NoSuchLayoutSetVersionException if it could not be found. |
static List<LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout set versions where groupId = ? and privateLayout = ?.
|
static List<LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set versions where groupId = ? and privateLayout = ?.
|
static List<LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ? and privateLayout = ?.
|
static List<LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where groupId = ? and privateLayout = ?.
|
static LayoutSetVersion |
findByGroupId_First(long groupId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ?.
|
static LayoutSetVersion |
findByGroupId_Last(long groupId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ?.
|
static LayoutSetVersion[] |
findByGroupId_PrevAndNext(long layoutSetVersionId,
long groupId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ?.
|
static LayoutSetVersion |
findByGroupId_Version_First(long groupId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and version = ?.
|
static LayoutSetVersion |
findByGroupId_Version_Last(long groupId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and version = ?.
|
static LayoutSetVersion[] |
findByGroupId_Version_PrevAndNext(long layoutSetVersionId,
long groupId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version)
Returns all the layout set versions where groupId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end)
Returns a range of all the layout set versions where groupId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where groupId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByGroupId(long groupId)
Returns all the layout set versions where groupId = ?.
|
static List<LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set versions where groupId = ?.
|
static List<LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ?.
|
static List<LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where groupId = ?.
|
static LayoutSetVersion |
findByLayoutSetId_First(long layoutSetId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetId = ?.
|
static LayoutSetVersion |
findByLayoutSetId_Last(long layoutSetId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetId = ?.
|
static LayoutSetVersion[] |
findByLayoutSetId_PrevAndNext(long layoutSetVersionId,
long layoutSetId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetId = ?.
|
static LayoutSetVersion |
findByLayoutSetId_Version(long layoutSetId,
int version)
Returns the layout set version where layoutSetId = ? and version = ? or throws a
NoSuchLayoutSetVersionException if it could not be found. |
static List<LayoutSetVersion> |
findByLayoutSetId(long layoutSetId)
Returns all the layout set versions where layoutSetId = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end)
Returns a range of all the layout set versions where layoutSetId = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetId = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where layoutSetId = ?.
|
static LayoutSetVersion |
findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion[] |
findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetVersionId,
String layoutSetPrototypeUuid,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion |
findByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
static LayoutSetVersion[] |
findByLayoutSetPrototypeUuid_Version_PrevAndNext(long layoutSetVersionId,
String layoutSetPrototypeUuid,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Returns all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end)
Returns a range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Returns all the layout set versions where layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end)
Returns a range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
static List<LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
static LayoutSetVersion |
findByP_L_First(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion |
findByP_L_Last(boolean privateLayout,
long logoId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion[] |
findByP_L_PrevAndNext(long layoutSetVersionId,
boolean privateLayout,
long logoId,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion |
findByP_L_Version_First(boolean privateLayout,
long logoId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
static LayoutSetVersion |
findByP_L_Version_Last(boolean privateLayout,
long logoId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
static LayoutSetVersion[] |
findByP_L_Version_PrevAndNext(long layoutSetVersionId,
boolean privateLayout,
long logoId,
int version,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version)
Returns all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version,
int start,
int end)
Returns a range of all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
static List<LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId)
Returns all the layout set versions where privateLayout = ? and logoId = ?.
|
static List<LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end)
Returns a range of all the layout set versions where privateLayout = ? and logoId = ?.
|
static List<LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ?.
|
static List<LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ?.
|
static LayoutSetVersion |
findByPrimaryKey(long layoutSetVersionId)
Returns the layout set version with the primary key or throws a
NoSuchLayoutSetVersionException if it could not be found. |
static List<LayoutSetVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static List<LayoutSetVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static List<LayoutSetVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<LayoutSetVersion> orderByComparator) |
static LayoutSetVersionPersistence |
getPersistence() |
static LayoutSetVersion |
remove(long layoutSetVersionId)
Removes the layout set version with the primary key from the database.
|
static void |
removeAll()
Removes all the layout set versions from the database.
|
static void |
removeByC_L_Version(long companyId,
String layoutSetPrototypeUuid,
int version)
Removes all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? and version = ? from the database.
|
static void |
removeByC_L(long companyId,
String layoutSetPrototypeUuid)
Removes all the layout set versions where companyId = ? and layoutSetPrototypeUuid = ? from the database.
|
static LayoutSetVersion |
removeByG_P_Version(long groupId,
boolean privateLayout,
int version)
Removes the layout set version where groupId = ? and privateLayout = ? and version = ? from the database.
|
static void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layout set versions where groupId = ? and privateLayout = ? from the database.
|
static void |
removeByGroupId_Version(long groupId,
int version)
Removes all the layout set versions where groupId = ? and version = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the layout set versions where groupId = ? from the database.
|
static LayoutSetVersion |
removeByLayoutSetId_Version(long layoutSetId,
int version)
Removes the layout set version where layoutSetId = ? and version = ? from the database.
|
static void |
removeByLayoutSetId(long layoutSetId)
Removes all the layout set versions where layoutSetId = ? from the database.
|
static void |
removeByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Removes all the layout set versions where layoutSetPrototypeUuid = ? and version = ? from the database.
|
static void |
removeByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Removes all the layout set versions where layoutSetPrototypeUuid = ? from the database.
|
static void |
removeByP_L_Version(boolean privateLayout,
long logoId,
int version)
Removes all the layout set versions where privateLayout = ? and logoId = ? and version = ? from the database.
|
static void |
removeByP_L(boolean privateLayout,
long logoId)
Removes all the layout set versions where privateLayout = ? and logoId = ? from the database.
|
static LayoutSetVersion |
update(LayoutSetVersion layoutSetVersion) |
static LayoutSetVersion |
update(LayoutSetVersion layoutSetVersion,
ServiceContext serviceContext) |
static LayoutSetVersion |
updateImpl(LayoutSetVersion layoutSetVersion) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutSetVersion layoutSetVersion)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static Map<Serializable,LayoutSetVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static List<LayoutSetVersion> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static List<LayoutSetVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static List<LayoutSetVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<LayoutSetVersion> orderByComparator)
public static LayoutSetVersion update(LayoutSetVersion layoutSetVersion)
public static LayoutSetVersion update(LayoutSetVersion layoutSetVersion, ServiceContext serviceContext)
public static List<LayoutSetVersion> findByLayoutSetId(long layoutSetId)
layoutSetId
- the layout set IDpublic static List<LayoutSetVersion> findByLayoutSetId(long layoutSetId, 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 LayoutSetVersionModelImpl
. 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.
layoutSetId
- the layout set IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByLayoutSetId(long layoutSetId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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.
layoutSetId
- the layout set IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByLayoutSetId(long layoutSetId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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.
layoutSetId
- the layout set IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByLayoutSetId_First(long layoutSetId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetId_First(long layoutSetId, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByLayoutSetId_Last(long layoutSetId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetId_Last(long layoutSetId, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByLayoutSetId_PrevAndNext(long layoutSetVersionId, long layoutSetId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versionlayoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByLayoutSetId(long layoutSetId)
layoutSetId
- the layout set IDpublic static int countByLayoutSetId(long layoutSetId)
layoutSetId
- the layout set IDpublic static LayoutSetVersion findByLayoutSetId_Version(long layoutSetId, int version) throws NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.layoutSetId
- the layout set IDversion
- the versionNoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetId_Version(long layoutSetId, int version)
null
if it could not be found. Uses the finder cache.layoutSetId
- the layout set IDversion
- the versionnull
if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetId_Version(long layoutSetId, int version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.layoutSetId
- the layout set IDversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching layout set version could not be foundpublic static LayoutSetVersion removeByLayoutSetId_Version(long layoutSetId, int version) throws NoSuchLayoutSetVersionException
layoutSetId
- the layout set IDversion
- the versionNoSuchLayoutSetVersionException
public static int countByLayoutSetId_Version(long layoutSetId, int version)
layoutSetId
- the layout set IDversion
- the versionpublic static List<LayoutSetVersion> findByGroupId(long groupId)
groupId
- the group IDpublic static List<LayoutSetVersion> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByGroupId(long groupId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByGroupId_First(long groupId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByGroupId_First(long groupId, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByGroupId_Last(long groupId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByGroupId_Last(long groupId, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByGroupId_PrevAndNext(long layoutSetVersionId, long groupId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static List<LayoutSetVersion> findByGroupId_Version(long groupId, int version)
groupId
- the group IDversion
- the versionpublic static List<LayoutSetVersion> findByGroupId_Version(long groupId, int version, 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByGroupId_Version(long groupId, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByGroupId_Version(long groupId, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByGroupId_Version_First(long groupId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByGroupId_Version_First(long groupId, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByGroupId_Version_Last(long groupId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByGroupId_Version_Last(long groupId, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByGroupId_Version_PrevAndNext(long layoutSetVersionId, long groupId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versiongroupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByGroupId_Version(long groupId, int version)
groupId
- the group IDversion
- the versionpublic static int countByGroupId_Version(long groupId, int version)
groupId
- the group IDversion
- the versionpublic static List<LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static List<LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetVersionId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versionlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static int countByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
layoutSetPrototypeUuid
- the layout set prototype uuidpublic static List<LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static List<LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version, 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByLayoutSetPrototypeUuid_Version_PrevAndNext(long layoutSetVersionId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versionlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static int countByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static List<LayoutSetVersion> findByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static List<LayoutSetVersion> findByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByG_P_First(long groupId, boolean privateLayout, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByG_P_First(long groupId, boolean privateLayout, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByG_P_Last(long groupId, boolean privateLayout, OrderByComparator<LayoutSetVersion> orderByComparator)
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByG_P_PrevAndNext(long layoutSetVersionId, long groupId, boolean privateLayout, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versiongroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static int countByG_P(long groupId, boolean privateLayout)
groupId
- the group IDprivateLayout
- the private layoutpublic static LayoutSetVersion findByG_P_Version(long groupId, boolean privateLayout, int version) throws NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutversion
- the versionNoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByG_P_Version(long groupId, boolean privateLayout, int version)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutversion
- the versionnull
if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByG_P_Version(long groupId, boolean privateLayout, int version, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutversion
- the versionuseFinderCache
- whether to use the finder cachenull
if a matching layout set version could not be foundpublic static LayoutSetVersion removeByG_P_Version(long groupId, boolean privateLayout, int version) throws NoSuchLayoutSetVersionException
groupId
- the group IDprivateLayout
- the private layoutversion
- the versionNoSuchLayoutSetVersionException
public static int countByG_P_Version(long groupId, boolean privateLayout, int version)
groupId
- the group IDprivateLayout
- the private layoutversion
- the versionpublic static List<LayoutSetVersion> findByC_L(long companyId, String layoutSetPrototypeUuid)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidpublic static List<LayoutSetVersion> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByC_L(long companyId, String layoutSetPrototypeUuid, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByC_L_First(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByC_L_Last(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByC_L_Last(long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByC_L_PrevAndNext(long layoutSetVersionId, long companyId, String layoutSetPrototypeUuid, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versioncompanyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByC_L(long companyId, String layoutSetPrototypeUuid)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidpublic static int countByC_L(long companyId, String layoutSetPrototypeUuid)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidpublic static List<LayoutSetVersion> findByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static List<LayoutSetVersion> findByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version, 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 LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByC_L_Version_First(long companyId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByC_L_Version_First(long companyId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByC_L_Version_Last(long companyId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByC_L_Version_Last(long companyId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByC_L_Version_PrevAndNext(long layoutSetVersionId, long companyId, String layoutSetPrototypeUuid, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versioncompanyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static int countByC_L_Version(long companyId, String layoutSetPrototypeUuid, int version)
companyId
- the company IDlayoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic static List<LayoutSetVersion> findByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static List<LayoutSetVersion> findByP_L(boolean privateLayout, long logoId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByP_L(boolean privateLayout, long logoId, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByP_L_First(boolean privateLayout, long logoId, OrderByComparator<LayoutSetVersion> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByP_L_Last(boolean privateLayout, long logoId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByP_L_Last(boolean privateLayout, long logoId, OrderByComparator<LayoutSetVersion> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByP_L_PrevAndNext(long layoutSetVersionId, boolean privateLayout, long logoId, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versionprivateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static int countByP_L(boolean privateLayout, long logoId)
privateLayout
- the private layoutlogoId
- the logo IDpublic static List<LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version)
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic static List<LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version, 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version, int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionstart
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSetVersion findByP_L_Version_First(boolean privateLayout, long logoId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByP_L_Version_First(boolean privateLayout, long logoId, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion findByP_L_Version_Last(boolean privateLayout, long logoId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic static LayoutSetVersion fetchByP_L_Version_Last(boolean privateLayout, long logoId, int version, OrderByComparator<LayoutSetVersion> orderByComparator)
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic static LayoutSetVersion[] findByP_L_Version_PrevAndNext(long layoutSetVersionId, boolean privateLayout, long logoId, int version, OrderByComparator<LayoutSetVersion> orderByComparator) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the current layout set versionprivateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static void removeByP_L_Version(boolean privateLayout, long logoId, int version)
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic static int countByP_L_Version(boolean privateLayout, long logoId, int version)
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic static void cacheResult(LayoutSetVersion layoutSetVersion)
layoutSetVersion
- the layout set versionpublic static void cacheResult(List<LayoutSetVersion> layoutSetVersions)
layoutSetVersions
- the layout set versionspublic static LayoutSetVersion create(long layoutSetVersionId)
layoutSetVersionId
- the primary key for the new layout set versionpublic static LayoutSetVersion remove(long layoutSetVersionId) throws NoSuchLayoutSetVersionException
layoutSetVersionId
- the primary key of the layout set versionNoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static LayoutSetVersion updateImpl(LayoutSetVersion layoutSetVersion)
public static LayoutSetVersion findByPrimaryKey(long layoutSetVersionId) throws NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.layoutSetVersionId
- the primary key of the layout set versionNoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic static LayoutSetVersion fetchByPrimaryKey(long layoutSetVersionId)
null
if it could not be found.layoutSetVersionId
- the primary key of the layout set versionnull
if a layout set version with the primary key could not be foundpublic static List<LayoutSetVersion> findAll()
public static List<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 versionsend
- the upper bound of the range of layout set versions (not inclusive)public static List<LayoutSetVersion> findAll(int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 versionsend
- the upper bound of the range of layout set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static List<LayoutSetVersion> findAll(int start, int end, OrderByComparator<LayoutSetVersion> 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 LayoutSetVersionModelImpl
. 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 versionsend
- the upper bound of the range of layout set versions (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 LayoutSetVersionPersistence getPersistence()