com.liferay.portlet.asset.service.persistence
Class AssetEntryPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
      extended by com.liferay.portlet.asset.service.persistence.AssetEntryPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>, com.liferay.portlet.asset.service.persistence.AssetEntryPersistence

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

The persistence implementation for the asset entry service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
AssetEntryPersistence, AssetEntryUtil
Generated:

Nested Class Summary
protected  class AssetEntryPersistenceImpl.AddAssetCategory
           
protected  class AssetEntryPersistenceImpl.AddAssetTag
           
protected  class AssetEntryPersistenceImpl.ClearAssetCategories
           
protected  class AssetEntryPersistenceImpl.ClearAssetTags
           
protected  class AssetEntryPersistenceImpl.ContainsAssetCategory
           
protected  class AssetEntryPersistenceImpl.ContainsAssetTag
           
protected  class AssetEntryPersistenceImpl.RemoveAssetCategory
           
protected  class AssetEntryPersistenceImpl.RemoveAssetTag
           
 
Field Summary
protected  AssetEntryPersistenceImpl.AddAssetCategory addAssetCategory
           
protected  AssetEntryPersistenceImpl.AddAssetTag addAssetTag
           
protected  com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence
           
protected  com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence
           
protected  com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence
           
protected  com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence
           
protected  AssetEntryPersistenceImpl.ClearAssetCategories clearAssetCategories
           
protected  AssetEntryPersistenceImpl.ClearAssetTags clearAssetTags
           
protected  com.liferay.portal.service.persistence.CompanyPersistence companyPersistence
           
protected  AssetEntryPersistenceImpl.ContainsAssetCategory containsAssetCategory
           
protected  AssetEntryPersistenceImpl.ContainsAssetTag containsAssetTag
           
protected  com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence
           
protected  com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence
           
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_CONTAINS_ASSETCATEGORY
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ASSETTAG
           
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_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_GET_ASSETCATEGORIES
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETCATEGORIES_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETTAGS
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETTAGS_SIZE
           
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_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_PUBLISHDATE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
           
protected  AssetEntryPersistenceImpl.RemoveAssetCategory removeAssetCategory
           
protected  AssetEntryPersistenceImpl.RemoveAssetTag removeAssetTag
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
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 Summary
AssetEntryPersistenceImpl()
           
 
Method Summary
 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.
 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 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 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 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.
 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 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 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.
 void 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.
 void removeByG_CU(long groupId, java.lang.String classUuid)
          Removes the asset entry where groupId = ? and classUuid = ? 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, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_VISIBLE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VISIBLE

FINDER_PATH_COUNT_BY_VISIBLE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_VISIBLE

FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_PUBLISHDATE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_PUBLISHDATE

FINDER_PATH_COUNT_BY_PUBLISHDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_PUBLISHDATE

FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_EXPIRATIONDATE

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EXPIRATIONDATE

FINDER_PATH_COUNT_BY_EXPIRATIONDATE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_EXPIRATIONDATE

FINDER_PATH_FETCH_BY_G_CU

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_CU

FINDER_PATH_COUNT_BY_G_CU

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_CU

FINDER_PATH_FETCH_BY_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C

FINDER_PATH_COUNT_BY_C_C

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_ASSETCATEGORIES

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETCATEGORIES

FINDER_PATH_GET_ASSETCATEGORIES_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETCATEGORIES_SIZE

FINDER_PATH_CONTAINS_ASSETCATEGORY

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ASSETCATEGORY

FINDER_PATH_GET_ASSETTAGS

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETTAGS

FINDER_PATH_GET_ASSETTAGS_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_ASSETTAGS_SIZE

FINDER_PATH_CONTAINS_ASSETTAG

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_ASSETTAG

assetCategoryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence assetCategoryPersistence

assetCategoryPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence assetCategoryPropertyPersistence

assetEntryPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetEntryPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetEntryPersistence assetEntryPersistence

assetLinkPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetLinkPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetLinkPersistence assetLinkPersistence

assetTagPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPersistence assetTagPersistence

assetTagPropertyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence assetTagPropertyPersistence

assetTagStatsPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence assetTagStatsPersistence

assetVocabularyPersistence

@BeanReference(type=com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence.class)
protected com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence assetVocabularyPersistence

companyPersistence

@BeanReference(type=com.liferay.portal.service.persistence.CompanyPersistence.class)
protected com.liferay.portal.service.persistence.CompanyPersistence companyPersistence

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

blogsEntryPersistence

@BeanReference(type=com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence.class)
protected com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence

bookmarksEntryPersistence

@BeanReference(type=com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence.class)
protected com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence bookmarksEntryPersistence

dlFileEntryPersistence

@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence.class)
protected com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence dlFileEntryPersistence

dlFolderPersistence

@BeanReference(type=com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence.class)
protected com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence dlFolderPersistence

journalArticlePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticlePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence

journalArticleResourcePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence

mbMessagePersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence

socialActivityPersistence

@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

wikiPagePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPagePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence

wikiPageResourcePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence

containsAssetCategory

protected AssetEntryPersistenceImpl.ContainsAssetCategory containsAssetCategory

addAssetCategory

protected AssetEntryPersistenceImpl.AddAssetCategory addAssetCategory

clearAssetCategories

protected AssetEntryPersistenceImpl.ClearAssetCategories clearAssetCategories

removeAssetCategory

protected AssetEntryPersistenceImpl.RemoveAssetCategory removeAssetCategory

containsAssetTag

protected AssetEntryPersistenceImpl.ContainsAssetTag containsAssetTag

addAssetTag

protected AssetEntryPersistenceImpl.AddAssetTag addAssetTag

clearAssetTags

protected AssetEntryPersistenceImpl.ClearAssetTags clearAssetTags

removeAssetTag

protected AssetEntryPersistenceImpl.RemoveAssetTag removeAssetTag
Constructor Detail

AssetEntryPersistenceImpl

public AssetEntryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.asset.model.AssetEntry assetEntry)
Caches the asset entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
assetEntry - the asset entry

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
Caches the asset entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
assetEntries - the asset entries

clearCache

public void clearCache()
Clears the cache for all asset entries.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>

clearCache

public void clearCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)
Clears the cache for the asset entry.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.asset.model.AssetEntry> assetEntries)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.asset.model.AssetEntry assetEntry)

create

public com.liferay.portlet.asset.model.AssetEntry create(long entryId)
Creates a new asset entry with the primary key. Does not add the asset entry to the database.

Specified by:
create in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key for the new asset entry
Returns:
the new asset entry

remove

public com.liferay.portlet.asset.model.AssetEntry remove(long entryId)
                                                  throws com.liferay.portlet.asset.NoSuchEntryException,
                                                         com.liferay.portal.kernel.exception.SystemException
Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry that was removed
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.asset.model.AssetEntry remove(java.io.Serializable primaryKey)
                                                  throws com.liferay.portlet.asset.NoSuchEntryException,
                                                         com.liferay.portal.kernel.exception.SystemException
Removes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
Parameters:
primaryKey - the primary key of the asset entry
Returns:
the asset entry that was removed
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.asset.model.AssetEntry removeImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry)
                                                         throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.asset.model.AssetEntry updateImpl(com.liferay.portlet.asset.model.AssetEntry assetEntry,
                                                             boolean merge)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.asset.model.AssetEntry toUnwrappedModel(com.liferay.portlet.asset.model.AssetEntry assetEntry)

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetEntry findByPrimaryKey(java.io.Serializable primaryKey)
                                                            throws com.liferay.portal.NoSuchModelException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the asset entry with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
Parameters:
primaryKey - the primary key of the asset entry
Returns:
the asset entry
Throws:
com.liferay.portal.NoSuchModelException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.asset.model.AssetEntry findByPrimaryKey(long entryId)
                                                            throws com.liferay.portlet.asset.NoSuchEntryException,
                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the asset entry with the primary key or throws a NoSuchEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetEntry fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.asset.model.AssetEntry>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.asset.model.AssetEntry>
Parameters:
primaryKey - the primary key of the asset entry
Returns:
the asset entry, or null if a asset entry with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.asset.model.AssetEntry fetchByPrimaryKey(long entryId)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry, or null if a asset entry with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(long companyId)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset entries where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
Returns:
the matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByCompanyId(long companyId,
                                                                                  int start,
                                                                                  int end)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset entries where companyId = ?.

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.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public 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
Returns an ordered range of all the asset entries where companyId = ?.

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.

Specified by:
findByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_First

public 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
Returns the first asset entry in the ordered set where companyId = ?.

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.

Specified by:
findByCompanyId_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_Last

public 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
Returns the last asset entry in the ordered set where companyId = ?.

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.

Specified by:
findByCompanyId_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public 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
Returns the asset entries before and after the current asset entry in the ordered set where companyId = ?.

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.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the current asset entry
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

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)

findByVisible

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByVisible(boolean visible)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset entries where visible = ?.

Specified by:
findByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
Returns:
the matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByVisible

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByVisible(boolean visible,
                                                                                int start,
                                                                                int end)
                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset entries where visible = ?.

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.

Specified by:
findByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByVisible

public 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
Returns an ordered range of all the asset entries where visible = ?.

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.

Specified by:
findByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByVisible_First

public 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
Returns the first asset entry in the ordered set where visible = ?.

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.

Specified by:
findByVisible_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByVisible_Last

public 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
Returns the last asset entry in the ordered set where visible = ?.

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.

Specified by:
findByVisible_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByVisible_PrevAndNext

public 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
Returns the asset entries before and after the current asset entry in the ordered set where visible = ?.

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.

Specified by:
findByVisible_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the current asset entry
visible - the visible
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByVisible_PrevAndNext

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)

findByPublishDate

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByPublishDate(java.util.Date publishDate)
                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset entries where publishDate = ?.

Specified by:
findByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
Returns:
the matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPublishDate

public 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
Returns a range of all the asset entries where publishDate = ?.

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.

Specified by:
findByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPublishDate

public 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
Returns an ordered range of all the asset entries where publishDate = ?.

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.

Specified by:
findByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPublishDate_First

public 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
Returns the first asset entry in the ordered set where publishDate = ?.

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.

Specified by:
findByPublishDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPublishDate_Last

public 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
Returns the last asset entry in the ordered set where publishDate = ?.

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.

Specified by:
findByPublishDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPublishDate_PrevAndNext

public 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
Returns the asset entries before and after the current asset entry in the ordered set where publishDate = ?.

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.

Specified by:
findByPublishDate_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the current asset entry
publishDate - the publish date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByPublishDate_PrevAndNext

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)

findByExpirationDate

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findByExpirationDate(java.util.Date expirationDate)
                                                                                throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset entries where expirationDate = ?.

Specified by:
findByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
Returns:
the matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByExpirationDate

public 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
Returns a range of all the asset entries where expirationDate = ?.

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.

Specified by:
findByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByExpirationDate

public 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
Returns an ordered range of all the asset entries where expirationDate = ?.

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.

Specified by:
findByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByExpirationDate_First

public 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
Returns the first asset entry in the ordered set where expirationDate = ?.

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.

Specified by:
findByExpirationDate_First in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByExpirationDate_Last

public 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
Returns the last asset entry in the ordered set where expirationDate = ?.

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.

Specified by:
findByExpirationDate_Last in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByExpirationDate_PrevAndNext

public 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
Returns the asset entries before and after the current asset entry in the ordered set where expirationDate = ?.

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.

Specified by:
findByExpirationDate_PrevAndNext in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
entryId - the primary key of the current asset entry
expirationDate - the expiration date
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a asset entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByExpirationDate_PrevAndNext

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)

findByG_CU

public 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
Returns the asset entry where groupId = ? and classUuid = ? or throws a NoSuchEntryException if it could not be found.

Specified by:
findByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
groupId - the group ID
classUuid - the class uuid
Returns:
the matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByG_CU

public com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(long groupId,
                                                              java.lang.String classUuid)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
groupId - the group ID
classUuid - the class uuid
Returns:
the matching asset entry, or null if a matching asset entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByG_CU

public com.liferay.portlet.asset.model.AssetEntry fetchByG_CU(long groupId,
                                                              java.lang.String classUuid,
                                                              boolean retrieveFromCache)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry where groupId = ? and classUuid = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
groupId - the group ID
classUuid - the class uuid
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset entry, or null if a matching asset entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByC_C

public com.liferay.portlet.asset.model.AssetEntry findByC_C(long classNameId,
                                                            long classPK)
                                                     throws com.liferay.portlet.asset.NoSuchEntryException,
                                                            com.liferay.portal.kernel.exception.SystemException
Returns the asset entry where classNameId = ? and classPK = ? or throws a NoSuchEntryException if it could not be found.

Specified by:
findByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching asset entry
Throws:
com.liferay.portlet.asset.NoSuchEntryException - if a matching asset entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C

public com.liferay.portlet.asset.model.AssetEntry fetchByC_C(long classNameId,
                                                             long classPK)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching asset entry, or null if a matching asset entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByC_C

public com.liferay.portlet.asset.model.AssetEntry fetchByC_C(long classNameId,
                                                             long classPK,
                                                             boolean retrieveFromCache)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns the asset entry where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching asset entry, or null if a matching asset entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll()
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset entries.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Returns:
the asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.asset.model.AssetEntry> findAll(int start,
                                                                          int end)
                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset entries.

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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public 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
Returns an ordered range of all the asset entries.

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.

Specified by:
findAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset entries where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByVisible

public void removeByVisible(boolean visible)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset entries where visible = ? from the database.

Specified by:
removeByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByPublishDate

public void removeByPublishDate(java.util.Date publishDate)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset entries where publishDate = ? from the database.

Specified by:
removeByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByExpirationDate

public void removeByExpirationDate(java.util.Date expirationDate)
                            throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset entries where expirationDate = ? from the database.

Specified by:
removeByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_CU

public void removeByG_CU(long groupId,
                         java.lang.String classUuid)
                  throws com.liferay.portlet.asset.NoSuchEntryException,
                         com.liferay.portal.kernel.exception.SystemException
Removes the asset entry where groupId = ? and classUuid = ? from the database.

Specified by:
removeByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
groupId - the group ID
classUuid - the class uuid
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchEntryException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws com.liferay.portlet.asset.NoSuchEntryException,
                        com.liferay.portal.kernel.exception.SystemException
Removes the asset entry where classNameId = ? and classPK = ? from the database.

Specified by:
removeByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.asset.NoSuchEntryException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the asset entries from the database.

Specified by:
removeAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByVisible

public int countByVisible(boolean visible)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where visible = ?.

Specified by:
countByVisible in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
visible - the visible
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByPublishDate

public int countByPublishDate(java.util.Date publishDate)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where publishDate = ?.

Specified by:
countByPublishDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
publishDate - the publish date
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByExpirationDate

public int countByExpirationDate(java.util.Date expirationDate)
                          throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where expirationDate = ?.

Specified by:
countByExpirationDate in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
expirationDate - the expiration date
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_CU

public int countByG_CU(long groupId,
                       java.lang.String classUuid)
                throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where groupId = ? and classUuid = ?.

Specified by:
countByG_CU in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
groupId - the group ID
classUuid - the class uuid
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries where classNameId = ? and classPK = ?.

Specified by:
countByC_C in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset entries.

Specified by:
countAll in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Returns:
the number of asset entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetCategories

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(long pk)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset categories associated with the asset entry.

Specified by:
getAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
Returns:
the asset categories associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetCategories

public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(long pk,
                                                                                        int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset categories associated with the asset entry.

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.

Specified by:
getAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of asset categories associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetCategories

public 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
Returns an ordered range of all the asset categories associated with the asset entry.

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.

Specified by:
getAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset categories associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetCategoriesSize

public int getAssetCategoriesSize(long pk)
                           throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset categories associated with the asset entry.

Specified by:
getAssetCategoriesSize in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
Returns:
the number of asset categories associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsAssetCategory

public boolean containsAssetCategory(long pk,
                                     long assetCategoryPK)
                              throws com.liferay.portal.kernel.exception.SystemException
Returns true if the asset category is associated with the asset entry.

Specified by:
containsAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPK - the primary key of the asset category
Returns:
true if the asset category is associated with the asset entry; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsAssetCategories

public boolean containsAssetCategories(long pk)
                                throws com.liferay.portal.kernel.exception.SystemException
Returns true if the asset entry has any asset categories associated with it.

Specified by:
containsAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry to check for associations with asset categories
Returns:
true if the asset entry has any asset categories associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetCategory

public void addAssetCategory(long pk,
                             long assetCategoryPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset category. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPK - the primary key of the asset category
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetCategory

public void addAssetCategory(long pk,
                             com.liferay.portlet.asset.model.AssetCategory assetCategory)
                      throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset category. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategory - the asset category
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetCategories

public void addAssetCategories(long pk,
                               long[] assetCategoryPKs)
                        throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset categories. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPKs - the primary keys of the asset categories
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetCategories

public void addAssetCategories(long pk,
                               java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
                        throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset categories. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategories - the asset categories
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearAssetCategories

public void clearAssetCategories(long pk)
                          throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the asset entry and its asset categories. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry to clear the associated asset categories from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetCategory

public void removeAssetCategory(long pk,
                                long assetCategoryPK)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset category. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPK - the primary key of the asset category
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetCategory

public void removeAssetCategory(long pk,
                                com.liferay.portlet.asset.model.AssetCategory assetCategory)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset category. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetCategory in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategory - the asset category
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetCategories

public void removeAssetCategories(long pk,
                                  long[] assetCategoryPKs)
                           throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset categories. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPKs - the primary keys of the asset categories
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetCategories

public void removeAssetCategories(long pk,
                                  java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
                           throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset categories. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategories - the asset categories
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setAssetCategories

public void setAssetCategories(long pk,
                               long[] assetCategoryPKs)
                        throws com.liferay.portal.kernel.exception.SystemException
Sets the asset categories associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategoryPKs - the primary keys of the asset categories to be associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setAssetCategories

public void setAssetCategories(long pk,
                               java.util.List<com.liferay.portlet.asset.model.AssetCategory> assetCategories)
                        throws com.liferay.portal.kernel.exception.SystemException
Sets the asset categories associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetCategories in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetCategories - the asset categories to be associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetTags

public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(long pk)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns all the asset tags associated with the asset entry.

Specified by:
getAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
Returns:
the asset tags associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetTags

public java.util.List<com.liferay.portlet.asset.model.AssetTag> getAssetTags(long pk,
                                                                             int start,
                                                                             int end)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the asset tags associated with the asset entry.

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.

Specified by:
getAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of asset tags associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetTags

public 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
Returns an ordered range of all the asset tags associated with the asset entry.

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.

Specified by:
getAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of asset tags associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getAssetTagsSize

public int getAssetTagsSize(long pk)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of asset tags associated with the asset entry.

Specified by:
getAssetTagsSize in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
Returns:
the number of asset tags associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsAssetTag

public boolean containsAssetTag(long pk,
                                long assetTagPK)
                         throws com.liferay.portal.kernel.exception.SystemException
Returns true if the asset tag is associated with the asset entry.

Specified by:
containsAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPK - the primary key of the asset tag
Returns:
true if the asset tag is associated with the asset entry; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsAssetTags

public boolean containsAssetTags(long pk)
                          throws com.liferay.portal.kernel.exception.SystemException
Returns true if the asset entry has any asset tags associated with it.

Specified by:
containsAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry to check for associations with asset tags
Returns:
true if the asset entry has any asset tags associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetTag

public void addAssetTag(long pk,
                        long assetTagPK)
                 throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPK - the primary key of the asset tag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetTag

public void addAssetTag(long pk,
                        com.liferay.portlet.asset.model.AssetTag assetTag)
                 throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTag - the asset tag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetTags

public void addAssetTags(long pk,
                         long[] assetTagPKs)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPKs - the primary keys of the asset tags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addAssetTags

public void addAssetTags(long pk,
                         java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTags - the asset tags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearAssetTags

public void clearAssetTags(long pk)
                    throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the asset entry and its asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry to clear the associated asset tags from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetTag

public void removeAssetTag(long pk,
                           long assetTagPK)
                    throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPK - the primary key of the asset tag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetTag

public void removeAssetTag(long pk,
                           com.liferay.portlet.asset.model.AssetTag assetTag)
                    throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset tag. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetTag in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTag - the asset tag
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetTags

public void removeAssetTags(long pk,
                            long[] assetTagPKs)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPKs - the primary keys of the asset tags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAssetTags

public void removeAssetTags(long pk,
                            java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the asset entry and the asset tags. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTags - the asset tags
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setAssetTags

public void setAssetTags(long pk,
                         long[] assetTagPKs)
                  throws com.liferay.portal.kernel.exception.SystemException
Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTagPKs - the primary keys of the asset tags to be associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setAssetTags

public void setAssetTags(long pk,
                         java.util.List<com.liferay.portlet.asset.model.AssetTag> assetTags)
                  throws com.liferay.portal.kernel.exception.SystemException
Sets the asset tags associated with the asset entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setAssetTags in interface com.liferay.portlet.asset.service.persistence.AssetEntryPersistence
Parameters:
pk - the primary key of the asset entry
assetTags - the asset tags to be associated with the asset entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the asset entry persistence.


destroy

public void destroy()