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

All Superinterfaces:
BasePersistence

@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsPropertyPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

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)
           
 TagsProperty create(long propertyId)
           
 TagsProperty fetchByE_K(long entryId, java.lang.String key)
           
 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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findByCompanyId(long companyId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findByCompanyId(long companyId,
                                                           int start,
                                                           int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findByEntryId(long entryId)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findByEntryId(long entryId,
                                                         int start,
                                                         int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findByC_K(long companyId,
                                                     java.lang.String key)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_K

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

findWithDynamicQuery

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findAll()
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> findAll(int start,
                                                   int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByEntryId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByEntryId(long entryId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_K

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByC_K(long companyId,
                             java.lang.String key)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByE_K

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countByE_K(long entryId,
                             java.lang.String key)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException