com.liferay.portal.service
Class ShardLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.ShardLocalServiceUtil

public class ShardLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portal.service.ShardLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
ShardLocalService

Constructor Summary
ShardLocalServiceUtil()
           
 
Method Summary
static Shard addShard(Shard shard)
           
static Shard addShard(java.lang.String className, long classPK, java.lang.String name)
           
static Shard createShard(long shardId)
           
static void deleteShard(long shardId)
           
static void deleteShard(Shard shard)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static ShardLocalService getService()
           
static Shard getShard(long shardId)
           
static Shard getShard(java.lang.String className, long classPK)
           
static java.util.List<Shard> getShards(int start, int end)
           
static int getShardsCount()
           
 void setService(ShardLocalService service)
           
static Shard updateShard(Shard shard)
           
static Shard updateShard(Shard shard, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardLocalServiceUtil

public ShardLocalServiceUtil()
Method Detail

addShard

public static Shard addShard(Shard shard)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createShard

public static Shard createShard(long shardId)

deleteShard

public static void deleteShard(long shardId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteShard

public static void deleteShard(Shard shard)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

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

getShard

public static Shard getShard(long shardId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getShards

public static java.util.List<Shard> getShards(int start,
                                              int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getShardsCount

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

updateShard

public static Shard updateShard(Shard shard)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateShard

public static Shard updateShard(Shard shard,
                                boolean merge)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addShard

public static Shard addShard(java.lang.String className,
                             long classPK,
                             java.lang.String name)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getShard

public static Shard getShard(java.lang.String className,
                             long classPK)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getService

public static ShardLocalService getService()

setService

public void setService(ShardLocalService service)