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

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

public class TagsSourceUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
TagsSourceUtil()
           
 
Method Summary
static int countAll()
           
static com.liferay.portlet.tags.model.TagsSource create(long sourceId)
           
static com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(long sourceId)
           
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.TagsSource findByPrimaryKey(long sourceId)
           
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 TagsSourcePersistence getPersistence()
           
static com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
           
static com.liferay.portlet.tags.model.TagsSource remove(com.liferay.portlet.tags.model.TagsSource tagsSource)
           
static void removeAll()
           
 void setPersistence(TagsSourcePersistence persistence)
           
static com.liferay.portlet.tags.model.TagsSource update(com.liferay.portlet.tags.model.TagsSource tagsSource)
           
static com.liferay.portlet.tags.model.TagsSource update(com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsSourceUtil

public TagsSourceUtil()
Method Detail

create

public static com.liferay.portlet.tags.model.TagsSource create(long sourceId)

remove

public static com.liferay.portlet.tags.model.TagsSource remove(long sourceId)
                                                        throws com.liferay.portal.SystemException,
                                                               com.liferay.portlet.tags.NoSuchSourceException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchSourceException

remove

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

update

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

update

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

findByPrimaryKey

public static com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(long sourceId)
                                                                  throws com.liferay.portal.SystemException,
                                                                         com.liferay.portlet.tags.NoSuchSourceException
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.tags.NoSuchSourceException

fetchByPrimaryKey

public static com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(long sourceId)
                                                                   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

removeAll

public static void removeAll()
                      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 TagsSourcePersistence getPersistence()

setPersistence

public void setPersistence(TagsSourcePersistence persistence)