public class AssetEntryPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
implements com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Caching information and settings can be found in portal.properties
AssetEntryPersistence,
AssetEntryUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence |
assetCategoryPersistence |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.asset.model.AssetEntry,com.liferay.portlet.asset.model.AssetCategory> |
assetEntryToAssetCategoryTableMapper |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.asset.model.AssetEntry,com.liferay.portlet.asset.model.AssetTag> |
assetEntryToAssetTagTableMapper |
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence |
assetTagPersistence |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_CU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_VISIBLE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_CU |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
AssetEntryPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategories(long pk,
long[] assetCategoryPKs)
Adds an association between the asset entry and the asset categories.
|
void |
addAssetCategory(long pk,
com.liferay.portlet.asset.model.AssetCategory assetCategory)
Adds an association between the asset entry and the asset category.
|
void |
addAssetCategory(long pk,
long assetCategoryPK)
Adds an association between the asset entry and the asset category.
|
void |
addAssetTag(long pk,
com.liferay.portlet.asset.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,
java.util.List<com.liferay.portlet.asset.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.portlet.asset.model.AssetEntry assetEntry)
Caches the asset entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
Caches the asset entries in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetEntry assetEntry) |
void |
clearAssetCategories(long pk)
Clears all associations between the asset entry and its asset categories.
|
void |
clearAssetTags(long pk)
Clears all associations between the asset entry and its asset tags.
|
void |
clearCache()
Clears the cache for all asset entries.
|
void |
clearCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)
Clears the cache for the asset entry.
|
void |
clearCache(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries) |
protected void |
clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetEntry assetEntry) |
boolean |
containsAssetCategories(long pk)
Returns
true if the asset entry has any asset categories associated with it. |
boolean |
containsAssetCategory(long pk,
long assetCategoryPK)
Returns
true if the asset category is associated with the asset entry. |
boolean |
containsAssetTag(long pk,
long assetTagPK)
Returns
true if the asset tag is associated with the asset entry. |
boolean |
containsAssetTags(long pk)
Returns
true if the asset entry has any asset tags associated with it. |
int |
countAll()
Returns the number of asset entries.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of asset entries where classNameId = ? and classPK = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of asset entries where companyId = ?.
|
int |
countByExpirationDate(java.util.Date expirationDate)
Returns the number of asset entries where expirationDate = ?.
|
int |
countByG_CU(long groupId,
java.lang.String classUuid)
Returns the number of asset entries where groupId = ? and classUuid = ?.
|
int |
countByLayoutUuid(java.lang.String layoutUuid)
Returns the number of asset entries where layoutUuid = ?.
|
int |
countByPublishDate(java.util.Date publishDate)
Returns the number of asset entries where publishDate = ?.
|
int |
countByVisible(boolean visible)
Returns the number of asset entries where visible = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
create(long entryId)
Creates a new asset entry with the primary key.
|
void |
destroy() |
com.liferay.portlet.asset.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.portlet.asset.model.AssetEntry |
fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the asset entry where classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.asset.model.AssetEntry |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByG_CU(long groupId,
java.lang.String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetEntry |
fetchByG_CU(long groupId,
java.lang.String classUuid,
boolean retrieveFromCache)
Returns the asset entry where groupId = ? and classUuid = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.asset.model.AssetEntry |
fetchByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByPrimaryKey(long entryId)
Returns the asset entry with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetEntry |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset entry with the primary key or returns
null if it could not be found. |
com.liferay.portlet.asset.model.AssetEntry |
fetchByPublishDate_First(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByPublishDate_Last(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
fetchByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findAll()
Returns all the asset entries.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findAll(int start,
int end)
Returns a range of all the asset entries.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries.
|
com.liferay.portlet.asset.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.portlet.asset.model.AssetEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where companyId = ?.
|
com.liferay.portlet.asset.model.AssetEntry[] |
findByCompanyId_PrevAndNext(long entryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByCompanyId(long companyId)
Returns all the asset entries where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the asset entries where companyId = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where companyId = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where expirationDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where expirationDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry[] |
findByExpirationDate_PrevAndNext(long entryId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByExpirationDate(java.util.Date expirationDate)
Returns all the asset entries where expirationDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
Returns a range of all the asset entries where expirationDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where expirationDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByG_CU(long groupId,
java.lang.String classUuid)
Returns the asset entry where groupId = ? and classUuid = ? or throws a
NoSuchEntryException if it could not be found. |
com.liferay.portlet.asset.model.AssetEntry |
findByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where layoutUuid = ?.
|
com.liferay.portlet.asset.model.AssetEntry[] |
findByLayoutUuid_PrevAndNext(long entryId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where layoutUuid = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid)
Returns all the asset entries where layoutUuid = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end)
Returns a range of all the asset entries where layoutUuid = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where layoutUuid = ?.
|
com.liferay.portlet.asset.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.portlet.asset.model.AssetEntry |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the asset entry with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.asset.model.AssetEntry |
findByPublishDate_First(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where publishDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByPublishDate_Last(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where publishDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry[] |
findByPublishDate_PrevAndNext(long entryId,
java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByPublishDate(java.util.Date publishDate)
Returns all the asset entries where publishDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByPublishDate(java.util.Date publishDate,
int start,
int end)
Returns a range of all the asset entries where publishDate = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByPublishDate(java.util.Date publishDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where publishDate = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first asset entry in the ordered set where visible = ?.
|
com.liferay.portlet.asset.model.AssetEntry |
findByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last asset entry in the ordered set where visible = ?.
|
com.liferay.portlet.asset.model.AssetEntry[] |
findByVisible_PrevAndNext(long entryId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByVisible(boolean visible)
Returns all the asset entries where visible = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByVisible(boolean visible,
int start,
int end)
Returns a range of all the asset entries where visible = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetEntry> |
findByVisible(boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset entries where visible = ?.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getAssetCategories(long pk)
Returns all the asset categories associated with the asset entry.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getAssetCategories(long pk,
int start,
int end)
Returns a range of all the asset categories associated with the asset entry.
|
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getAssetCategories(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the asset categories associated with the asset entry.
|
int |
getAssetCategoriesSize(long pk)
Returns the number of asset categories associated with the asset entry.
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getAssetTags(long pk)
Returns all the asset tags associated with the asset entry.
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getAssetTags(long pk,
int start,
int end)
Returns a range of all the asset tags associated with the asset entry.
|
java.util.List<com.liferay.portlet.asset.model.AssetTag> |
getAssetTags(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator 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.portlet.asset.model.AssetEntry |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetEntry |
getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetEntry |
getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetEntry |
getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portlet.asset.model.AssetEntry |
getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.asset.model.AssetEntry |
remove(long entryId)
Removes the asset entry with the primary key from the database.
|
com.liferay.portlet.asset.model.AssetEntry |
remove(java.io.Serializable primaryKey)
Removes the asset entry with the primary key from the database.
|
void |
removeAll()
Removes all the asset entries from the database.
|
void |
removeAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategories(long pk,
long[] assetCategoryPKs)
Removes the association between the asset entry and the asset categories.
|
void |
removeAssetCategory(long pk,
com.liferay.portlet.asset.model.AssetCategory assetCategory)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetCategory(long pk,
long assetCategoryPK)
Removes the association between the asset entry and the asset category.
|
void |
removeAssetTag(long pk,
com.liferay.portlet.asset.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,
java.util.List<com.liferay.portlet.asset.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.portlet.asset.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(java.util.Date expirationDate)
Removes all the asset entries where expirationDate = ? from the database.
|
com.liferay.portlet.asset.model.AssetEntry |
removeByG_CU(long groupId,
java.lang.String classUuid)
Removes the asset entry where groupId = ? and classUuid = ? from the database.
|
void |
removeByLayoutUuid(java.lang.String layoutUuid)
Removes all the asset entries where layoutUuid = ? from the database.
|
void |
removeByPublishDate(java.util.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.portlet.asset.model.AssetEntry |
removeImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry) |
void |
setAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetCategories(long pk,
long[] assetCategoryPKs)
Sets the asset categories associated with the asset entry, removing and adding associations as necessary.
|
void |
setAssetTags(long pk,
java.util.List<com.liferay.portlet.asset.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.
|
protected com.liferay.portlet.asset.model.AssetEntry |
toUnwrappedModel(com.liferay.portlet.asset.model.AssetEntry assetEntry) |
com.liferay.portlet.asset.model.AssetEntry |
updateImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_VISIBLE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PUBLISHDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_EXPIRATIONDATE
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LAYOUTUUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_CU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_CU
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.asset.model.AssetEntry,com.liferay.portlet.asset.model.AssetCategory> assetEntryToAssetCategoryTableMapper
@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class) protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portlet.asset.model.AssetEntry,com.liferay.portlet.asset.model.AssetTag> assetEntryToAssetTagTableMapper
public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByVisible(boolean visible)
throws com.liferay.portal.kernel.exception.SystemException
findByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visiblecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByVisible(boolean visible,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVisible in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByVisible(boolean visible,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByVisible in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByVisible_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByVisible_First(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByVisible_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByVisible_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByVisible_Last(boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByVisible_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visibleorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry[] findByVisible_PrevAndNext(long entryId,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByVisible_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceentryId - the primary key of the current asset entryvisible - the visibleorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry getByVisible_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
boolean visible,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByVisible(boolean visible)
throws com.liferay.portal.kernel.exception.SystemException
removeByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visiblecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByVisible(boolean visible)
throws com.liferay.portal.kernel.exception.SystemException
countByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencevisible - the visiblecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByPublishDate(java.util.Date publishDate)
throws com.liferay.portal.kernel.exception.SystemException
findByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByPublishDate(java.util.Date publishDate,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPublishDate in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByPublishDate(java.util.Date publishDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByPublishDate in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByPublishDate_First(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByPublishDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByPublishDate_First(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByPublishDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByPublishDate_Last(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByPublishDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByPublishDate_Last(java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByPublishDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry[] findByPublishDate_PrevAndNext(long entryId,
java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByPublishDate_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry getByPublishDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.util.Date publishDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByPublishDate(java.util.Date publishDate)
throws com.liferay.portal.kernel.exception.SystemException
removeByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByPublishDate(java.util.Date publishDate)
throws com.liferay.portal.kernel.exception.SystemException
countByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepublishDate - the publish datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByExpirationDate(java.util.Date expirationDate)
throws com.liferay.portal.kernel.exception.SystemException
findByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByExpirationDate in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByExpirationDate in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByExpirationDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByExpirationDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByExpirationDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByExpirationDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration dateorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry[] findByExpirationDate_PrevAndNext(long entryId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByExpirationDate_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry getByExpirationDate_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByExpirationDate(java.util.Date expirationDate)
throws com.liferay.portal.kernel.exception.SystemException
removeByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByExpirationDate(java.util.Date expirationDate)
throws com.liferay.portal.kernel.exception.SystemException
countByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceexpirationDate - the expiration datecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByLayoutUuid(java.lang.String layoutUuid)
throws com.liferay.portal.kernel.exception.SystemException
findByLayoutUuid in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutUuid in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByLayoutUuid(java.lang.String layoutUuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByLayoutUuid in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutUuid_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByLayoutUuid_First(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByLayoutUuid_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutUuid_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByLayoutUuid_Last(java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByLayoutUuid_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry[] findByLayoutUuid_PrevAndNext(long entryId,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
findByLayoutUuid_PrevAndNext in interface com.liferay.portlet.asset.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.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry getByLayoutUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.asset.model.AssetEntry assetEntry,
java.lang.String layoutUuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByLayoutUuid(java.lang.String layoutUuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByLayoutUuid in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByLayoutUuid(java.lang.String layoutUuid)
throws com.liferay.portal.kernel.exception.SystemException
countByLayoutUuid in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencelayoutUuid - the layout uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByG_CU(long groupId,
java.lang.String classUuid)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException if it could not be found.findByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidcom.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(long groupId,
java.lang.String classUuid)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidnull if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(long groupId,
java.lang.String classUuid,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidretrieveFromCache - whether to use the finder cachenull if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry removeByG_CU(long groupId,
java.lang.String classUuid)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
removeByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.asset.NoSuchEntryExceptionpublic int countByG_CU(long groupId,
java.lang.String classUuid)
throws com.liferay.portal.kernel.exception.SystemException
countByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencegroupId - the group IDclassUuid - the class uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByC_C(long classNameId,
long classPK)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException if it could not be found.findByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p kcom.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p knull if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByC_C(long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to use the finder cachenull if a matching asset entry could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry removeByC_C(long classNameId,
long classPK)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
removeByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p kcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.asset.NoSuchEntryExceptionpublic int countByC_C(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceclassNameId - the class name IDclassPK - the class p kcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.asset.model.AssetEntry assetEntry)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceassetEntry - the asset entrypublic void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceassetEntries - the asset entriespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>public void clearCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>protected void cacheUniqueFindersCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)
protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)
public com.liferay.portlet.asset.model.AssetEntry create(long entryId)
create in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceentryId - the primary key for the new asset entrypublic com.liferay.portlet.asset.model.AssetEntry remove(long entryId)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceentryId - the primary key of the asset entrycom.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>primaryKey - the primary key of the asset entrycom.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.asset.model.AssetEntry removeImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetEntry updateImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.asset.model.AssetEntry toUnwrappedModel(com.liferay.portlet.asset.model.AssetEntry assetEntry)
public com.liferay.portlet.asset.model.AssetEntry findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>primaryKey - the primary key of the asset entrycom.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry findByPrimaryKey(long entryId)
throws com.liferay.portlet.asset.NoSuchEntryException,
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceentryId - the primary key of the asset entrycom.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>primaryKey - the primary key of the asset entrynull if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.asset.model.AssetEntry fetchByPrimaryKey(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceentryId - the primary key of the asset entrynull if a asset entry with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencestart - the lower bound of the range of asset entriesend - the upper bound of the range of asset entries (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetCategories in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetCategories in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getAssetCategoriesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetCategoriesSize in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset category is associated with the asset entry.containsAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorytrue if the asset category is associated with the asset entry; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset entry has any asset categories associated with it.containsAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entry to check for associations with asset categoriestrue if the asset entry has any asset categories associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
addAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetCategory(long pk,
com.liferay.portlet.asset.model.AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
addAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategory - the asset categorycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
addAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categoriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
addAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categoriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearAssetCategories(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entry to clear the associated asset categories fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetCategory(long pk,
long assetCategoryPK)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPK - the primary key of the asset categorycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetCategory(long pk,
com.liferay.portlet.asset.model.AssetCategory assetCategory)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategory - the asset categorycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categoriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categoriescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setAssetCategories(long pk,
long[] assetCategoryPKs)
throws com.liferay.portal.kernel.exception.SystemException
setAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategoryPKs - the primary keys of the asset categories to be associated with the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setAssetCategories(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
throws com.liferay.portal.kernel.exception.SystemException
setAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetCategories - the asset categories to be associated with the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetTags in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetTags in interface com.liferay.portlet.asset.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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getAssetTagsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getAssetTagsSize in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset tag is associated with the asset entry.containsAssetTag in interface com.liferay.portlet.asset.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 otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the asset entry has any asset tags associated with it.containsAssetTags in interface com.liferay.portlet.asset.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 otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
addAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTagPK - the primary key of the asset tagcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetTag(long pk,
com.liferay.portlet.asset.model.AssetTag assetTag)
throws com.liferay.portal.kernel.exception.SystemException
addAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTag - the asset tagcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
addAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tagscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addAssetTags(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
addAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tagscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearAssetTags(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entry to clear the associated asset tags fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetTag(long pk,
long assetTagPK)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTagPK - the primary key of the asset tagcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetTag(long pk,
com.liferay.portlet.asset.model.AssetTag assetTag)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTag - the asset tagcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tagscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAssetTags(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
removeAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tagscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setAssetTags(long pk,
long[] assetTagPKs)
throws com.liferay.portal.kernel.exception.SystemException
setAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTagPKs - the primary keys of the asset tags to be associated with the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setAssetTags(long pk,
java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
throws com.liferay.portal.kernel.exception.SystemException
setAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistencepk - the primary key of the asset entryassetTags - the asset tags to be associated with the asset entrycom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()