com.liferay.wsrp.service
Class WSRPProducerLocalServiceUtil

java.lang.Object
  extended by com.liferay.wsrp.service.WSRPProducerLocalServiceUtil

public class WSRPProducerLocalServiceUtil
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.wsrp.service.WSRPProducerLocalService 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:
WSRPProducerLocalService

Constructor Summary
WSRPProducerLocalServiceUtil()
           
 
Method Summary
static void addProducer(java.lang.String portalId, boolean status, java.lang.String namespace, java.lang.String instanceName, boolean requiresRegistration, boolean supportsInbandRegistration, java.lang.String version, java.lang.String offeredPortlets, java.lang.String producerProfileMap, java.lang.String registrationProperties, java.lang.String registrationValidatorClass)
           
static WSRPProducer addWSRPProducer(WSRPProducer wsrpProducer)
           
static WSRPProducer createWSRPProducer(long producerId)
           
static void deleteProducer(WSRPProducer producer)
           
static void deleteWSRPProducer(long producerId)
           
static void deleteWSRPProducer(WSRPProducer wsrpProducer)
           
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 WSRPProducer getProducer(java.lang.String instanceName)
           
static java.util.List<WSRPProducer> getProducers(java.lang.String portalId, java.lang.String namespace)
           
static WSRPProducerLocalService getService()
           
static WSRPProducer getWSRPProducer(long producerId)
           
static java.util.List<WSRPProducer> getWSRPProducers(int start, int end)
           
static int getWSRPProducersCount()
           
 void setService(WSRPProducerLocalService service)
           
static WSRPProducer updateWSRPProducer(WSRPProducer wsrpProducer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSRPProducerLocalServiceUtil

public WSRPProducerLocalServiceUtil()
Method Detail

addWSRPProducer

public static WSRPProducer addWSRPProducer(WSRPProducer wsrpProducer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createWSRPProducer

public static WSRPProducer createWSRPProducer(long producerId)

deleteWSRPProducer

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

deleteWSRPProducer

public static void deleteWSRPProducer(WSRPProducer wsrpProducer)
                               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

getWSRPProducer

public static WSRPProducer getWSRPProducer(long producerId)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWSRPProducers

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

getWSRPProducersCount

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

updateWSRPProducer

public static WSRPProducer updateWSRPProducer(WSRPProducer wsrpProducer)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addProducer

public static void addProducer(java.lang.String portalId,
                               boolean status,
                               java.lang.String namespace,
                               java.lang.String instanceName,
                               boolean requiresRegistration,
                               boolean supportsInbandRegistration,
                               java.lang.String version,
                               java.lang.String offeredPortlets,
                               java.lang.String producerProfileMap,
                               java.lang.String registrationProperties,
                               java.lang.String registrationValidatorClass)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteProducer

public static void deleteProducer(WSRPProducer producer)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProducer

public static WSRPProducer getProducer(java.lang.String instanceName)
                                throws com.liferay.portal.PortalException,
                                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProducers

public static java.util.List<WSRPProducer> getProducers(java.lang.String portalId,
                                                        java.lang.String namespace)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getService

public static WSRPProducerLocalService getService()

setService

public void setService(WSRPProducerLocalService service)