com.liferay.portlet.tags.service.persistence
Interface TagsEntryPersistence

All Superinterfaces:
BasePersistence<TagsEntry>

public interface TagsEntryPersistence
extends BasePersistence<TagsEntry>

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:
TagsEntryPersistenceImpl, TagsEntryUtil
Generated:

Method Summary
 void addTagsAsset(long pk, long tagsAssetPK)
           
 void addTagsAsset(long pk, TagsAsset tagsAsset)
           
 void addTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void addTagsAssets(long pk, long[] tagsAssetPKs)
           
 void cacheResult(java.util.List<TagsEntry> tagsEntries)
           
 void cacheResult(TagsEntry tagsEntry)
           
 void clearTagsAssets(long pk)
           
 boolean containsTagsAsset(long pk, long tagsAssetPK)
           
 boolean containsTagsAssets(long pk)
           
 int countAll()
           
 int countByC_N(long companyId, java.lang.String name)
           
 TagsEntry create(long entryId)
           
 TagsEntry fetchByC_N(long companyId, java.lang.String name)
           
 TagsEntry fetchByC_N(long companyId, java.lang.String name, boolean retrieveFromCache)
           
 TagsEntry fetchByPrimaryKey(long entryId)
           
 java.util.List<TagsEntry> findAll()
           
 java.util.List<TagsEntry> findAll(int start, int end)
           
 java.util.List<TagsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsEntry findByC_N(long companyId, java.lang.String name)
           
 TagsEntry findByPrimaryKey(long entryId)
           
 java.util.List<TagsAsset> getTagsAssets(long pk)
           
 java.util.List<TagsAsset> getTagsAssets(long pk, int start, int end)
           
 java.util.List<TagsAsset> getTagsAssets(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getTagsAssetsSize(long pk)
           
 TagsEntry remove(long entryId)
           
 void removeAll()
           
 void removeByC_N(long companyId, java.lang.String name)
           
 void removeTagsAsset(long pk, long tagsAssetPK)
           
 void removeTagsAsset(long pk, TagsAsset tagsAsset)
           
 void removeTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void removeTagsAssets(long pk, long[] tagsAssetPKs)
           
 void setTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void setTagsAssets(long pk, long[] tagsAssetPKs)
           
 TagsEntry update(TagsEntry tagsEntry)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TagsEntry updateImpl(TagsEntry tagsEntry, 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(TagsEntry tagsEntry)

cacheResult

void cacheResult(java.util.List<TagsEntry> tagsEntries)

create

TagsEntry create(long entryId)

remove

TagsEntry remove(long entryId)
                 throws com.liferay.portal.SystemException,
                        NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

update

TagsEntry update(TagsEntry tagsEntry)
                 throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

TagsEntry updateImpl(TagsEntry tagsEntry,
                     boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TagsEntry findByPrimaryKey(long entryId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

fetchByPrimaryKey

TagsEntry fetchByPrimaryKey(long entryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_N

TagsEntry findByC_N(long companyId,
                    java.lang.String name)
                    throws com.liferay.portal.SystemException,
                           NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

fetchByC_N

TagsEntry fetchByC_N(long companyId,
                     java.lang.String name)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_N

TagsEntry fetchByC_N(long companyId,
                     java.lang.String name,
                     boolean retrieveFromCache)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByC_N

void removeByC_N(long companyId,
                 java.lang.String name)
                 throws com.liferay.portal.SystemException,
                        NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

removeAll

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

countByC_N

int countByC_N(long companyId,
               java.lang.String name)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getTagsAssets

java.util.List<TagsAsset> getTagsAssets(long pk)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsAssets

java.util.List<TagsAsset> getTagsAssets(long pk,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsAssets

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

getTagsAssetsSize

int getTagsAssetsSize(long pk)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsAsset

boolean containsTagsAsset(long pk,
                          long tagsAssetPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsAssets

boolean containsTagsAssets(long pk)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAsset

void addTagsAsset(long pk,
                  long tagsAssetPK)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAsset

void addTagsAsset(long pk,
                  TagsAsset tagsAsset)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAssets

void addTagsAssets(long pk,
                   long[] tagsAssetPKs)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAssets

void addTagsAssets(long pk,
                   java.util.List<TagsAsset> tagsAssets)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearTagsAssets

void clearTagsAssets(long pk)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAsset

void removeTagsAsset(long pk,
                     long tagsAssetPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAsset

void removeTagsAsset(long pk,
                     TagsAsset tagsAsset)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAssets

void removeTagsAssets(long pk,
                      long[] tagsAssetPKs)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAssets

void removeTagsAssets(long pk,
                      java.util.List<TagsAsset> tagsAssets)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setTagsAssets

void setTagsAssets(long pk,
                   long[] tagsAssetPKs)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setTagsAssets

void setTagsAssets(long pk,
                   java.util.List<TagsAsset> tagsAssets)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException