com.liferay.portlet.asset.service.persistence
Interface AssetEntryPersistence

All Superinterfaces:
BasePersistence<AssetEntry>

public interface AssetEntryPersistence
extends BasePersistence<AssetEntry>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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

Method Summary
 void addAssetCategories(long pk, java.util.List<AssetCategory> assetCategories)
           
 void addAssetCategories(long pk, long[] assetCategoryPKs)
           
 void addAssetCategory(long pk, AssetCategory assetCategory)
           
 void addAssetCategory(long pk, long assetCategoryPK)
           
 void addAssetTag(long pk, AssetTag assetTag)
           
 void addAssetTag(long pk, long assetTagPK)
           
 void addAssetTags(long pk, java.util.List<AssetTag> assetTags)
           
 void addAssetTags(long pk, long[] assetTagPKs)
           
 void cacheResult(AssetEntry assetEntry)
           
 void cacheResult(java.util.List<AssetEntry> assetEntries)
           
 void clearAssetCategories(long pk)
           
 void clearAssetTags(long pk)
           
 boolean containsAssetCategories(long pk)
           
 boolean containsAssetCategory(long pk, long assetCategoryPK)
           
 boolean containsAssetTag(long pk, long assetTagPK)
           
 boolean containsAssetTags(long pk)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByCompanyId(long companyId)
           
 AssetEntry create(long entryId)
           
 AssetEntry fetchByC_C(long classNameId, long classPK)
           
 AssetEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 AssetEntry fetchByPrimaryKey(long entryId)
           
 java.util.List<AssetEntry> findAll()
           
 java.util.List<AssetEntry> findAll(int start, int end)
           
 java.util.List<AssetEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetEntry findByC_C(long classNameId, long classPK)
           
 AssetEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<AssetEntry> findByCompanyId(long companyId)
           
 java.util.List<AssetEntry> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<AssetEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetEntry findByPrimaryKey(long entryId)
           
 java.util.List<AssetCategory> getAssetCategories(long pk)
           
 java.util.List<AssetCategory> getAssetCategories(long pk, int start, int end)
           
 java.util.List<AssetCategory> getAssetCategories(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getAssetCategoriesSize(long pk)
           
 java.util.List<AssetTag> getAssetTags(long pk)
           
 java.util.List<AssetTag> getAssetTags(long pk, int start, int end)
           
 java.util.List<AssetTag> getAssetTags(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getAssetTagsSize(long pk)
           
 AssetEntry remove(long entryId)
           
 void removeAll()
           
 void removeAssetCategories(long pk, java.util.List<AssetCategory> assetCategories)
           
 void removeAssetCategories(long pk, long[] assetCategoryPKs)
           
 void removeAssetCategory(long pk, AssetCategory assetCategory)
           
 void removeAssetCategory(long pk, long assetCategoryPK)
           
 void removeAssetTag(long pk, AssetTag assetTag)
           
 void removeAssetTag(long pk, long assetTagPK)
           
 void removeAssetTags(long pk, java.util.List<AssetTag> assetTags)
           
 void removeAssetTags(long pk, long[] assetTagPKs)
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void setAssetCategories(long pk, java.util.List<AssetCategory> assetCategories)
           
 void setAssetCategories(long pk, long[] assetCategoryPKs)
           
 void setAssetTags(long pk, java.util.List<AssetTag> assetTags)
           
 void setAssetTags(long pk, long[] assetTagPKs)
           
 AssetEntry updateImpl(AssetEntry assetEntry, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(AssetEntry assetEntry)

cacheResult

void cacheResult(java.util.List<AssetEntry> assetEntries)

create

AssetEntry create(long entryId)

remove

AssetEntry remove(long entryId)
                  throws com.liferay.portal.kernel.exception.SystemException,
                         NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

updateImpl

AssetEntry updateImpl(AssetEntry assetEntry,
                      boolean merge)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

AssetEntry findByPrimaryKey(long entryId)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

fetchByPrimaryKey

AssetEntry fetchByPrimaryKey(long entryId)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<AssetEntry> findByCompanyId(long companyId)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<AssetEntry> findByCompanyId(long companyId,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

java.util.List<AssetEntry> findByCompanyId(long companyId,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId_First

AssetEntry findByCompanyId_First(long companyId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByCompanyId_Last

AssetEntry findByCompanyId_Last(long companyId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByCompanyId_PrevAndNext

AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
                                         long companyId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException,
                                                NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

findByC_C

AssetEntry findByC_C(long classNameId,
                     long classPK)
                     throws com.liferay.portal.kernel.exception.SystemException,
                            NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

fetchByC_C

AssetEntry fetchByC_C(long classNameId,
                      long classPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByC_C

AssetEntry fetchByC_C(long classNameId,
                      long classPK,
                      boolean retrieveFromCache)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<AssetEntry> findAll()
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<AssetEntry> findAll(int start,
                                   int end)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<AssetEntry> findAll(int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchEntryException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchEntryException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategories

java.util.List<AssetCategory> getAssetCategories(long pk)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategories

java.util.List<AssetCategory> getAssetCategories(long pk,
                                                 int start,
                                                 int end)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategories

java.util.List<AssetCategory> getAssetCategories(long pk,
                                                 int start,
                                                 int end,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetCategoriesSize

int getAssetCategoriesSize(long pk)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetCategory

boolean containsAssetCategory(long pk,
                              long assetCategoryPK)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetCategories

boolean containsAssetCategories(long pk)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetCategory

void addAssetCategory(long pk,
                      long assetCategoryPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetCategory

void addAssetCategory(long pk,
                      AssetCategory assetCategory)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetCategories

void addAssetCategories(long pk,
                        long[] assetCategoryPKs)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetCategories

void addAssetCategories(long pk,
                        java.util.List<AssetCategory> assetCategories)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

clearAssetCategories

void clearAssetCategories(long pk)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetCategory

void removeAssetCategory(long pk,
                         long assetCategoryPK)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetCategory

void removeAssetCategory(long pk,
                         AssetCategory assetCategory)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetCategories

void removeAssetCategories(long pk,
                           long[] assetCategoryPKs)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetCategories

void removeAssetCategories(long pk,
                           java.util.List<AssetCategory> assetCategories)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetCategories

void setAssetCategories(long pk,
                        long[] assetCategoryPKs)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetCategories

void setAssetCategories(long pk,
                        java.util.List<AssetCategory> assetCategories)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetTags

java.util.List<AssetTag> getAssetTags(long pk)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetTags

java.util.List<AssetTag> getAssetTags(long pk,
                                      int start,
                                      int end)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetTags

java.util.List<AssetTag> getAssetTags(long pk,
                                      int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetTagsSize

int getAssetTagsSize(long pk)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetTag

boolean containsAssetTag(long pk,
                         long assetTagPK)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetTags

boolean containsAssetTags(long pk)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetTag

void addAssetTag(long pk,
                 long assetTagPK)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetTag

void addAssetTag(long pk,
                 AssetTag assetTag)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetTags

void addAssetTags(long pk,
                  long[] assetTagPKs)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetTags

void addAssetTags(long pk,
                  java.util.List<AssetTag> assetTags)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

clearAssetTags

void clearAssetTags(long pk)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetTag

void removeAssetTag(long pk,
                    long assetTagPK)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetTag

void removeAssetTag(long pk,
                    AssetTag assetTag)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetTags

void removeAssetTags(long pk,
                     long[] assetTagPKs)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetTags

void removeAssetTags(long pk,
                     java.util.List<AssetTag> assetTags)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetTags

void setAssetTags(long pk,
                  long[] assetTagPKs)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetTags

void setAssetTags(long pk,
                  java.util.List<AssetTag> assetTags)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException