public class AssetDisplayPageEntryUtil
extends java.lang.Object
com.liferay.asset.display.page.service.persistence.impl.AssetDisplayPageEntryPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AssetDisplayPageEntryPersistence
Constructor and Description |
---|
AssetDisplayPageEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AssetDisplayPageEntry assetDisplayPageEntry)
Caches the asset display page entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AssetDisplayPageEntry> assetDisplayPageEntries)
Caches the asset display page entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AssetDisplayPageEntry assetDisplayPageEntry) |
static int |
countAll()
Returns the number of asset display page entries.
|
static int |
countByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the number of asset display page entries where groupId = ? and classNameId = ? and classPK = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of asset display page entries where groupId = ?.
|
static int |
countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Returns the number of asset display page entries where layoutPageTemplateEntryId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of asset display page entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of asset display page entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of asset display page entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AssetDisplayPageEntry |
create(long assetDisplayPageEntryId)
Creates a new asset display page entry with the primary key.
|
static AssetDisplayPageEntry |
fetchByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
static AssetDisplayPageEntry |
fetchByG_C_C(long groupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetDisplayPageEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where groupId = ?.
|
static AssetDisplayPageEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where groupId = ?.
|
static AssetDisplayPageEntry |
fetchByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
static AssetDisplayPageEntry |
fetchByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
static AssetDisplayPageEntry |
fetchByPrimaryKey(long assetDisplayPageEntryId)
Returns the asset display page entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AssetDisplayPageEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static AssetDisplayPageEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where uuid = ? and companyId = ?.
|
static AssetDisplayPageEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where uuid = ? and companyId = ?.
|
static AssetDisplayPageEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where uuid = ?.
|
static AssetDisplayPageEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset display page entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static AssetDisplayPageEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the asset display page entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AssetDisplayPageEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findAll()
Returns all the asset display page entries.
|
static java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end)
Returns a range of all the asset display page entries.
|
static java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries.
|
static java.util.List<AssetDisplayPageEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset display page entries.
|
static AssetDisplayPageEntry |
findByG_C_C(long groupId,
long classNameId,
long classPK)
Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchDisplayPageEntryException if it could not be found. |
static AssetDisplayPageEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where groupId = ?.
|
static AssetDisplayPageEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where groupId = ?.
|
static AssetDisplayPageEntry[] |
findByGroupId_PrevAndNext(long assetDisplayPageEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByGroupId(long groupId)
Returns all the asset display page entries where groupId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset display page entries where groupId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries where groupId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset display page entries where groupId = ?.
|
static AssetDisplayPageEntry |
findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
static AssetDisplayPageEntry |
findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
static AssetDisplayPageEntry[] |
findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId,
long layoutPageTemplateEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the asset display page entries before and after the current asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Returns all the asset display page entries where layoutPageTemplateEntryId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end)
Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset display page entries where layoutPageTemplateEntryId = ?.
|
static AssetDisplayPageEntry |
findByPrimaryKey(long assetDisplayPageEntryId)
Returns the asset display page entry with the primary key or throws a
NoSuchDisplayPageEntryException if it could not be found. |
static AssetDisplayPageEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where uuid = ? and companyId = ?.
|
static AssetDisplayPageEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where uuid = ? and companyId = ?.
|
static AssetDisplayPageEntry[] |
findByUuid_C_PrevAndNext(long assetDisplayPageEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the asset display page entries where uuid = ? and companyId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the asset display page entries where uuid = ? and companyId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries where uuid = ? and companyId = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset display page entries where uuid = ? and companyId = ?.
|
static AssetDisplayPageEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the first asset display page entry in the ordered set where uuid = ?.
|
static AssetDisplayPageEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the asset display page entry where uuid = ? and groupId = ? or throws a
NoSuchDisplayPageEntryException if it could not be found. |
static AssetDisplayPageEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the last asset display page entry in the ordered set where uuid = ?.
|
static AssetDisplayPageEntry[] |
findByUuid_PrevAndNext(long assetDisplayPageEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid(java.lang.String uuid)
Returns all the asset display page entries where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the asset display page entries where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
Returns an ordered range of all the asset display page entries where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the asset display page entries where uuid = ?.
|
static java.util.List<AssetDisplayPageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AssetDisplayPageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AssetDisplayPageEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) |
static AssetDisplayPageEntryPersistence |
getPersistence() |
static AssetDisplayPageEntry |
remove(long assetDisplayPageEntryId)
Removes the asset display page entry with the primary key from the database.
|
static void |
removeAll()
Removes all the asset display page entries from the database.
|
static AssetDisplayPageEntry |
removeByG_C_C(long groupId,
long classNameId,
long classPK)
Removes the asset display page entry where groupId = ? and classNameId = ? and classPK = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the asset display page entries where groupId = ? from the database.
|
static void |
removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
Removes all the asset display page entries where layoutPageTemplateEntryId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the asset display page entries where uuid = ? and companyId = ? from the database.
|
static AssetDisplayPageEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the asset display page entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the asset display page entries where uuid = ? from the database.
|
static AssetDisplayPageEntry |
update(AssetDisplayPageEntry assetDisplayPageEntry) |
static AssetDisplayPageEntry |
update(AssetDisplayPageEntry assetDisplayPageEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AssetDisplayPageEntry |
updateImpl(AssetDisplayPageEntry assetDisplayPageEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AssetDisplayPageEntry assetDisplayPageEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AssetDisplayPageEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AssetDisplayPageEntry update(AssetDisplayPageEntry assetDisplayPageEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AssetDisplayPageEntry update(AssetDisplayPageEntry assetDisplayPageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AssetDisplayPageEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<AssetDisplayPageEntry> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)public static java.util.List<AssetDisplayPageEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetDisplayPageEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetDisplayPageEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry[] findByUuid_PrevAndNext(long assetDisplayPageEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId
- the primary key of the current asset display page entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static AssetDisplayPageEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchDisplayPageEntryException
NoSuchDisplayPageEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchDisplayPageEntryException
uuid
- the uuidgroupId
- the group IDNoSuchDisplayPageEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<AssetDisplayPageEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AssetDisplayPageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)public static java.util.List<AssetDisplayPageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetDisplayPageEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetDisplayPageEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry[] findByUuid_C_PrevAndNext(long assetDisplayPageEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId
- the primary key of the current asset display page entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<AssetDisplayPageEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)public static java.util.List<AssetDisplayPageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetDisplayPageEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetDisplayPageEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry[] findByGroupId_PrevAndNext(long assetDisplayPageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId
- the primary key of the current asset display page entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId
- the layout page template entry IDpublic static java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
layoutPageTemplateEntryId
- the layout page template entry IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)public static java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
layoutPageTemplateEntryId
- the layout page template entry IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
layoutPageTemplateEntryId
- the layout page template entry IDstart
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator)
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry[] findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId
- the primary key of the current asset display page entrylayoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static void removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId
- the layout page template entry IDpublic static int countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId)
layoutPageTemplateEntryId
- the layout page template entry IDpublic static AssetDisplayPageEntry findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException
NoSuchDisplayPageEntryException
if it could not be found.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByG_C_C(long groupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry fetchByG_C_C(long groupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching asset display page entry could not be foundpublic static AssetDisplayPageEntry removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchDisplayPageEntryException
public static int countByG_C_C(long groupId, long classNameId, long classPK)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkpublic static void cacheResult(AssetDisplayPageEntry assetDisplayPageEntry)
assetDisplayPageEntry
- the asset display page entrypublic static void cacheResult(java.util.List<AssetDisplayPageEntry> assetDisplayPageEntries)
assetDisplayPageEntries
- the asset display page entriespublic static AssetDisplayPageEntry create(long assetDisplayPageEntryId)
assetDisplayPageEntryId
- the primary key for the new asset display page entrypublic static AssetDisplayPageEntry remove(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
assetDisplayPageEntryId
- the primary key of the asset display page entryNoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static AssetDisplayPageEntry updateImpl(AssetDisplayPageEntry assetDisplayPageEntry)
public static AssetDisplayPageEntry findByPrimaryKey(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException
NoSuchDisplayPageEntryException
if it could not be found.assetDisplayPageEntryId
- the primary key of the asset display page entryNoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundpublic static AssetDisplayPageEntry fetchByPrimaryKey(long assetDisplayPageEntryId)
null
if it could not be found.assetDisplayPageEntryId
- the primary key of the asset display page entrynull
if a asset display page entry with the primary key could not be foundpublic static java.util.List<AssetDisplayPageEntry> findAll()
public static java.util.List<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
start
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)public static java.util.List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> 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, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
start
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AssetDisplayPageEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AssetDisplayPageEntryModelImpl
.
start
- the lower bound of the range of asset display page entriesend
- the upper bound of the range of asset display page entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AssetDisplayPageEntryPersistence getPersistence()