com.liferay.portlet.tags.service.persistence
Class TagsAssetPersistenceImpl

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.jdbc.core.support.JdbcDaoSupport
          extended bycom.liferay.portal.service.persistence.BasePersistence
              extended bycom.liferay.portlet.tags.service.persistence.TagsAssetPersistenceImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, TagsAssetPersistence

public class TagsAssetPersistenceImpl
extends BasePersistence
implements TagsAssetPersistence

View Source

Author:
Brian Wing Shun Chan

Nested Class Summary
protected  class TagsAssetPersistenceImpl.AddTagsEntry
           
protected  class TagsAssetPersistenceImpl.ClearTagsEntries
           
protected  class TagsAssetPersistenceImpl.ContainsTagsEntry
           
protected  class TagsAssetPersistenceImpl.RemoveTagsEntry
           
 
Field Summary
protected  TagsAssetPersistenceImpl.AddTagsEntry addTagsEntry
           
protected  TagsAssetPersistenceImpl.ClearTagsEntries clearTagsEntries
           
protected  TagsAssetPersistenceImpl.ContainsTagsEntry containsTagsEntry
           
protected  TagsAssetPersistenceImpl.RemoveTagsEntry removeTagsEntry
           
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
TagsAssetPersistenceImpl()
           
 
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)
           
protected  void initDao()
           
 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)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

containsTagsEntry

protected TagsAssetPersistenceImpl.ContainsTagsEntry containsTagsEntry

addTagsEntry

protected TagsAssetPersistenceImpl.AddTagsEntry addTagsEntry

clearTagsEntries

protected TagsAssetPersistenceImpl.ClearTagsEntries clearTagsEntries

removeTagsEntry

protected TagsAssetPersistenceImpl.RemoveTagsEntry removeTagsEntry
Constructor Detail

TagsAssetPersistenceImpl

public TagsAssetPersistenceImpl()
Method Detail

create

public com.liferay.portlet.tags.model.TagsAsset create(long assetId)
Specified by:
create in interface TagsAssetPersistence

remove

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

remove

public com.liferay.portlet.tags.model.TagsAsset remove(com.liferay.portlet.tags.model.TagsAsset tagsAsset)
                                                throws com.liferay.portal.SystemException
Specified by:
remove in interface TagsAssetPersistence
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
Specified by:
update in interface TagsAssetPersistence
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
Specified by:
update in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(long assetId)
                                                           throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId,
                                      int begin,
                                      int end)
                               throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface TagsAssetPersistence
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
Specified by:
findByCompanyId in interface TagsAssetPersistence
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.portlet.tags.NoSuchAssetException,
                                                                      com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portal.SystemException

findByCompanyId_Last

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

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.portlet.tags.NoSuchAssetException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portal.SystemException

findByC_C

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

fetchByC_C

public com.liferay.portlet.tags.model.TagsAsset fetchByC_C(long classNameId,
                                                           long classPK)
                                                    throws com.liferay.portal.SystemException
Specified by:
fetchByC_C in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface TagsAssetPersistence
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
Specified by:
findWithDynamicQuery in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface TagsAssetPersistence
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
Specified by:
findAll in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Specified by:
removeByCompanyId in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

removeByC_C

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

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Specified by:
countByCompanyId in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws com.liferay.portal.SystemException
Specified by:
countByC_C in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

getTagsEntries

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

getTagsEntries

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

getTagsEntries

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

getTagsEntriesSize

public int getTagsEntriesSize(long pk)
                       throws com.liferay.portal.SystemException
Specified by:
getTagsEntriesSize in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

containsTagsEntry

public boolean containsTagsEntry(long pk,
                                 long tagsEntryPK)
                          throws com.liferay.portal.SystemException
Specified by:
containsTagsEntry in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

containsTagsEntrys

public boolean containsTagsEntrys(long pk)
                           throws com.liferay.portal.SystemException
Specified by:
containsTagsEntrys in interface TagsAssetPersistence
Throws:
com.liferay.portal.SystemException

addTagsEntry

public void addTagsEntry(long pk,
                         long tagsEntryPK)
                  throws com.liferay.portlet.tags.NoSuchAssetException,
                         com.liferay.portlet.tags.NoSuchEntryException,
                         com.liferay.portal.SystemException
Specified by:
addTagsEntry in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

addTagsEntry

public void addTagsEntry(long pk,
                         com.liferay.portlet.tags.model.TagsEntry tagsEntry)
                  throws com.liferay.portlet.tags.NoSuchAssetException,
                         com.liferay.portlet.tags.NoSuchEntryException,
                         com.liferay.portal.SystemException
Specified by:
addTagsEntry in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

addTagsEntries

public void addTagsEntries(long pk,
                           long[] tagsEntryPKs)
                    throws com.liferay.portlet.tags.NoSuchAssetException,
                           com.liferay.portlet.tags.NoSuchEntryException,
                           com.liferay.portal.SystemException
Specified by:
addTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

addTagsEntries

public void addTagsEntries(long pk,
                           java.util.List tagsEntries)
                    throws com.liferay.portlet.tags.NoSuchAssetException,
                           com.liferay.portlet.tags.NoSuchEntryException,
                           com.liferay.portal.SystemException
Specified by:
addTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

clearTagsEntries

public void clearTagsEntries(long pk)
                      throws com.liferay.portlet.tags.NoSuchAssetException,
                             com.liferay.portal.SystemException
Specified by:
clearTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portal.SystemException

removeTagsEntry

public void removeTagsEntry(long pk,
                            long tagsEntryPK)
                     throws com.liferay.portlet.tags.NoSuchAssetException,
                            com.liferay.portlet.tags.NoSuchEntryException,
                            com.liferay.portal.SystemException
Specified by:
removeTagsEntry in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

removeTagsEntry

public void removeTagsEntry(long pk,
                            com.liferay.portlet.tags.model.TagsEntry tagsEntry)
                     throws com.liferay.portlet.tags.NoSuchAssetException,
                            com.liferay.portlet.tags.NoSuchEntryException,
                            com.liferay.portal.SystemException
Specified by:
removeTagsEntry in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

removeTagsEntries

public void removeTagsEntries(long pk,
                              long[] tagsEntryPKs)
                       throws com.liferay.portlet.tags.NoSuchAssetException,
                              com.liferay.portlet.tags.NoSuchEntryException,
                              com.liferay.portal.SystemException
Specified by:
removeTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

removeTagsEntries

public void removeTagsEntries(long pk,
                              java.util.List tagsEntries)
                       throws com.liferay.portlet.tags.NoSuchAssetException,
                              com.liferay.portlet.tags.NoSuchEntryException,
                              com.liferay.portal.SystemException
Specified by:
removeTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

setTagsEntries

public void setTagsEntries(long pk,
                           long[] tagsEntryPKs)
                    throws com.liferay.portlet.tags.NoSuchAssetException,
                           com.liferay.portlet.tags.NoSuchEntryException,
                           com.liferay.portal.SystemException
Specified by:
setTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

setTagsEntries

public void setTagsEntries(long pk,
                           java.util.List tagsEntries)
                    throws com.liferay.portlet.tags.NoSuchAssetException,
                           com.liferay.portlet.tags.NoSuchEntryException,
                           com.liferay.portal.SystemException
Specified by:
setTagsEntries in interface TagsAssetPersistence
Throws:
com.liferay.portlet.tags.NoSuchAssetException
com.liferay.portlet.tags.NoSuchEntryException
com.liferay.portal.SystemException

initDao

protected void initDao()