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

All Known Implementing Classes:
TagsAssetPersistenceImpl

public interface TagsAssetPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addTagsEntries(long pk, java.util.List tagsEntries)
           
 void addTagsEntries(long pk, long[] tagsEntryPKs)
           
 void addTagsEntry(long pk, long tagsEntryPK)
           
 void addTagsEntry(long pk, com.liferay.portlet.tags.model.TagsEntry tagsEntry)
           
 void clearTagsEntries(long pk)
           
 boolean containsTagsEntry(long pk, long tagsEntryPK)
           
 boolean containsTagsEntrys(long pk)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByCompanyId(long companyId)
           
 com.liferay.portlet.tags.model.TagsAsset create(long assetId)
           
 com.liferay.portlet.tags.model.TagsAsset fetchByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(long assetId)
           
 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.TagsAsset findByC_C(long classNameId, long classPK)
           
 com.liferay.portlet.tags.model.TagsAsset findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(long assetId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(long assetId)
           
 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 getTagsEntries(long pk)
           
 java.util.List getTagsEntries(long pk, int begin, int end)
           
 java.util.List getTagsEntries(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getTagsEntriesSize(long pk)
           
 com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
           
 com.liferay.portlet.tags.model.TagsAsset remove(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void removeTagsEntries(long pk, java.util.List tagsEntries)
           
 void removeTagsEntries(long pk, long[] tagsEntryPKs)
           
 void removeTagsEntry(long pk, long tagsEntryPK)
           
 void removeTagsEntry(long pk, com.liferay.portlet.tags.model.TagsEntry tagsEntry)
           
 void setTagsEntries(long pk, java.util.List tagsEntries)
           
 void setTagsEntries(long pk, long[] tagsEntryPKs)
           
 com.liferay.portlet.tags.model.TagsAsset update(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
           
 com.liferay.portlet.tags.model.TagsAsset update(com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
           
 

Method Detail

create

public com.liferay.portlet.tags.model.TagsAsset create(long assetId)

remove

public com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
                                                throws com.liferay.portal.SystemException,
                                                       com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

remove

public com.liferay.portlet.tags.model.TagsAsset remove(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.tags.model.TagsAsset update(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByPrimaryKey

public com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(long assetId)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

fetchByPrimaryKey

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

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

public com.liferay.portlet.tags.model.TagsAsset findByCompanyId_First(long companyId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portal.SystemException,
                                                                      com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

findByCompanyId_Last

public com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(long companyId,
                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                              throws com.liferay.portal.SystemException,
                                                                     com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

findByCompanyId_PrevAndNext

public com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
                                                                              long companyId,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portal.SystemException,
                                                                              com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

findByC_C

public com.liferay.portlet.tags.model.TagsAsset findByC_C(long classNameId,
                                                          long classPK)
                                                   throws com.liferay.portal.SystemException,
                                                          com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

fetchByC_C

public com.liferay.portlet.tags.model.TagsAsset fetchByC_C(long classNameId,
                                                           long classPK)
                                                    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

removeByCompanyId

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

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

removeAll

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

countByCompanyId

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

countByC_C

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

countAll

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

getTagsEntries

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

getTagsEntries

public java.util.List getTagsEntries(long pk,
                                     int begin,
                                     int end)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

getTagsEntries

public java.util.List getTagsEntries(long pk,
                                     int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portlet.tags.NoSuchAssetException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchAssetException

getTagsEntriesSize

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

containsTagsEntry

public boolean containsTagsEntry(long pk,
                                 long tagsEntryPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsEntrys

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

addTagsEntry

public void addTagsEntry(long pk,
                         long tagsEntryPK)
                  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

addTagsEntry

public void addTagsEntry(long pk,
                         com.liferay.portlet.tags.model.TagsEntry tagsEntry)
                  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

addTagsEntries

public void addTagsEntries(long pk,
                           long[] tagsEntryPKs)
                    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

addTagsEntries

public void addTagsEntries(long pk,
                           java.util.List tagsEntries)
                    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

clearTagsEntries

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

removeTagsEntry

public void removeTagsEntry(long pk,
                            long tagsEntryPK)
                     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

removeTagsEntry

public void removeTagsEntry(long pk,
                            com.liferay.portlet.tags.model.TagsEntry tagsEntry)
                     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

removeTagsEntries

public void removeTagsEntries(long pk,
                              long[] tagsEntryPKs)
                       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

removeTagsEntries

public void removeTagsEntries(long pk,
                              java.util.List tagsEntries)
                       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

setTagsEntries

public void setTagsEntries(long pk,
                           long[] tagsEntryPKs)
                    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

setTagsEntries

public void setTagsEntries(long pk,
                           java.util.List tagsEntries)
                    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