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
| Modifier and Type | Field and Description |
|---|---|
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 |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
AssetEntryPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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) |
void |
clearCache(Set<Serializable> primaryKeys) |
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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 useFinderCache)
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
com.liferay.portal.kernel.exception.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 useFinderCache)
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 useFinderCache)
Returns an ordered range of all the asset entries where visible = ?.
|
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) |
Set<String> |
getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
List<String> |
getMappingTableNames() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
Map<String,Integer> |
getTableColumnsMap() |
String |
getTableName() |
List<String[]> |
getUniqueIndexColumnNames() |
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 |
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 |
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, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.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.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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)useFinderCache - whether to use 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - the group IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencecompanyId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencecompanyId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencecompanyId - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencecompanyId - 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)useFinderCache - whether to use 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.AssetEntryPersistencecompanyId - 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.AssetEntryPersistencecompanyId - 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.AssetEntryPersistencecompanyId - 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.AssetEntryPersistencecompanyId - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencecompanyId - the company IDpublic List<com.liferay.asset.kernel.model.AssetEntry> findByVisible(boolean visible)
findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencevisible - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencevisible - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencevisible - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencevisible - 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)useFinderCache - whether to use 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.AssetEntryPersistencevisible - 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.AssetEntryPersistencevisible - 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.AssetEntryPersistencevisible - 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.AssetEntryPersistencevisible - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencevisible - the visiblepublic int countByVisible(boolean visible)
countByVisible in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencevisible - the visiblepublic List<com.liferay.asset.kernel.model.AssetEntry> findByPublishDate(Date publishDate)
findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublishDate - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublishDate - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublishDate - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublishDate - 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)useFinderCache - whether to use 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.AssetEntryPersistencepublishDate - 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.AssetEntryPersistencepublishDate - 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.AssetEntryPersistencepublishDate - 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.AssetEntryPersistencepublishDate - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencepublishDate - the publish datepublic int countByPublishDate(Date publishDate)
countByPublishDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublishDate - the publish datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByExpirationDate(Date expirationDate)
findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceexpirationDate - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceexpirationDate - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceexpirationDate - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceexpirationDate - 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)useFinderCache - whether to use 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.AssetEntryPersistenceexpirationDate - 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.AssetEntryPersistenceexpirationDate - 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.AssetEntryPersistenceexpirationDate - 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.AssetEntryPersistenceexpirationDate - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistenceexpirationDate - the expiration datepublic int countByExpirationDate(Date expirationDate)
countByExpirationDate in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceexpirationDate - the expiration datepublic List<com.liferay.asset.kernel.model.AssetEntry> findByLayoutUuid(String layoutUuid)
findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencelayoutUuid - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencelayoutUuid - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencelayoutUuid - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencelayoutUuid - 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)useFinderCache - whether to use 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.AssetEntryPersistencelayoutUuid - 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.AssetEntryPersistencelayoutUuid - 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.AssetEntryPersistencelayoutUuid - 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.AssetEntryPersistencelayoutUuid - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencelayoutUuid - the layout uuidpublic int countByLayoutUuid(String layoutUuid)
countByLayoutUuid in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencelayoutUuid - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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 useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuiduseFinderCache - whether to use 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.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidcom.liferay.asset.kernel.exception.NoSuchEntryExceptionpublic int countByG_CU(long groupId,
String classUuid)
countByG_CU in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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.AssetEntryPersistenceclassNameId - 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.AssetEntryPersistenceclassNameId - 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 useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class pkuseFinderCache - whether to use 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.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class pkcom.liferay.asset.kernel.exception.NoSuchEntryExceptionpublic int countByC_C(long classNameId,
long classPK)
countByC_C in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceclassNameId - 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.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_V in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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)useFinderCache - whether to use 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findByG_C_P_E in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencegroupId - 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)useFinderCache - whether to use 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencegroupId - 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.AssetEntryPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>assetEntry - the asset entrypublic void cacheResult(List<com.liferay.asset.kernel.model.AssetEntry> assetEntries)
cacheResult in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceassetEntries - 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>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.asset.kernel.model.AssetEntry>protected void cacheUniqueFindersCache(AssetEntryModelImpl assetEntryModelImpl)
public com.liferay.asset.kernel.model.AssetEntry create(long entryId)
create in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistenceentryId - 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.AssetEntryPersistenceentryId - 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.AssetEntryPersistenceupdateImpl 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
com.liferay.portal.kernel.exception.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.AssetEntryPersistenceentryId - 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.AssetEntryPersistenceentryId - 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.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.AssetEntryPersistencepublic 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencestart - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencestart - 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 useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
findAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencestart - 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)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublic int countAll()
countAll in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepublic long[] getAssetTagPrimaryKeys(long pk)
getAssetTagPrimaryKeys in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
getAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepk - 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, then the query will include the default ORDER BY logic from AssetEntryModelImpl.
getAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tagspublic void clearAssetTags(long pk)
clearAssetTags in interface com.liferay.asset.kernel.service.persistence.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - 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.AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tags to be associated with the asset entryprotected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType)
getCTColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>public List<String> getMappingTableNames()
getMappingTableNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>public Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>public String getTableName()
getTableName in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>public List<String[]> getUniqueIndexColumnNames()
getUniqueIndexColumnNames in interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.asset.kernel.model.AssetEntry>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.asset.kernel.model.AssetEntry>