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

All Superinterfaces:
BasePersistence

public interface TagsPropertyPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void cacheResult(java.util.List<TagsProperty> tagsProperties)
           
 void cacheResult(TagsProperty tagsProperty)
           
 void clearCache()
           
 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)
           
 TagsProperty create(long propertyId)
           
 TagsProperty fetchByE_K(long entryId, java.lang.String key)
           
 TagsProperty fetchByE_K(long entryId, java.lang.String key, boolean retrieveFromCache)
           
 TagsProperty fetchByPrimaryKey(long propertyId)
           
 java.util.List<TagsProperty> findAll()
           
 java.util.List<TagsProperty> findAll(int start, int end)
           
 java.util.List<TagsProperty> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty[] findByC_K_PrevAndNext(long propertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<TagsProperty> findByC_K(long companyId, java.lang.String key)
           
 java.util.List<TagsProperty> findByC_K(long companyId, java.lang.String key, int start, int end)
           
 java.util.List<TagsProperty> findByC_K(long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty[] findByCompanyId_PrevAndNext(long propertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<TagsProperty> findByCompanyId(long companyId)
           
 java.util.List<TagsProperty> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<TagsProperty> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByE_K(long entryId, java.lang.String key)
           
 TagsProperty findByEntryId_First(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByEntryId_Last(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty[] findByEntryId_PrevAndNext(long propertyId, long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<TagsProperty> findByEntryId(long entryId)
           
 java.util.List<TagsProperty> findByEntryId(long entryId, int start, int end)
           
 java.util.List<TagsProperty> findByEntryId(long entryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 TagsProperty findByPrimaryKey(long propertyId)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 TagsProperty remove(long propertyId)
           
 TagsProperty remove(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)
           
 TagsProperty update(TagsProperty tagsProperty)
          Deprecated. Use update(TagsProperty tagsProperty, boolean merge).
 TagsProperty update(TagsProperty tagsProperty, boolean merge)
          Add, update, or merge, the entity.
 TagsProperty updateImpl(TagsProperty tagsProperty, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(TagsProperty tagsProperty)

cacheResult

void cacheResult(java.util.List<TagsProperty> tagsProperties)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

TagsProperty create(long propertyId)

remove

TagsProperty remove(long propertyId)
                    throws com.liferay.portal.SystemException,
                           NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

remove

TagsProperty remove(TagsProperty tagsProperty)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

TagsProperty update(TagsProperty tagsProperty)
                    throws com.liferay.portal.SystemException
Deprecated. Use update(TagsProperty tagsProperty, boolean merge).

Throws:
com.liferay.portal.SystemException

update

TagsProperty update(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.

Parameters:
tagsProperty - the entity to add, update, or merge
merge - 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

TagsProperty updateImpl(TagsProperty tagsProperty,
                        boolean merge)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TagsProperty findByPrimaryKey(long propertyId)
                              throws com.liferay.portal.SystemException,
                                     NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

fetchByPrimaryKey

TagsProperty fetchByPrimaryKey(long propertyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

java.util.List<TagsProperty> findByCompanyId(long companyId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<TagsProperty> findByCompanyId(long companyId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

TagsProperty findByCompanyId_First(long companyId,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByCompanyId_Last

TagsProperty findByCompanyId_Last(long companyId,
                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByCompanyId_PrevAndNext

TagsProperty[] findByCompanyId_PrevAndNext(long propertyId,
                                           long companyId,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByEntryId

java.util.List<TagsProperty> findByEntryId(long entryId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

java.util.List<TagsProperty> findByEntryId(long entryId,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

java.util.List<TagsProperty> findByEntryId(long entryId,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId_First

TagsProperty findByEntryId_First(long entryId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByEntryId_Last

TagsProperty findByEntryId_Last(long entryId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByEntryId_PrevAndNext

TagsProperty[] findByEntryId_PrevAndNext(long propertyId,
                                         long entryId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByC_K

java.util.List<TagsProperty> findByC_K(long companyId,
                                       java.lang.String key)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_K

java.util.List<TagsProperty> findByC_K(long companyId,
                                       java.lang.String key,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_K

java.util.List<TagsProperty> findByC_K(long companyId,
                                       java.lang.String key,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_K_First

TagsProperty findByC_K_First(long companyId,
                             java.lang.String key,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByC_K_Last

TagsProperty findByC_K_Last(long companyId,
                            java.lang.String key,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException,
                                   NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByC_K_PrevAndNext

TagsProperty[] findByC_K_PrevAndNext(long propertyId,
                                     long companyId,
                                     java.lang.String key,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

findByE_K

TagsProperty findByE_K(long entryId,
                       java.lang.String key)
                       throws com.liferay.portal.SystemException,
                              NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

fetchByE_K

TagsProperty fetchByE_K(long entryId,
                        java.lang.String key)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByE_K

TagsProperty fetchByE_K(long entryId,
                        java.lang.String key,
                        boolean retrieveFromCache)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TagsProperty> findAll()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TagsProperty> findAll(int start,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<TagsProperty> findAll(int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

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

removeByEntryId

void removeByEntryId(long entryId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_K

void removeByC_K(long companyId,
                 java.lang.String key)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByE_K

void removeByE_K(long entryId,
                 java.lang.String key)
                 throws com.liferay.portal.SystemException,
                        NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
NoSuchPropertyException

removeAll

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

countByCompanyId

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

countByEntryId

int countByEntryId(long entryId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_K

int countByC_K(long companyId,
               java.lang.String key)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByE_K

int countByE_K(long entryId,
               java.lang.String key)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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