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

java.lang.Object
  extended bycom.liferay.portlet.tags.service.persistence.TagsPropertyUtil

public class TagsPropertyUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
TagsPropertyUtil()
           
 
Method Summary
static int countAll()
           
static int countByC_K(long companyId, java.lang.String key)
           
static int countByCompanyId(long companyId)
           
static int countByE_K(long entryId, java.lang.String key)
           
static int countByEntryId(long entryId)
           
static com.liferay.portlet.tags.model.TagsProperty create(long propertyId)
           
static com.liferay.portlet.tags.model.TagsProperty fetchByE_K(long entryId, java.lang.String key)
           
static com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(long propertyId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByC_K_First(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByC_K_Last(long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty[] findByC_K_PrevAndNext(long propertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByC_K(long companyId, java.lang.String key)
           
static java.util.List findByC_K(long companyId, java.lang.String key, int begin, int end)
           
static java.util.List findByC_K(long companyId, java.lang.String key, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty[] findByCompanyId_PrevAndNext(long propertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByCompanyId(long companyId)
           
static java.util.List findByCompanyId(long companyId, int begin, int end)
           
static java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByE_K(long entryId, java.lang.String key)
           
static com.liferay.portlet.tags.model.TagsProperty findByEntryId_First(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByEntryId_Last(long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty[] findByEntryId_PrevAndNext(long propertyId, long entryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByEntryId(long entryId)
           
static java.util.List findByEntryId(long entryId, int begin, int end)
           
static java.util.List findByEntryId(long entryId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(long propertyId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static TagsPropertyPersistence getPersistence()
           
static com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
           
static com.liferay.portlet.tags.model.TagsProperty remove(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
           
static void removeAll()
           
static void removeByC_K(long companyId, java.lang.String key)
           
static void removeByCompanyId(long companyId)
           
static void removeByE_K(long entryId, java.lang.String key)
           
static void removeByEntryId(long entryId)
           
 void setPersistence(TagsPropertyPersistence persistence)
           
static com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
           
static com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsPropertyUtil

public TagsPropertyUtil()
Method Detail

create

public static com.liferay.portlet.tags.model.TagsProperty create(long propertyId)

remove

public static com.liferay.portlet.tags.model.TagsProperty remove(long propertyId)
                                                          throws com.liferay.portal.SystemException,
                                                                 com.liferay.portlet.tags.NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchPropertyException

remove

public static com.liferay.portlet.tags.model.TagsProperty remove(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.tags.model.TagsProperty update(com.liferay.portlet.tags.model.TagsProperty tagsProperty,
                                                                 boolean merge)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public static com.liferay.portlet.tags.model.TagsProperty findByPrimaryKey(long propertyId)
                                                                    throws com.liferay.portal.SystemException,
                                                                           com.liferay.portlet.tags.NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchPropertyException

fetchByPrimaryKey

public static com.liferay.portlet.tags.model.TagsProperty fetchByPrimaryKey(long propertyId)
                                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId,
                                             int begin,
                                             int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

public static java.util.List findByCompanyId(long companyId,
                                             int begin,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

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

findByCompanyId_Last

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

findByCompanyId_PrevAndNext

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

findByEntryId

public static java.util.List findByEntryId(long entryId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

public static java.util.List findByEntryId(long entryId,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByEntryId

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

findByEntryId_First

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

findByEntryId_Last

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

findByEntryId_PrevAndNext

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

findByC_K

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

findByC_K

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

findByC_K

public static 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
Throws:
com.liferay.portal.SystemException

findByC_K_First

public static 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.portal.SystemException,
                                                                          com.liferay.portlet.tags.NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchPropertyException

findByC_K_Last

public static 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.portal.SystemException,
                                                                         com.liferay.portlet.tags.NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchPropertyException

findByC_K_PrevAndNext

public static 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.portal.SystemException,
                                                                                  com.liferay.portlet.tags.NoSuchPropertyException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchPropertyException

findByE_K

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

fetchByE_K

public static com.liferay.portlet.tags.model.TagsProperty fetchByE_K(long entryId,
                                                                     java.lang.String key)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                                  int begin,
                                                  int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public static java.util.List findAll(int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

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

removeByEntryId

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

removeByC_K

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

removeByE_K

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

removeAll

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

countByCompanyId

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

countByEntryId

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

countByC_K

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

countByE_K

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

countAll

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

getPersistence

public static TagsPropertyPersistence getPersistence()

setPersistence

public void setPersistence(TagsPropertyPersistence persistence)