@ProviderType
public class LayoutSetVersionPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
implements com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
LayoutSetVersionPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the layout set version persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
Caches the layout set version in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.LayoutSetVersion> layoutSetVersions)
Caches the layout set versions in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(LayoutSetVersionModelImpl layoutSetVersionModelImpl) |
void |
clearCache()
Clears the cache for all layout set versions.
|
void |
clearCache(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
Clears the cache for the layout set version.
|
void |
clearCache(List<com.liferay.portal.kernel.model.LayoutSetVersion> layoutSetVersions) |
protected void |
clearUniqueFindersCache(LayoutSetVersionModelImpl layoutSetVersionModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of layout set versions.
|
int |
countByG_P_Version(long groupId,
boolean privateLayout,
int version)
Returns the number of layout set versions where groupId = ? and privateLayout = ? and version = ?.
|
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set versions where groupId = ? and privateLayout = ?.
|
int |
countByGroupId_Version(long groupId,
int version)
Returns the number of layout set versions where groupId = ? and version = ?.
|
int |
countByGroupId(long groupId)
Returns the number of layout set versions where groupId = ?.
|
int |
countByLayoutSetId_Version(long layoutSetId,
int version)
Returns the number of layout set versions where layoutSetId = ? and version = ?.
|
int |
countByLayoutSetId(long layoutSetId)
Returns the number of layout set versions where layoutSetId = ?.
|
int |
countByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Returns the number of layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
int |
countByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Returns the number of layout set versions where layoutSetPrototypeUuid = ?.
|
int |
countByP_L_Version(boolean privateLayout,
long logoId,
int version)
Returns the number of layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
int |
countByP_L(boolean privateLayout,
long logoId)
Returns the number of layout set versions where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
create(long layoutSetVersionId)
Creates a new layout set version with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByG_P_Version(long groupId,
boolean privateLayout,
int version,
boolean retrieveFromCache)
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. |
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByGroupId_Version_First(long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByGroupId_Version_Last(long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetId_First(long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetId_Last(long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetId = ?.
|
com.liferay.portal.kernel.model.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. |
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetId_Version(long layoutSetId,
int version,
boolean retrieveFromCache)
Returns the layout set version where layoutSetId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByP_L_First(boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByP_L_Last(boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByP_L_Version_First(boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByP_L_Version_Last(boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
fetchByPrimaryKey(long layoutSetVersionId)
Returns the layout set version with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findAll()
Returns all the layout set versions.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findAll(int start,
int end)
Returns a range of all the layout set versions.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByG_P_PrevAndNext(long layoutSetVersionId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.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. |
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout set versions where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set versions where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ? and privateLayout = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByGroupId_PrevAndNext(long layoutSetVersionId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByGroupId_Version_First(long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where groupId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByGroupId_Version_Last(long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where groupId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByGroupId_Version_PrevAndNext(long layoutSetVersionId,
long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where groupId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version)
Returns all the layout set versions where groupId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end)
Returns a range of all the layout set versions where groupId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where groupId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId(long groupId)
Returns all the layout set versions where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set versions where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where groupId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetId_First(long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetId_Last(long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByLayoutSetId_PrevAndNext(long layoutSetVersionId,
long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetId = ?.
|
com.liferay.portal.kernel.model.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. |
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetId(long layoutSetId)
Returns all the layout set versions where layoutSetId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end)
Returns a range of all the layout set versions where layoutSetId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetId(long layoutSetId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where layoutSetId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetVersionId,
String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByLayoutSetPrototypeUuid_Version_PrevAndNext(long layoutSetVersionId,
String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where layoutSetPrototypeUuid = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Returns all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end)
Returns a range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Returns all the layout set versions where layoutSetPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end)
Returns a range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where layoutSetPrototypeUuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByP_L_First(boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByP_L_Last(boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByP_L_PrevAndNext(long layoutSetVersionId,
boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the layout set versions before and after the current layout set version in the ordered set where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByP_L_Version_First(boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the first layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByP_L_Version_Last(boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns the last layout set version in the ordered set where privateLayout = ? and logoId = ? and version = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion[] |
findByP_L_Version_PrevAndNext(long layoutSetVersionId,
boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version)
Returns all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.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 = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L_Version(boolean privateLayout,
long logoId,
int version,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ? and version = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId)
Returns all the layout set versions where privateLayout = ? and logoId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end)
Returns a range of all the layout set versions where privateLayout = ? and logoId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetVersion> |
findByP_L(boolean privateLayout,
long logoId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set versions where privateLayout = ? and logoId = ?.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
findByPrimaryKey(long layoutSetVersionId)
Returns the layout set version with the primary key or throws a
NoSuchLayoutSetVersionException if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetVersion |
findByPrimaryKey(Serializable primaryKey)
Returns the layout set version with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByGroupId_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
long groupId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByLayoutSetId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
long layoutSetId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByLayoutSetPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
String layoutSetPrototypeUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByLayoutSetPrototypeUuid_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
String layoutSetPrototypeUuid,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByP_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
boolean privateLayout,
long logoId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetVersion |
getByP_L_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion,
boolean privateLayout,
long logoId,
int version,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.LayoutSetVersion |
remove(long layoutSetVersionId)
Removes the layout set version with the primary key from the database.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
remove(Serializable primaryKey)
Removes the layout set version with the primary key from the database.
|
void |
removeAll()
Removes all the layout set versions from the database.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
removeByG_P_Version(long groupId,
boolean privateLayout,
int version)
Removes the layout set version where groupId = ? and privateLayout = ? and version = ? from the database.
|
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layout set versions where groupId = ? and privateLayout = ? from the database.
|
void |
removeByGroupId_Version(long groupId,
int version)
Removes all the layout set versions where groupId = ? and version = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the layout set versions where groupId = ? from the database.
|
com.liferay.portal.kernel.model.LayoutSetVersion |
removeByLayoutSetId_Version(long layoutSetId,
int version)
Removes the layout set version where layoutSetId = ? and version = ? from the database.
|
void |
removeByLayoutSetId(long layoutSetId)
Removes all the layout set versions where layoutSetId = ? from the database.
|
void |
removeByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid,
int version)
Removes all the layout set versions where layoutSetPrototypeUuid = ? and version = ? from the database.
|
void |
removeByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Removes all the layout set versions where layoutSetPrototypeUuid = ? from the database.
|
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.
|
void |
removeByP_L(boolean privateLayout,
long logoId)
Removes all the layout set versions where privateLayout = ? and logoId = ? from the database.
|
protected com.liferay.portal.kernel.model.LayoutSetVersion |
removeImpl(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion) |
com.liferay.portal.kernel.model.LayoutSetVersion |
updateImpl(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetId(long layoutSetId)
findByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDpublic List<com.liferay.portal.kernel.model.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.
findByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetId(long layoutSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetId(long layoutSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetId_First(long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetId_First(long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetId_Last(long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetId_Last(long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByLayoutSetId_PrevAndNext(long layoutSetVersionId, long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the current layout set versionlayoutSetId
- the layout set IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByLayoutSetId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, long layoutSetId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByLayoutSetId(long layoutSetId)
removeByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDpublic int countByLayoutSetId(long layoutSetId)
countByLayoutSetId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDpublic com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetId_Version(long layoutSetId, int version) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.findByLayoutSetId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDversion
- the versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetId_Version(long layoutSetId, int version)
null
if it could not be found. Uses the finder cache.fetchByLayoutSetId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDversion
- the versionnull
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetId_Version(long layoutSetId, int version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByLayoutSetId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion removeByLayoutSetId_Version(long layoutSetId, int version) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
removeByLayoutSetId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDversion
- the versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
public int countByLayoutSetId_Version(long layoutSetId, int version)
countByLayoutSetId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetId
- the layout set IDversion
- the versionpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion[] findByGroupId_PrevAndNext(long layoutSetVersionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the current layout set versiongroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId_Version(long groupId, int version)
findByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDversion
- the versionpublic List<com.liferay.portal.kernel.model.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.
findByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId_Version(long groupId, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByGroupId_Version(long groupId, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByGroupId_Version_First(long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByGroupId_Version_First(long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByGroupId_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByGroupId_Version_Last(long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByGroupId_Version_Last(long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByGroupId_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByGroupId_Version_PrevAndNext(long layoutSetVersionId, long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByGroupId_Version_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the current layout set versiongroupId
- the group IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByGroupId_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, long groupId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByGroupId_Version(long groupId, int version)
removeByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDversion
- the versionpublic int countByGroupId_Version(long groupId, int version)
countByGroupId_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDversion
- the versionpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
findByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidpublic List<com.liferay.portal.kernel.model.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.
findByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetPrototypeUuid_First(String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetPrototypeUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetPrototypeUuid_Last(String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetPrototypeUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByLayoutSetPrototypeUuid_PrevAndNext(long layoutSetVersionId, String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the current layout set versionlayoutSetPrototypeUuid
- the layout set prototype uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByLayoutSetPrototypeUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, String layoutSetPrototypeUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
removeByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidpublic int countByLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
countByLayoutSetPrototypeUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
findByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic List<com.liferay.portal.kernel.model.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.
findByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetPrototypeUuid_Version_First(String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetPrototypeUuid_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByLayoutSetPrototypeUuid_Version_Last(String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByLayoutSetPrototypeUuid_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByLayoutSetPrototypeUuid_Version_PrevAndNext(long layoutSetVersionId, String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByLayoutSetPrototypeUuid_Version_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByLayoutSetPrototypeUuid_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, String layoutSetPrototypeUuid, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
removeByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic int countByLayoutSetPrototypeUuid_Version(String layoutSetPrototypeUuid, int version)
countByLayoutSetPrototypeUuid_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetPrototypeUuid
- the layout set prototype uuidversion
- the versionpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByG_P(long groupId, boolean privateLayout)
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic List<com.liferay.portal.kernel.model.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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByG_P_PrevAndNext(long layoutSetVersionId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByG_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByG_P(long groupId, boolean privateLayout)
removeByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic int countByG_P(long groupId, boolean privateLayout)
countByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic com.liferay.portal.kernel.model.LayoutSetVersion findByG_P_Version(long groupId, boolean privateLayout, int version) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.findByG_P_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutversion
- the versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByG_P_Version(long groupId, boolean privateLayout, int version)
null
if it could not be found. Uses the finder cache.fetchByG_P_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutversion
- the versionnull
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByG_P_Version(long groupId, boolean privateLayout, int version, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_P_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutversion
- the versionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion removeByG_P_Version(long groupId, boolean privateLayout, int version) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
removeByG_P_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutversion
- the versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
public int countByG_P_Version(long groupId, boolean privateLayout, int version)
countByG_P_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
groupId
- the group IDprivateLayout
- the private layoutversion
- the versionpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L(boolean privateLayout, long logoId)
findByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDpublic List<com.liferay.portal.kernel.model.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.
findByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L(boolean privateLayout, long logoId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L(boolean privateLayout, long logoId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByP_L_First(boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByP_L_First(boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByP_L_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByP_L_Last(boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByP_L_Last(boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByP_L_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByP_L_PrevAndNext(long layoutSetVersionId, boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByP_L_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, boolean privateLayout, long logoId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByP_L(boolean privateLayout, long logoId)
removeByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDpublic int countByP_L(boolean privateLayout, long logoId)
countByP_L
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version)
findByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic List<com.liferay.portal.kernel.model.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.
findByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findByP_L_Version(boolean privateLayout, long logoId, int version, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetVersion findByP_L_Version_First(boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByP_L_Version_First(boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByP_L_Version_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion findByP_L_Version_Last(boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a matching layout set version could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByP_L_Version_Last(boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator)
fetchByP_L_Version_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 com.liferay.portal.kernel.model.LayoutSetVersion[] findByP_L_Version_PrevAndNext(long layoutSetVersionId, boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
findByP_L_Version_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion getByP_L_Version_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion, boolean privateLayout, long logoId, int version, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean previous)
public void removeByP_L_Version(boolean privateLayout, long logoId, int version)
removeByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic int countByP_L_Version(boolean privateLayout, long logoId, int version)
countByP_L_Version
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
privateLayout
- the private layoutlogoId
- the logo IDversion
- the versionpublic void cacheResult(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
layoutSetVersion
- the layout set versionpublic void cacheResult(List<com.liferay.portal.kernel.model.LayoutSetVersion> layoutSetVersions)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersions
- the layout set versionspublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
public void clearCache(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
public void clearCache(List<com.liferay.portal.kernel.model.LayoutSetVersion> layoutSetVersions)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
protected void cacheUniqueFindersCache(LayoutSetVersionModelImpl layoutSetVersionModelImpl)
protected void clearUniqueFindersCache(LayoutSetVersionModelImpl layoutSetVersionModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.LayoutSetVersion create(long layoutSetVersionId)
create
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key for the new layout set versionpublic com.liferay.portal.kernel.model.LayoutSetVersion remove(long layoutSetVersionId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
remove
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the layout set versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
primaryKey
- the primary key of the layout set versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetVersion removeImpl(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
public com.liferay.portal.kernel.model.LayoutSetVersion updateImpl(com.liferay.portal.kernel.model.LayoutSetVersion layoutSetVersion)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
public com.liferay.portal.kernel.model.LayoutSetVersion findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
primaryKey
- the primary key of the layout set versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion findByPrimaryKey(long layoutSetVersionId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
NoSuchLayoutSetVersionException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the layout set versioncom.liferay.portal.kernel.exception.NoSuchLayoutSetVersionException
- if a layout set version with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetVersion fetchByPrimaryKey(long layoutSetVersionId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
layoutSetVersionId
- the primary key of the layout set versionnull
if a layout set version with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.LayoutSetVersion> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
public List<com.liferay.portal.kernel.model.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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
start
- the lower bound of the range of layout set versionsend
- the upper bound of the range of layout set versions (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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 List<com.liferay.portal.kernel.model.LayoutSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetVersion> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from 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.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetVersionPersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetVersion>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetVersion>
public void afterPropertiesSet()
public void destroy()