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

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.TagsPropertyPersistenceImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, TagsPropertyPersistence

public class TagsPropertyPersistenceImpl
extends BasePersistence
implements TagsPropertyPersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
TagsPropertyPersistenceImpl()
           
 
Method Summary
 int countAll()
           
 int countByC_K(long companyId, java.lang.String key)
           
 int countByCompanyId(long companyId)
           
 int countByE_K(long entryId, java.lang.String key)
           
 int countByEntryId(long entryId)
           
 com.liferay.portlet.tags.model.TagsProperty create(long propertyId)
           
 com.liferay.portlet.tags.model.TagsProperty fetchByE_K(long entryId, java.lang.String key)
           
 com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(long propertyId)
           
 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.TagsProperty findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty[] findByC_K_PrevAndNext(long propertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByC_K(long companyId, java.lang.String key)
           
 java.util.List findByC_K(long companyId, java.lang.String key, int begin, int end)
           
 java.util.List findByC_K(long companyId, java.lang.String key, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty[] findByCompanyId_PrevAndNext(long propertyId, 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.TagsProperty findByE_K(long entryId, java.lang.String key)
           
 com.liferay.portlet.tags.model.TagsProperty findByEntryId_First(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty findByEntryId_Last(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty[] findByEntryId_PrevAndNext(long propertyId, long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByEntryId(long entryId)
           
 java.util.List findByEntryId(long entryId, int begin, int end)
           
 java.util.List findByEntryId(long entryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(long propertyId)
           
 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)
           
protected  void initDao()
           
 com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
           
 com.liferay.portlet.tags.model.TagsProperty remove(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
           
 void removeAll()
           
 void removeByC_K(long companyId, java.lang.String key)
           
 void removeByCompanyId(long companyId)
           
 void removeByE_K(long entryId, java.lang.String key)
           
 void removeByEntryId(long entryId)
           
 com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
           
 com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty, 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
 

Constructor Detail

TagsPropertyPersistenceImpl

public TagsPropertyPersistenceImpl()
Method Detail

create

public com.liferay.portlet.tags.model.TagsProperty create(long propertyId)
Specified by:
create in interface TagsPropertyPersistence

remove

public com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
                                                   throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                          com.liferay.portal.SystemException
Specified by:
remove in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.tags.model.TagsProperty remove(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
                                                   throws com.liferay.portal.SystemException
Specified by:
remove in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
                                                   throws com.liferay.portal.SystemException
Specified by:
update in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty,
                                                          boolean merge)
                                                   throws com.liferay.portal.SystemException
Specified by:
update in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(long propertyId)
                                                             throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                    com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(long propertyId)
                                                              throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List findByCompanyId(long companyId)
                               throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface TagsPropertyPersistence
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 TagsPropertyPersistence
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 TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portlet.tags.model.TagsProperty findByCompanyId_First(long companyId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

public com.liferay.portlet.tags.model.TagsProperty[] findByCompanyId_PrevAndNext(long propertyId,
                                                                                 long companyId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                                 com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByEntryId

public java.util.List findByEntryId(long entryId)
                             throws com.liferay.portal.SystemException
Specified by:
findByEntryId in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByEntryId

public java.util.List findByEntryId(long entryId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Specified by:
findByEntryId in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByEntryId

public java.util.List findByEntryId(long entryId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Specified by:
findByEntryId in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByEntryId_First

public com.liferay.portlet.tags.model.TagsProperty findByEntryId_First(long entryId,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByEntryId_First in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByEntryId_Last

public com.liferay.portlet.tags.model.TagsProperty findByEntryId_Last(long entryId,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                      com.liferay.portal.SystemException
Specified by:
findByEntryId_Last in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByEntryId_PrevAndNext

public com.liferay.portlet.tags.model.TagsProperty[] findByEntryId_PrevAndNext(long propertyId,
                                                                               long entryId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByEntryId_PrevAndNext in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByC_K

public java.util.List findByC_K(long companyId,
                                java.lang.String key)
                         throws com.liferay.portal.SystemException
Specified by:
findByC_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByC_K

public java.util.List findByC_K(long companyId,
                                java.lang.String key,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Specified by:
findByC_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByC_K

public java.util.List findByC_K(long companyId,
                                java.lang.String key,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Specified by:
findByC_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findByC_K_First

public com.liferay.portlet.tags.model.TagsProperty findByC_K_First(long companyId,
                                                                   java.lang.String key,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                   com.liferay.portal.SystemException
Specified by:
findByC_K_First in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByC_K_Last

public com.liferay.portlet.tags.model.TagsProperty findByC_K_Last(long companyId,
                                                                  java.lang.String key,
                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                           throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                  com.liferay.portal.SystemException
Specified by:
findByC_K_Last in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByC_K_PrevAndNext

public com.liferay.portlet.tags.model.TagsProperty[] findByC_K_PrevAndNext(long propertyId,
                                                                           long companyId,
                                                                           java.lang.String key,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByC_K_PrevAndNext in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

findByE_K

public com.liferay.portlet.tags.model.TagsProperty findByE_K(long entryId,
                                                             java.lang.String key)
                                                      throws com.liferay.portlet.tags.NoSuchPropertyException,
                                                             com.liferay.portal.SystemException
Specified by:
findByE_K in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

fetchByE_K

public com.liferay.portlet.tags.model.TagsProperty fetchByE_K(long entryId,
                                                              java.lang.String key)
                                                       throws com.liferay.portal.SystemException
Specified by:
fetchByE_K in interface TagsPropertyPersistence
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 TagsPropertyPersistence
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 TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

findAll

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

removeByCompanyId

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

removeByEntryId

public void removeByEntryId(long entryId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByEntryId in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

removeByC_K

public void removeByC_K(long companyId,
                        java.lang.String key)
                 throws com.liferay.portal.SystemException
Specified by:
removeByC_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

removeByE_K

public void removeByE_K(long entryId,
                        java.lang.String key)
                 throws com.liferay.portlet.tags.NoSuchPropertyException,
                        com.liferay.portal.SystemException
Specified by:
removeByE_K in interface TagsPropertyPersistence
Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException

removeAll

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

countByCompanyId

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

countByEntryId

public int countByEntryId(long entryId)
                   throws com.liferay.portal.SystemException
Specified by:
countByEntryId in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

countByC_K

public int countByC_K(long companyId,
                      java.lang.String key)
               throws com.liferay.portal.SystemException
Specified by:
countByC_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

countByE_K

public int countByE_K(long entryId,
                      java.lang.String key)
               throws com.liferay.portal.SystemException
Specified by:
countByE_K in interface TagsPropertyPersistence
Throws:
com.liferay.portal.SystemException

countAll

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

initDao

protected void initDao()