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

All Known Implementing Classes:
TagsEntryPersistenceImpl

public interface TagsEntryPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addTagsAsset(long pk, long tagsAssetPK)
           
 void addTagsAsset(long pk, com.liferay.portlet.tags.model.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)
           
 com.liferay.portlet.tags.model.TagsEntry create(long entryId)
           
 com.liferay.portlet.tags.model.TagsEntry fetchByC_N(long companyId, java.lang.String name)
           
 com.liferay.portlet.tags.model.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)
           
 com.liferay.portlet.tags.model.TagsEntry findByC_N(long companyId, java.lang.String name)
           
 com.liferay.portlet.tags.model.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)
           
 com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
           
 com.liferay.portlet.tags.model.TagsEntry remove(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
           
 void removeAll()
           
 void removeByC_N(long companyId, java.lang.String name)
           
 void removeTagsAsset(long pk, long tagsAssetPK)
           
 void removeTagsAsset(long pk, com.liferay.portlet.tags.model.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)
           
 com.liferay.portlet.tags.model.TagsEntry update(com.liferay.portlet.tags.model.TagsEntry tagsEntry)
           
 com.liferay.portlet.tags.model.TagsEntry update(com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.tags.model.TagsEntry create(long entryId)

remove

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

remove

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

update

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

update

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByC_N

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

fetchByC_N

public com.liferay.portlet.tags.model.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,
                        com.liferay.portlet.tags.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.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,
                                    com.liferay.portlet.tags.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchEntryException

getTagsAssets

public java.util.List getTagsAssets(long pk,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portlet.tags.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.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,
                                    com.liferay.portlet.tags.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.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,
                         com.liferay.portlet.tags.NoSuchAssetException,
                         com.liferay.portlet.tags.NoSuchEntryException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException

addTagsAsset

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

addTagsAssets

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

addTagsAssets

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

clearTagsAssets

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

removeTagsAsset

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

removeTagsAsset

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

removeTagsAssets

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

removeTagsAssets

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

setTagsAssets

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

setTagsAssets

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