@ProviderType
public class AssetEntryPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
implements com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
Caching information and settings can be found in portal.properties
AssetEntryPersistence
,
AssetEntryUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence |
assetCategoryPersistence |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetCategory> |
assetEntryToAssetCategoryTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag> |
assetEntryToAssetTagTableMapper |
protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence |
assetTagPersistence |
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_P_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_C_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_CU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_VISIBLE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_CU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_P_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_P_E |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_V |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
AssetEntryPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAssetCategories(long pk,
List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategories(long pk,
long[] assetCategoryPKs)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategory(long pk,
com.liferay.asset.kernel.model.AssetCategory assetCategory)
Adds an association between the asset entry and the asset category.
|
void |
addAssetCategory(long pk,
long assetCategoryPK)
Adds an association between the asset entry and the asset category.
|
void |
addAssetTag(long pk,
com.liferay.asset.kernel.model.AssetTag assetTag)
Adds an association between the asset entry and the asset tag.
|
void |
addAssetTag(long pk,
long assetTagPK)
Adds an association between the asset entry and the asset tag.
|
void |
addAssetTags(long pk,
List<com.liferay.asset.kernel.model.AssetTag> assetTags)
Adds an association between the asset entry and the asset tags.
|
void |
addAssetTags(long pk,
long[] assetTagPKs)
Adds an association between the asset entry and the asset tags.
|
void |
afterPropertiesSet()
Initializes the asset entry persistence.
|
void |
cacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry)
Caches the asset entry in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
Caches the asset entries in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl) |
void |
clearAssetCategories(long pk)
Clears all associations between the asset entry and its asset categories.
|
void |
clearAssetTags(long pk)
Clears all associations between the asset entry and its asset tags.
|
void |
clearCache()
Clears the cache for all asset entries.
|
void |
clearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry)
Clears the cache for the asset entry.
|
void |
clearCache(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries) |
protected void |
clearUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl,
boolean clearCurrent) |
boolean |
containsAssetCategories(long pk)
Returns
true if the asset entry has any asset categories associated with it. |
boolean |
containsAssetCategory(long pk,
long assetCategoryPK)
Returns
true if the asset category is associated with the asset entry. |
boolean |
containsAssetTag(long pk,
long assetTagPK)
Returns
true if the asset tag is associated with the asset entry. |
boolean |
containsAssetTags(long pk)
Returns
true if the asset entry has any asset tags associated with it. |
int |
countAll()
Returns the number of asset entries.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of asset entries where classNameId = ? and classPK = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of asset entries where companyId = ?.
|
int |
countByExpirationDate(Date expirationDate)
Returns the number of asset entries where expirationDate = ?.
|
int |
countByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate)
Returns the number of asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
int |
countByG_C_V(long groupId,
long classNameId,
boolean visible)
Returns the number of asset entries where groupId = ? and classNameId = ? and visible = ?.
|
int |
countByG_CU(long groupId,
String classUuid)
Returns the number of asset entries where groupId = ? and classUuid = ?.
|
int |
countByGroupId(long groupId)
Returns the number of asset entries where groupId = ?.
|
int |
countByLayoutUuid(String layoutUuid)
Returns the number of asset entries where layoutUuid = ?.
|
int |
countByPublishDate(Date publishDate)
Returns the number of asset entries where publishDate = ?.
|
int |
countByVisible(boolean visible)
Returns the number of asset entries where visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
create(long entryId)
Creates a new asset entry with the primary key.
|
void |
destroy() |
com.liferay.asset.kernel.model.AssetEntry |
fetchByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the asset entry where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByExpirationDate_First(Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByExpirationDate_Last(Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_C_P_E_First(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_C_P_E_Last(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_C_V_First(long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_C_V_Last(long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_CU(long groupId,
String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
fetchByG_CU(long groupId,
String classUuid,
boolean retrieveFromCache)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.asset.kernel.model.AssetEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByLayoutUuid_First(String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByLayoutUuid_Last(String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByPrimaryKey(long entryId)
Returns the asset entry with the primary key or returns
null if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
fetchByPrimaryKey(Serializable primaryKey)
Returns the asset entry with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.asset.kernel.model.AssetEntry> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.asset.kernel.model.AssetEntry |
fetchByPublishDate_First(Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByPublishDate_Last(Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
fetchByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findAll()
Returns all the asset entries.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findAll(int start,
int end)
Returns a range of all the asset entries.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries.
|
com.liferay.asset.kernel.model.AssetEntry |
findByC_C(long classNameId,
long classPK)
Returns the asset entry where classNameId = ? and classPK = ? or throws a
NoSuchEntryException if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByCompanyId(long companyId)
Returns all the asset entries where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset entries where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where companyId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where companyId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByExpirationDate_First(Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByExpirationDate_Last(Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByExpirationDate_PrevAndNext(long entryId,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByExpirationDate(Date expirationDate)
Returns all the asset entries where expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end)
Returns a range of all the asset entries where expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByExpirationDate(Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByG_C_P_E_First(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByG_C_P_E_Last(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByG_C_P_E_PrevAndNext(long entryId,
long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate)
Returns all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
int start,
int end)
Returns a range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByG_C_V_First(long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByG_C_V_Last(long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByG_C_V_PrevAndNext(long entryId,
long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where groupId = ? and classNameId = ? and visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_V(long groupId,
long classNameId,
boolean visible)
Returns all the asset entries where groupId = ? and classNameId = ? and visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_V(long groupId,
long classNameId,
boolean visible,
int start,
int end)
Returns a range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_V(long groupId,
long classNameId,
boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByG_C_V(long groupId,
long classNameId,
boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where groupId = ? and classNameId = ? and visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByG_CU(long groupId,
String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or throws a
NoSuchEntryException if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where groupId = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByGroupId_PrevAndNext(long entryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByGroupId(long groupId)
Returns all the asset entries where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the asset entries where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where groupId = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where groupId = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByLayoutUuid_First(String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByLayoutUuid_Last(String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByLayoutUuid_PrevAndNext(long entryId,
String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByLayoutUuid(String layoutUuid)
Returns all the asset entries where layoutUuid = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end)
Returns a range of all the asset entries where layoutUuid = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where layoutUuid = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByLayoutUuid(String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where layoutUuid = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByPrimaryKey(long entryId)
Returns the asset entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
findByPrimaryKey(Serializable primaryKey)
Returns the asset entry with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.asset.kernel.model.AssetEntry |
findByPublishDate_First(Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByPublishDate_Last(Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByPublishDate_PrevAndNext(long entryId,
Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByPublishDate(Date publishDate)
Returns all the asset entries where publishDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end)
Returns a range of all the asset entries where publishDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where publishDate = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByPublishDate(Date publishDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where publishDate = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry |
findByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
com.liferay.asset.kernel.model.AssetEntry[] |
findByVisible_PrevAndNext(long entryId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByVisible(boolean visible)
Returns all the asset entries where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByVisible(boolean visible,
int start,
int end)
Returns a range of all the asset entries where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Returns an ordered range of all the asset entries where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the asset entries where visible = ?.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
getAssetCategories(long pk)
Returns all the asset categories associated with the asset entry.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
Returns a range of all the asset categories associated with the asset entry.
|
List<com.liferay.asset.kernel.model.AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Returns an ordered range of all the asset categories associated with the asset entry.
|
int |
getAssetCategoriesSize(long pk)
Returns the number of asset categories associated with the asset entry.
|
long[] |
getAssetCategoryPrimaryKeys(long pk)
Returns the primaryKeys of asset categories associated with the asset entry.
|
long[] |
getAssetTagPrimaryKeys(long pk)
Returns the primaryKeys of asset tags associated with the asset entry.
|
List<com.liferay.asset.kernel.model.AssetTag> |
getAssetTags(long pk)
Returns all the asset tags associated with the asset entry.
|
List<com.liferay.asset.kernel.model.AssetTag> |
getAssetTags(long pk,
int start,
int end)
Returns a range of all the asset tags associated with the asset entry.
|
List<com.liferay.asset.kernel.model.AssetTag> |
getAssetTags(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Returns an ordered range of all the asset tags associated with the asset entry.
|
int |
getAssetTagsSize(long pk)
Returns the number of asset tags associated with the asset entry.
|
protected com.liferay.asset.kernel.model.AssetEntry |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
long groupId,
long classNameId,
Date publishDate,
Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
long groupId,
long classNameId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected com.liferay.asset.kernel.model.AssetEntry |
getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.asset.kernel.model.AssetEntry assetEntry,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.asset.kernel.model.AssetEntry |
remove(long entryId)
Removes the asset entry with the primary key from the database.
|
com.liferay.asset.kernel.model.AssetEntry |
remove(Serializable primaryKey)
Removes the asset entry with the primary key from the database.
|
void |
removeAll()
Removes all the asset entries from the database.
|
void |
removeAssetCategories(long pk,
List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategories(long pk,
long[] assetCategoryPKs)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategory(long pk,
com.liferay.asset.kernel.model.AssetCategory assetCategory)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetCategory(long pk,
long assetCategoryPK)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetTag(long pk,
com.liferay.asset.kernel.model.AssetTag assetTag)
Removes the association between the asset entry and the asset tag.
|
void |
removeAssetTag(long pk,
long assetTagPK)
Removes the association between the asset entry and the asset tag.
|
void |
removeAssetTags(long pk,
List<com.liferay.asset.kernel.model.AssetTag> assetTags)
Removes the association between the asset entry and the asset tags.
|
void |
removeAssetTags(long pk,
long[] assetTagPKs)
Removes the association between the asset entry and the asset tags.
|
com.liferay.asset.kernel.model.AssetEntry |
removeByC_C(long classNameId,
long classPK)
Removes the asset entry where classNameId = ? and classPK = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the asset entries where companyId = ? from the database.
|
void |
removeByExpirationDate(Date expirationDate)
Removes all the asset entries where expirationDate = ? from the database.
|
void |
removeByG_C_P_E(long groupId,
long classNameId,
Date publishDate,
Date expirationDate)
Removes all the asset entries where groupId = ? and classNameId = ? and publishDate = ? and expirationDate = ? from the database.
|
void |
removeByG_C_V(long groupId,
long classNameId,
boolean visible)
Removes all the asset entries where groupId = ? and classNameId = ? and visible = ? from the database.
|
com.liferay.asset.kernel.model.AssetEntry |
removeByG_CU(long groupId,
String classUuid)
Removes the asset entry where groupId = ? and classUuid = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the asset entries where groupId = ? from the database.
|
void |
removeByLayoutUuid(String layoutUuid)
Removes all the asset entries where layoutUuid = ? from the database.
|
void |
removeByPublishDate(Date publishDate)
Removes all the asset entries where publishDate = ? from the database.
|
void |
removeByVisible(boolean visible)
Removes all the asset entries where visible = ? from the database.
|
protected com.liferay.asset.kernel.model.AssetEntry |
removeImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) |
void |
setAssetCategories(long pk,
List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetTags(long pk,
List<com.liferay.asset.kernel.model.AssetTag> assetTags)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetTags(long pk,
long[] assetTagPKs)
Sets the asset tags associated with the asset entry, removing and adding associations as necessary.
|
com.liferay.asset.kernel.model.AssetEntry |
updateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_CU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_CU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_V
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_P_E
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_C_P_E
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_C_P_E
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetCategoryPersistence assetCategoryPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetCategory> assetEntryToAssetCategoryTableMapper
@BeanReference(type=com.liferay.asset.kernel.service.persistence.AssetTagPersistence.class) protected com.liferay.asset.kernel.service.persistence.AssetTagPersistence assetTagPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.asset.kernel.model.AssetEntry,com.liferay.asset.kernel.model.AssetTag> assetEntryToAssetTagTableMapper
public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByGroupId_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByGroupId_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByGroupId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByGroupId_PrevAndNext(long entryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByGroupId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByCompanyId_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByCompanyId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByCompanyId_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrycompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
companyId
- the company IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible)
findByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblepublic List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByVisible_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByVisible_First(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByVisible_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByVisible_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByVisible_Last(boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByVisible_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByVisible_PrevAndNext(long entryId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByVisible_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entryvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByVisible(boolean visible)
removeByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblepublic int countByVisible(boolean visible)
countByVisible
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
visible
- the visiblepublic List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate)
findByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByPublishDate_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_First(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByPublishDate_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByPublishDate_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByPublishDate_Last(Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByPublishDate_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByPublishDate_PrevAndNext(long entryId, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByPublishDate_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrypublishDate
- the publish dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date publishDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByPublishDate(Date publishDate)
removeByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datepublic int countByPublishDate(Date publishDate)
countByPublishDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
publishDate
- the publish datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate)
findByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByExpirationDate_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_First(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByExpirationDate_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByExpirationDate_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByExpirationDate_Last(Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByExpirationDate_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByExpirationDate_PrevAndNext(long entryId, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByExpirationDate_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entryexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByExpirationDate(Date expirationDate)
removeByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datepublic int countByExpirationDate(Date expirationDate)
countByExpirationDate
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
expirationDate
- the expiration datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid)
findByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidpublic List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidstart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByLayoutUuid_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_First(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByLayoutUuid_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByLayoutUuid_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByLayoutUuid_Last(String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByLayoutUuid_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByLayoutUuid_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrylayoutUuid
- the layout uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, String layoutUuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByLayoutUuid(String layoutUuid)
removeByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidpublic int countByLayoutUuid(String layoutUuid)
countByLayoutUuid
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
layoutUuid
- the layout uuidpublic com.liferay.asset.kernel.model.AssetEntry findByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException
NoSuchEntryException
if it could not be found.findByG_CU
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassUuid
- the class uuidcom.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_CU(long groupId, String classUuid)
null
if it could not be found. Uses the finder cache.fetchByG_CU
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassUuid
- the class uuidnull
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_CU(long groupId, String classUuid, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_CU
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassUuid
- the class uuidretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry removeByG_CU(long groupId, String classUuid) throws com.liferay.asset.kernel.exception.NoSuchEntryException
removeByG_CU
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassUuid
- the class uuidcom.liferay.asset.kernel.exception.NoSuchEntryException
public int countByG_CU(long groupId, String classUuid)
countByG_CU
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassUuid
- the class uuidpublic com.liferay.asset.kernel.model.AssetEntry findByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException
NoSuchEntryException
if it could not be found.findByC_C
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
classNameId
- the class name IDclassPK
- the class pkcom.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.fetchByC_C
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
classNameId
- the class name IDclassPK
- the class pknull
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByC_C
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
classNameId
- the class name IDclassPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry removeByC_C(long classNameId, long classPK) throws com.liferay.asset.kernel.exception.NoSuchEntryException
removeByC_C
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
classNameId
- the class name IDclassPK
- the class pkcom.liferay.asset.kernel.exception.NoSuchEntryException
public int countByC_C(long classNameId, long classPK)
countByC_C
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
classNameId
- the class name IDclassPK
- the class pkpublic List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible)
findByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblepublic List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_V(long groupId, long classNameId, boolean visible, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_V_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_First(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByG_C_V_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_V_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_C_V_Last(long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByG_C_V_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByG_C_V_PrevAndNext(long entryId, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_V_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrygroupId
- the group IDclassNameId
- the class name IDvisible
- the visibleorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByG_C_V_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, boolean visible, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByG_C_V(long groupId, long classNameId, boolean visible)
removeByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblepublic int countByG_C_V(long groupId, long classNameId, boolean visible)
countByG_C_V
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDvisible
- the visiblepublic List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
findByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datestart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_P_E_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_First(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByG_C_P_E_First
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_P_E_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByG_C_P_E_Last(long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
fetchByG_C_P_E_Last
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching asset entry could not be foundpublic com.liferay.asset.kernel.model.AssetEntry[] findByG_C_P_E_PrevAndNext(long entryId, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator) throws com.liferay.asset.kernel.exception.NoSuchEntryException
findByG_C_P_E_PrevAndNext
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the current asset entrygroupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration dateorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry getByG_C_P_E_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.asset.kernel.model.AssetEntry assetEntry, long groupId, long classNameId, Date publishDate, Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean previous)
public void removeByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
removeByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datepublic int countByG_C_P_E(long groupId, long classNameId, Date publishDate, Date expirationDate)
countByG_C_P_E
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
groupId
- the group IDclassNameId
- the class name IDpublishDate
- the publish dateexpirationDate
- the expiration datepublic void cacheResult(com.liferay.asset.kernel.model.AssetEntry assetEntry)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
assetEntry
- the asset entrypublic void cacheResult(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
cacheResult
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
assetEntries
- the asset entriespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public void clearCache(com.liferay.asset.kernel.model.AssetEntry assetEntry)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public void clearCache(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
protected void cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl)
protected void clearUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl, boolean clearCurrent)
public com.liferay.asset.kernel.model.AssetEntry create(long entryId)
create
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key for the new asset entrypublic com.liferay.asset.kernel.model.AssetEntry remove(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException
remove
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the asset entrycom.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetEntry remove(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
primaryKey
- the primary key of the asset entrycom.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundprotected com.liferay.asset.kernel.model.AssetEntry removeImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public com.liferay.asset.kernel.model.AssetEntry updateImpl(com.liferay.asset.kernel.model.AssetEntry assetEntry)
updateImpl
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(Serializable primaryKey) throws com.liferay.asset.kernel.exception.NoSuchEntryException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
primaryKey
- the primary key of the asset entrycom.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetEntry findByPrimaryKey(long entryId) throws com.liferay.asset.kernel.exception.NoSuchEntryException
NoSuchEntryException
if it could not be found.findByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the asset entrycom.liferay.asset.kernel.exception.NoSuchEntryException
- if a asset entry with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
primaryKey
- the primary key of the asset entrynull
if a asset entry with the primary key could not be foundpublic com.liferay.asset.kernel.model.AssetEntry fetchByPrimaryKey(long entryId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
entryId
- the primary key of the asset entrynull
if a asset entry with the primary key could not be foundpublic Map<Serializable,com.liferay.asset.kernel.model.AssetEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public List<com.liferay.asset.kernel.model.AssetEntry> findAll()
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.asset.kernel.model.AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetEntry> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
start
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
public int countAll()
countAll
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
public long[] getAssetCategoryPrimaryKeys(long pk)
getAssetCategoryPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic List<com.liferay.asset.kernel.model.AssetCategory> getAssetCategories(long pk)
getAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic List<com.liferay.asset.kernel.model.AssetCategory> getAssetCategories(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetCategory> getAssetCategories(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getAssetCategoriesSize(long pk)
getAssetCategoriesSize
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic boolean containsAssetCategory(long pk, long assetCategoryPK)
true
if the asset category is associated with the asset entry.containsAssetCategory
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPK
- the primary key of the asset categorytrue
if the asset category is associated with the asset entry; false
otherwisepublic boolean containsAssetCategories(long pk)
true
if the asset entry has any asset categories associated with it.containsAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entry to check for associations with asset categoriestrue
if the asset entry has any asset categories associated with it; false
otherwisepublic void addAssetCategory(long pk, long assetCategoryPK)
addAssetCategory
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPK
- the primary key of the asset categorypublic void addAssetCategory(long pk, com.liferay.asset.kernel.model.AssetCategory assetCategory)
addAssetCategory
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategory
- the asset categorypublic void addAssetCategories(long pk, long[] assetCategoryPKs)
addAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPKs
- the primary keys of the asset categoriespublic void addAssetCategories(long pk, List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
addAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategories
- the asset categoriespublic void clearAssetCategories(long pk)
clearAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entry to clear the associated asset categories frompublic void removeAssetCategory(long pk, long assetCategoryPK)
removeAssetCategory
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPK
- the primary key of the asset categorypublic void removeAssetCategory(long pk, com.liferay.asset.kernel.model.AssetCategory assetCategory)
removeAssetCategory
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategory
- the asset categorypublic void removeAssetCategories(long pk, long[] assetCategoryPKs)
removeAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPKs
- the primary keys of the asset categoriespublic void removeAssetCategories(long pk, List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
removeAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategories
- the asset categoriespublic void setAssetCategories(long pk, long[] assetCategoryPKs)
setAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategoryPKs
- the primary keys of the asset categories to be associated with the asset entrypublic void setAssetCategories(long pk, List<com.liferay.asset.kernel.model.AssetCategory> assetCategories)
setAssetCategories
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetCategories
- the asset categories to be associated with the asset entrypublic long[] getAssetTagPrimaryKeys(long pk)
getAssetTagPrimaryKeys
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk)
getAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)public List<com.liferay.asset.kernel.model.AssetTag> getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetTag> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetEntryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrystart
- the lower bound of the range of asset entriesend
- the upper bound of the range of asset entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getAssetTagsSize(long pk)
getAssetTagsSize
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entrypublic boolean containsAssetTag(long pk, long assetTagPK)
true
if the asset tag is associated with the asset entry.containsAssetTag
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tagtrue
if the asset tag is associated with the asset entry; false
otherwisepublic boolean containsAssetTags(long pk)
true
if the asset entry has any asset tags associated with it.containsAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entry to check for associations with asset tagstrue
if the asset entry has any asset tags associated with it; false
otherwisepublic void addAssetTag(long pk, long assetTagPK)
addAssetTag
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tagpublic void addAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
addAssetTag
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTag
- the asset tagpublic void addAssetTags(long pk, long[] assetTagPKs)
addAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tagspublic void addAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
addAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTags
- the asset tagspublic void clearAssetTags(long pk)
clearAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entry to clear the associated asset tags frompublic void removeAssetTag(long pk, long assetTagPK)
removeAssetTag
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPK
- the primary key of the asset tagpublic void removeAssetTag(long pk, com.liferay.asset.kernel.model.AssetTag assetTag)
removeAssetTag
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTag
- the asset tagpublic void removeAssetTags(long pk, long[] assetTagPKs)
removeAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tagspublic void removeAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
removeAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTags
- the asset tagspublic void setAssetTags(long pk, long[] assetTagPKs)
setAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTagPKs
- the primary keys of the asset tags to be associated with the asset entrypublic void setAssetTags(long pk, List<com.liferay.asset.kernel.model.AssetTag> assetTags)
setAssetTags
in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistence
pk
- the primary key of the asset entryassetTags
- the asset tags to be associated with the asset entryprotected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>
public void afterPropertiesSet()
public void destroy()