Class AssetDisplayPageEntryUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(AssetDisplayPageEntry assetDisplayPageEntry) Caches the asset display page entry in the entity cache if it is enabled.static void
cacheResult
(List<AssetDisplayPageEntry> assetDisplayPageEntries) Caches the asset display page entries in the entity cache if it is enabled.static void
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
countByG_CN
(long groupId, long classNameId) Returns the number of asset display page entries where groupId = ? and classNameId = ?.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
(String uuid) Returns the number of asset display page entries where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of asset display page entries where uuid = ? and companyId = ?.static int
countByUUID_G
(String uuid, long groupId) Returns the number of asset display page entries where uuid = ? and groupId = ?.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 returnsnull
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 returnsnull
if it could not be found, optionally using the finder cache.static AssetDisplayPageEntry
fetchByG_CN_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.static AssetDisplayPageEntry
fetchByG_CN_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.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 returnsnull
if it could not be found.static Map<Serializable,
AssetDisplayPageEntry> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static AssetDisplayPageEntry
fetchByUuid_C_First
(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
(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
(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
(String uuid, long groupId) Returns the asset display page entry where uuid = ? and groupId = ? or returnsnull
if it could not be found.static AssetDisplayPageEntry
fetchByUUID_G
(String uuid, long groupId, boolean useFinderCache) Returns the asset display page entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.static AssetDisplayPageEntry
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the last asset display page entry in the ordered set where uuid = ?.static List<AssetDisplayPageEntry>
findAll()
Returns all the asset display page entries.static List<AssetDisplayPageEntry>
findAll
(int start, int end) Returns a range of all the asset display page entries.static 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 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 aNoSuchDisplayPageEntryException
if it could not be found.static List<AssetDisplayPageEntry>
findByG_CN
(long groupId, long classNameId) Returns all the asset display page entries where groupId = ? and classNameId = ?.static List<AssetDisplayPageEntry>
findByG_CN
(long groupId, long classNameId, int start, int end) Returns a range of all the asset display page entries where groupId = ? and classNameId = ?.static List<AssetDisplayPageEntry>
findByG_CN
(long groupId, long classNameId, 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 = ? and classNameId = ?.static List<AssetDisplayPageEntry>
findByG_CN
(long groupId, long classNameId, 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 = ? and classNameId = ?.static AssetDisplayPageEntry
findByG_CN_First
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.static AssetDisplayPageEntry
findByG_CN_Last
(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.static AssetDisplayPageEntry[]
findByG_CN_PrevAndNext
(long assetDisplayPageEntryId, long groupId, long classNameId, 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 = ? and classNameId = ?.static List<AssetDisplayPageEntry>
findByGroupId
(long groupId) Returns all the asset display page entries where groupId = ?.static List<AssetDisplayPageEntry>
findByGroupId
(long groupId, int start, int end) Returns a range of all the asset display page entries where groupId = ?.static 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 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
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 List<AssetDisplayPageEntry>
findByLayoutPageTemplateEntryId
(long layoutPageTemplateEntryId) Returns all the asset display page entries where layoutPageTemplateEntryId = ?.static List<AssetDisplayPageEntry>
findByLayoutPageTemplateEntryId
(long layoutPageTemplateEntryId, int start, int end) Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?.static 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 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
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 AssetDisplayPageEntry
findByPrimaryKey
(long assetDisplayPageEntryId) Returns the asset display page entry with the primary key or throws aNoSuchDisplayPageEntryException
if it could not be found.static List<AssetDisplayPageEntry>
findByUuid
(String uuid) Returns all the asset display page entries where uuid = ?.static List<AssetDisplayPageEntry>
findByUuid
(String uuid, int start, int end) Returns a range of all the asset display page entries where uuid = ?.static List<AssetDisplayPageEntry>
findByUuid
(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 List<AssetDisplayPageEntry>
findByUuid
(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 List<AssetDisplayPageEntry>
findByUuid_C
(String uuid, long companyId) Returns all the asset display page entries where uuid = ? and companyId = ?.static List<AssetDisplayPageEntry>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the asset display page entries where uuid = ? and companyId = ?.static List<AssetDisplayPageEntry>
findByUuid_C
(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 List<AssetDisplayPageEntry>
findByUuid_C
(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_C_First
(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
(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, 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 AssetDisplayPageEntry
findByUuid_First
(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
(String uuid, long groupId) Returns the asset display page entry where uuid = ? and groupId = ? or throws aNoSuchDisplayPageEntryException
if it could not be found.static AssetDisplayPageEntry
findByUuid_Last
(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, 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 List<AssetDisplayPageEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<AssetDisplayPageEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<AssetDisplayPageEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) static AssetDisplayPageEntry
remove
(long assetDisplayPageEntryId) Removes the asset display page entry with the primary key from the database.static void
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
removeByG_CN
(long groupId, long classNameId) Removes all the asset display page entries where groupId = ? and classNameId = ? 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
(String uuid) Removes all the asset display page entries where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the asset display page entries where uuid = ? and companyId = ? from the database.static AssetDisplayPageEntry
removeByUUID_G
(String uuid, long groupId) Removes the asset display page entry where uuid = ? and groupId = ? from the database.static void
setPersistence
(AssetDisplayPageEntryPersistence persistence) static AssetDisplayPageEntry
update
(AssetDisplayPageEntry assetDisplayPageEntry) static AssetDisplayPageEntry
update
(AssetDisplayPageEntry assetDisplayPageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static AssetDisplayPageEntry
updateImpl
(AssetDisplayPageEntry assetDisplayPageEntry)
-
Constructor Details
-
AssetDisplayPageEntryUtil
public AssetDisplayPageEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,AssetDisplayPageEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<AssetDisplayPageEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static AssetDisplayPageEntry update(AssetDisplayPageEntry assetDisplayPageEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByUuid
Returns all the asset display page entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching asset display page entries
-
findByUuid
Returns a range of all the asset display page entries where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset display page entries
-
findByUuid
public static List<AssetDisplayPageEntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset display page entries
-
findByUuid
public static List<AssetDisplayPageEntry> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset display page entries
-
findByUuid_First
public static AssetDisplayPageEntry findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the first asset display page entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByUuid_First
public static AssetDisplayPageEntry fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the first asset display page entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByUuid_Last
public static AssetDisplayPageEntry findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the last asset display page entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByUuid_Last
public static AssetDisplayPageEntry fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the last asset display page entry in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByUuid_PrevAndNext
public static AssetDisplayPageEntry[] findByUuid_PrevAndNext(long assetDisplayPageEntryId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ?.- Parameters:
assetDisplayPageEntryId
- the primary key of the current asset display page entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
removeByUuid
Removes all the asset display page entries where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of asset display page entries where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching asset display page entries
-
findByUUID_G
public static AssetDisplayPageEntry findByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException Returns the asset display page entry where uuid = ? and groupId = ? or throws aNoSuchDisplayPageEntryException
if it could not be found.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByUUID_G
Returns the asset display page entry where uuid = ? and groupId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
fetchByUUID_G
public static AssetDisplayPageEntry fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the asset display page entry where uuid = ? and groupId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
removeByUUID_G
public static AssetDisplayPageEntry removeByUUID_G(String uuid, long groupId) throws NoSuchDisplayPageEntryException Removes the asset display page entry where uuid = ? and groupId = ? from the database.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the asset display page entry that was removed
- Throws:
NoSuchDisplayPageEntryException
-
countByUUID_G
Returns the number of asset display page entries where uuid = ? and groupId = ?.- Parameters:
uuid
- the uuidgroupId
- the group ID- Returns:
- the number of matching asset display page entries
-
findByUuid_C
Returns all the asset display page entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching asset display page entries
-
findByUuid_C
public static List<AssetDisplayPageEntry> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the asset display page entries where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset display page entries
-
findByUuid_C
public static List<AssetDisplayPageEntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset display page entries
-
findByUuid_C
public static List<AssetDisplayPageEntry> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset display page entries
-
findByUuid_C_First
public static AssetDisplayPageEntry findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the first asset display page entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByUuid_C_First
public static AssetDisplayPageEntry fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByUuid_C_Last
public static AssetDisplayPageEntry findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the last asset display page entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByUuid_C_Last
public static AssetDisplayPageEntry fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByUuid_C_PrevAndNext
public static AssetDisplayPageEntry[] findByUuid_C_PrevAndNext(long assetDisplayPageEntryId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the asset display page entries before and after the current asset display page entry in the ordered set where uuid = ? and companyId = ?.- Parameters:
assetDisplayPageEntryId
- the primary key of the current asset display page entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
removeByUuid_C
Removes all the asset display page entries where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of asset display page entries where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching asset display page entries
-
findByGroupId
Returns all the asset display page entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching asset display page entries
-
findByGroupId
Returns a range of all the asset display page entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset display page entries
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset display page entries
-
findByGroupId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset display page entries
-
findByGroupId_First
public static AssetDisplayPageEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the first asset display page entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByGroupId_First
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByGroupId_Last
public static AssetDisplayPageEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the last asset display page entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByGroupId_Last
public 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 = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByGroupId_PrevAndNext
public static AssetDisplayPageEntry[] findByGroupId_PrevAndNext(long assetDisplayPageEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ?.- Parameters:
assetDisplayPageEntryId
- the primary key of the current asset display page entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
removeByGroupId
public static void removeByGroupId(long groupId) Removes all the asset display page entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Returns the number of asset display page entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching asset display page entries
-
findByLayoutPageTemplateEntryId
public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId) Returns all the asset display page entries where layoutPageTemplateEntryId = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry ID- Returns:
- the matching asset display page entries
-
findByLayoutPageTemplateEntryId
public static List<AssetDisplayPageEntry> findByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId, int start, int end) Returns a range of all the asset display page entries where layoutPageTemplateEntryId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching asset display page entries
-
findByLayoutPageTemplateEntryId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching asset display page entries
-
findByLayoutPageTemplateEntryId
public static 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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset display page entries
-
findByLayoutPageTemplateEntryId_First
public static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_First(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the first asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByLayoutPageTemplateEntryId_First
public 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 = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByLayoutPageTemplateEntryId_Last
public static AssetDisplayPageEntry findByLayoutPageTemplateEntryId_Last(long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the last asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByLayoutPageTemplateEntryId_Last
public 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 = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByLayoutPageTemplateEntryId_PrevAndNext
public static AssetDisplayPageEntry[] findByLayoutPageTemplateEntryId_PrevAndNext(long assetDisplayPageEntryId, long layoutPageTemplateEntryId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the asset display page entries before and after the current asset display page entry in the ordered set where layoutPageTemplateEntryId = ?.- Parameters:
assetDisplayPageEntryId
- the primary key of the current asset display page entrylayoutPageTemplateEntryId
- the layout page template entry IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
removeByLayoutPageTemplateEntryId
public static void removeByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId) Removes all the asset display page entries where layoutPageTemplateEntryId = ? from the database.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry ID
-
countByLayoutPageTemplateEntryId
public static int countByLayoutPageTemplateEntryId(long layoutPageTemplateEntryId) Returns the number of asset display page entries where layoutPageTemplateEntryId = ?.- Parameters:
layoutPageTemplateEntryId
- the layout page template entry ID- Returns:
- the number of matching asset display page entries
-
findByG_CN
Returns all the asset display page entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the matching asset display page entries
-
findByG_CN
public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, int start, int end) Returns a range of all the asset display page entries where groupId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name 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)- Returns:
- the range of matching asset display page entries
-
findByG_CN
public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, 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 = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name 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 (optionallynull
)- Returns:
- the ordered range of matching asset display page entries
-
findByG_CN
public static List<AssetDisplayPageEntry> findByG_CN(long groupId, long classNameId, 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 = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
groupId
- the group IDclassNameId
- the class name 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching asset display page entries
-
findByG_CN_First
public static AssetDisplayPageEntry findByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByG_CN_First
public static AssetDisplayPageEntry fetchByG_CN_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the first asset display page entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByG_CN_Last
public static AssetDisplayPageEntry findByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByG_CN_Last
public static AssetDisplayPageEntry fetchByG_CN_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) Returns the last asset display page entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
findByG_CN_PrevAndNext
public static AssetDisplayPageEntry[] findByG_CN_PrevAndNext(long assetDisplayPageEntryId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<AssetDisplayPageEntry> orderByComparator) throws NoSuchDisplayPageEntryException Returns the asset display page entries before and after the current asset display page entry in the ordered set where groupId = ? and classNameId = ?.- Parameters:
assetDisplayPageEntryId
- the primary key of the current asset display page entrygroupId
- the group IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
removeByG_CN
public static void removeByG_CN(long groupId, long classNameId) Removes all the asset display page entries where groupId = ? and classNameId = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name ID
-
countByG_CN
public static int countByG_CN(long groupId, long classNameId) Returns the number of asset display page entries where groupId = ? and classNameId = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name ID- Returns:
- the number of matching asset display page entries
-
findByG_C_C
public static AssetDisplayPageEntry findByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or throws aNoSuchDisplayPageEntryException
if it could not be found.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a matching asset display page entry could not be foundNoSuchDisplayPageEntryException
-
fetchByG_C_C
Returns the asset display page entry where groupId = ? and classNameId = ? and classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
fetchByG_C_C
public 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 returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching asset display page entry, or
null
if a matching asset display page entry could not be found
-
removeByG_C_C
public static AssetDisplayPageEntry removeByG_C_C(long groupId, long classNameId, long classPK) throws NoSuchDisplayPageEntryException Removes the asset display page entry where groupId = ? and classNameId = ? and classPK = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the asset display page entry that was removed
- Throws:
NoSuchDisplayPageEntryException
-
countByG_C_C
public 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 = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pk- Returns:
- the number of matching asset display page entries
-
cacheResult
Caches the asset display page entry in the entity cache if it is enabled.- Parameters:
assetDisplayPageEntry
- the asset display page entry
-
cacheResult
Caches the asset display page entries in the entity cache if it is enabled.- Parameters:
assetDisplayPageEntries
- the asset display page entries
-
create
Creates a new asset display page entry with the primary key. Does not add the asset display page entry to the database.- Parameters:
assetDisplayPageEntryId
- the primary key for the new asset display page entry- Returns:
- the new asset display page entry
-
remove
public static AssetDisplayPageEntry remove(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException Removes the asset display page entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
assetDisplayPageEntryId
- the primary key of the asset display page entry- Returns:
- the asset display page entry that was removed
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
updateImpl
-
findByPrimaryKey
public static AssetDisplayPageEntry findByPrimaryKey(long assetDisplayPageEntryId) throws NoSuchDisplayPageEntryException Returns the asset display page entry with the primary key or throws aNoSuchDisplayPageEntryException
if it could not be found.- Parameters:
assetDisplayPageEntryId
- the primary key of the asset display page entry- Returns:
- the asset display page entry
- Throws:
NoSuchDisplayPageEntryException
- if a asset display page entry with the primary key could not be foundNoSuchDisplayPageEntryException
-
fetchByPrimaryKey
Returns the asset display page entry with the primary key or returnsnull
if it could not be found.- Parameters:
assetDisplayPageEntryId
- the primary key of the asset display page entry- Returns:
- the asset display page entry, or
null
if a asset display page entry with the primary key could not be found
-
findAll
Returns all the asset display page entries.- Returns:
- the asset display page entries
-
findAll
Returns a range of all the asset display page entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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)- Returns:
- the range of asset display page entries
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of asset display page entries
-
findAll
public static 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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromAssetDisplayPageEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of asset display page entries
-
removeAll
public static void removeAll()Removes all the asset display page entries from the database. -
countAll
public static int countAll()Returns the number of asset display page entries.- Returns:
- the number of asset display page entries
-
getPersistence
-
setPersistence
-