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


public interface TagsEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addTagsAsset(long pk, long tagsAssetPK)
           
 void addTagsAsset(long pk, TagsAsset tagsAsset)
           
 void addTagsAssets(long pk, java.util.List tagsAssets)
           
 void addTagsAssets(long pk, long[] tagsAssetPKs)
           
 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 fetchByPrimaryKey(long entryId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, 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 findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getTagsAssets(long pk)
           
 java.util.List getTagsAssets(long pk, int begin, int end)
           
 java.util.List getTagsAssets(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getTagsAssetsSize(long pk)
           
 TagsEntry remove(long entryId)
           
 TagsEntry remove(TagsEntry tagsEntry)
           
 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 tagsAssets)
           
 void removeTagsAssets(long pk, long[] tagsAssetPKs)
           
 void setTagsAssets(long pk, java.util.List tagsAssets)
           
 void setTagsAssets(long pk, long[] tagsAssetPKs)
           
 TagsEntry update(TagsEntry tagsEntry)
           
 TagsEntry update(TagsEntry tagsEntry, boolean merge)
           
 TagsEntry updateImpl(TagsEntry tagsEntry, boolean merge)
           
 

Method Detail

create

public TagsEntry create(long entryId)

remove

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

remove

public TagsEntry remove(TagsEntry tagsEntry)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public TagsEntry update(TagsEntry tagsEntry)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByC_N

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

fetchByC_N

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_N

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

removeAll

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

countByC_N

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

countAll

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

getTagsAssets

public java.util.List getTagsAssets(long pk)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

getTagsAssets

public java.util.List getTagsAssets(long pk,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

getTagsAssets

public java.util.List getTagsAssets(long pk,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

getTagsAssetsSize

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

containsTagsAsset

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

containsTagsAssets

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

addTagsAsset

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

addTagsAsset

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

addTagsAssets

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

addTagsAssets

public void addTagsAssets(long pk,
                          java.util.List tagsAssets)
                   throws com.liferay.portal.SystemException,
                          NoSuchAssetException,
                          NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

clearTagsAssets

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

removeTagsAsset

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

removeTagsAsset

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

removeTagsAssets

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

removeTagsAssets

public void removeTagsAssets(long pk,
                             java.util.List tagsAssets)
                      throws com.liferay.portal.SystemException,
                             NoSuchAssetException,
                             NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException

setTagsAssets

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

setTagsAssets

public void setTagsAssets(long pk,
                          java.util.List tagsAssets)
                   throws com.liferay.portal.SystemException,
                          NoSuchAssetException,
                          NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException
NoSuchEntryException