Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<AssetEntry>
All Known Implementing Classes:
AssetEntryPersistenceImpl

public interface AssetEntryPersistence
extends BasePersistence<AssetEntry>

See Also:
AssetEntryPersistenceImpl, AssetEntryUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void addAssetCategories(long pk, 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, List<AssetTag> assetTags)
           
 void addAssetTags(long pk, long[] assetTagPKs)
           
 void cacheResult(AssetEntry assetEntry)
           
 void cacheResult(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)
           
 int countByG_CU(long groupId, String classUuid)
           
 AssetEntry create(long entryId)
           
 AssetEntry fetchByC_C(long classNameId, long classPK)
           
 AssetEntry fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 AssetEntry fetchByG_CU(long groupId, String classUuid)
           
 AssetEntry fetchByG_CU(long groupId, String classUuid, boolean retrieveFromCache)
           
 AssetEntry fetchByPrimaryKey(long entryId)
           
 List<AssetEntry> findAll()
           
 List<AssetEntry> findAll(int start, int end)
           
 List<AssetEntry> findAll(int start, int end, OrderByComparator orderByComparator)
           
 AssetEntry findByC_C(long classNameId, long classPK)
           
 AssetEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 AssetEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 AssetEntry[] findByCompanyId_PrevAndNext(long entryId, long companyId, OrderByComparator orderByComparator)
           
 List<AssetEntry> findByCompanyId(long companyId)
           
 List<AssetEntry> findByCompanyId(long companyId, int start, int end)
           
 List<AssetEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 AssetEntry findByG_CU(long groupId, String classUuid)
           
 AssetEntry findByPrimaryKey(long entryId)
           
 List<AssetCategory> getAssetCategories(long pk)
           
 List<AssetCategory> getAssetCategories(long pk, int start, int end)
           
 List<AssetCategory> getAssetCategories(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetCategoriesSize(long pk)
           
 List<AssetTag> getAssetTags(long pk)
           
 List<AssetTag> getAssetTags(long pk, int start, int end)
           
 List<AssetTag> getAssetTags(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getAssetTagsSize(long pk)
           
 AssetEntry remove(long entryId)
           
 void removeAll()
           
 void removeAssetCategories(long pk, 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, List<AssetTag> assetTags)
           
 void removeAssetTags(long pk, long[] assetTagPKs)
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_CU(long groupId, String classUuid)
           
 void setAssetCategories(long pk, List<AssetCategory> assetCategories)
           
 void setAssetCategories(long pk, long[] assetCategoryPKs)
           
 void setAssetTags(long pk, 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(AssetEntry assetEntry)

cacheResult

void cacheResult(List<AssetEntry> assetEntries)

create

AssetEntry create(long entryId)

remove

AssetEntry remove(long entryId)
                  throws SystemException,
                         NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

updateImpl

AssetEntry updateImpl(AssetEntry assetEntry,
                      boolean merge)
                      throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetEntry findByPrimaryKey(long entryId)
                            throws SystemException,
                                   NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

fetchByPrimaryKey

AssetEntry fetchByPrimaryKey(long entryId)
                             throws SystemException
Throws:
SystemException

findByCompanyId

List<AssetEntry> findByCompanyId(long companyId)
                                 throws SystemException
Throws:
SystemException

findByCompanyId

List<AssetEntry> findByCompanyId(long companyId,
                                 int start,
                                 int end)
                                 throws SystemException
Throws:
SystemException

findByCompanyId

List<AssetEntry> findByCompanyId(long companyId,
                                 int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

findByCompanyId_First

AssetEntry findByCompanyId_First(long companyId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByCompanyId_Last

AssetEntry findByCompanyId_Last(long companyId,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByCompanyId_PrevAndNext

AssetEntry[] findByCompanyId_PrevAndNext(long entryId,
                                         long companyId,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

findByG_CU

AssetEntry findByG_CU(long groupId,
                      String classUuid)
                      throws SystemException,
                             NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

fetchByG_CU

AssetEntry fetchByG_CU(long groupId,
                       String classUuid)
                       throws SystemException
Throws:
SystemException

fetchByG_CU

AssetEntry fetchByG_CU(long groupId,
                       String classUuid,
                       boolean retrieveFromCache)
                       throws SystemException
Throws:
SystemException

findByC_C

AssetEntry findByC_C(long classNameId,
                     long classPK)
                     throws SystemException,
                            NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

fetchByC_C

AssetEntry fetchByC_C(long classNameId,
                      long classPK)
                      throws SystemException
Throws:
SystemException

fetchByC_C

AssetEntry fetchByC_C(long classNameId,
                      long classPK,
                      boolean retrieveFromCache)
                      throws SystemException
Throws:
SystemException

findAll

List<AssetEntry> findAll()
                         throws SystemException
Throws:
SystemException

findAll

List<AssetEntry> findAll(int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findAll

List<AssetEntry> findAll(int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_CU

void removeByG_CU(long groupId,
                  String classUuid)
                  throws SystemException,
                         NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws SystemException,
                        NoSuchEntryException
Throws:
SystemException
NoSuchEntryException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_CU

int countByG_CU(long groupId,
                String classUuid)
                throws SystemException
Throws:
SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

getAssetCategories

List<AssetCategory> getAssetCategories(long pk)
                                       throws SystemException
Throws:
SystemException

getAssetCategories

List<AssetCategory> getAssetCategories(long pk,
                                       int start,
                                       int end)
                                       throws SystemException
Throws:
SystemException

getAssetCategories

List<AssetCategory> getAssetCategories(long pk,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                       throws SystemException
Throws:
SystemException

getAssetCategoriesSize

int getAssetCategoriesSize(long pk)
                           throws SystemException
Throws:
SystemException

containsAssetCategory

boolean containsAssetCategory(long pk,
                              long assetCategoryPK)
                              throws SystemException
Throws:
SystemException

containsAssetCategories

boolean containsAssetCategories(long pk)
                                throws SystemException
Throws:
SystemException

addAssetCategory

void addAssetCategory(long pk,
                      long assetCategoryPK)
                      throws SystemException
Throws:
SystemException

addAssetCategory

void addAssetCategory(long pk,
                      AssetCategory assetCategory)
                      throws SystemException
Throws:
SystemException

addAssetCategories

void addAssetCategories(long pk,
                        long[] assetCategoryPKs)
                        throws SystemException
Throws:
SystemException

addAssetCategories

void addAssetCategories(long pk,
                        List<AssetCategory> assetCategories)
                        throws SystemException
Throws:
SystemException

clearAssetCategories

void clearAssetCategories(long pk)
                          throws SystemException
Throws:
SystemException

removeAssetCategory

void removeAssetCategory(long pk,
                         long assetCategoryPK)
                         throws SystemException
Throws:
SystemException

removeAssetCategory

void removeAssetCategory(long pk,
                         AssetCategory assetCategory)
                         throws SystemException
Throws:
SystemException

removeAssetCategories

void removeAssetCategories(long pk,
                           long[] assetCategoryPKs)
                           throws SystemException
Throws:
SystemException

removeAssetCategories

void removeAssetCategories(long pk,
                           List<AssetCategory> assetCategories)
                           throws SystemException
Throws:
SystemException

setAssetCategories

void setAssetCategories(long pk,
                        long[] assetCategoryPKs)
                        throws SystemException
Throws:
SystemException

setAssetCategories

void setAssetCategories(long pk,
                        List<AssetCategory> assetCategories)
                        throws SystemException
Throws:
SystemException

getAssetTags

List<AssetTag> getAssetTags(long pk)
                            throws SystemException
Throws:
SystemException

getAssetTags

List<AssetTag> getAssetTags(long pk,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

getAssetTags

List<AssetTag> getAssetTags(long pk,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

getAssetTagsSize

int getAssetTagsSize(long pk)
                     throws SystemException
Throws:
SystemException

containsAssetTag

boolean containsAssetTag(long pk,
                         long assetTagPK)
                         throws SystemException
Throws:
SystemException

containsAssetTags

boolean containsAssetTags(long pk)
                          throws SystemException
Throws:
SystemException

addAssetTag

void addAssetTag(long pk,
                 long assetTagPK)
                 throws SystemException
Throws:
SystemException

addAssetTag

void addAssetTag(long pk,
                 AssetTag assetTag)
                 throws SystemException
Throws:
SystemException

addAssetTags

void addAssetTags(long pk,
                  long[] assetTagPKs)
                  throws SystemException
Throws:
SystemException

addAssetTags

void addAssetTags(long pk,
                  List<AssetTag> assetTags)
                  throws SystemException
Throws:
SystemException

clearAssetTags

void clearAssetTags(long pk)
                    throws SystemException
Throws:
SystemException

removeAssetTag

void removeAssetTag(long pk,
                    long assetTagPK)
                    throws SystemException
Throws:
SystemException

removeAssetTag

void removeAssetTag(long pk,
                    AssetTag assetTag)
                    throws SystemException
Throws:
SystemException

removeAssetTags

void removeAssetTags(long pk,
                     long[] assetTagPKs)
                     throws SystemException
Throws:
SystemException

removeAssetTags

void removeAssetTags(long pk,
                     List<AssetTag> assetTags)
                     throws SystemException
Throws:
SystemException

setAssetTags

void setAssetTags(long pk,
                  long[] assetTagPKs)
                  throws SystemException
Throws:
SystemException

setAssetTags

void setAssetTags(long pk,
                  List<AssetTag> assetTags)
                  throws SystemException
Throws:
SystemException

Liferay 6.0.3