com.liferay.portlet.tags.service.persistence
Class TagsPropertyPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.tags.service.persistence.TagsPropertyPersistenceImpl
- All Implemented Interfaces:
- com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence, org.springframework.beans.factory.InitializingBean
public class TagsPropertyPersistenceImpl
- extends BasePersistence
- implements com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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<com.liferay.portlet.tags.model.TagsProperty> |
findAll()
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
findAll(int begin,
int end)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
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<com.liferay.portlet.tags.model.TagsProperty> |
findByC_K(long companyId,
java.lang.String key)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
findByC_K(long companyId,
java.lang.String key,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
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<com.liferay.portlet.tags.model.TagsProperty> |
findByCompanyId(long companyId)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
findByCompanyId(long companyId,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
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<com.liferay.portlet.tags.model.TagsProperty> |
findByEntryId(long entryId)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
findByEntryId(long entryId,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
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<com.liferay.portlet.tags.model.TagsProperty> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<com.liferay.portlet.tags.model.TagsProperty> |
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)
|
protected com.liferay.portlet.tags.model.TagsProperty |
removeImpl(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
|
com.liferay.portlet.tags.model.TagsProperty |
update(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
Deprecated. Use update(TagsProperty tagsProperty, boolean merge) . |
com.liferay.portlet.tags.model.TagsProperty |
update(com.liferay.portlet.tags.model.TagsProperty tagsProperty,
boolean merge)
Add, update, or merge, the entity. |
com.liferay.portlet.tags.model.TagsProperty |
updateImpl(com.liferay.portlet.tags.model.TagsProperty tagsProperty,
boolean merge)
|
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 |
TagsPropertyPersistenceImpl
public TagsPropertyPersistenceImpl()
create
public com.liferay.portlet.tags.model.TagsProperty create(long propertyId)
- Specified by:
create
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
removeImpl
protected com.liferay.portlet.tags.model.TagsProperty removeImpl(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
throws com.liferay.portal.SystemException
- 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
- Deprecated. Use
update(TagsProperty tagsProperty, boolean merge)
.
- Specified by:
update
in interface com.liferay.portlet.tags.service.persistence.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
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Specified by:
update
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Parameters:
tagsProperty
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when tagsProperty is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public com.liferay.portlet.tags.model.TagsProperty updateImpl(com.liferay.portlet.tags.model.TagsProperty tagsProperty,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateImpl
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByCompanyId
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException
findByEntryId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Specified by:
findByEntryId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByEntryId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(long entryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByEntryId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByEntryId
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByEntryId(long entryId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByEntryId
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portlet.tags.NoSuchPropertyException
com.liferay.portal.SystemException
findByC_K
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(long companyId,
java.lang.String key)
throws com.liferay.portal.SystemException
- Specified by:
findByC_K
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByC_K
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findByC_K(long companyId,
java.lang.String key,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByC_K
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findByC_K
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> 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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tags.model.TagsProperty> findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
removeByCompanyId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
removeByEntryId
public void removeByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Specified by:
removeByEntryId
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Specified by:
countByCompanyId
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
countByEntryId
public int countByEntryId(long entryId)
throws com.liferay.portal.SystemException
- Specified by:
countByEntryId
in interface com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.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 com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()
- Overrides:
initDao
in class org.springframework.dao.support.DaoSupport