com.liferay.wsrp.service
Interface WSRPProducerLocalService


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

View Source

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

This interface defines the service. The default implementation is com.liferay.wsrp.service.impl.WSRPProducerLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
WSRPProducerLocalServiceUtil

Method Summary
 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)
           
 WSRPProducer addWSRPProducer(WSRPProducer wsrpProducer)
           
 WSRPProducer createWSRPProducer(long producerId)
           
 void deleteProducer(WSRPProducer producer)
           
 void deleteWSRPProducer(long producerId)
           
 void deleteWSRPProducer(WSRPProducer wsrpProducer)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 WSRPProducer getProducer(java.lang.String instanceName)
           
 java.util.List<WSRPProducer> getProducers(java.lang.String portalId, java.lang.String namespace)
           
 WSRPProducer getWSRPProducer(long producerId)
           
 java.util.List<WSRPProducer> getWSRPProducers(int start, int end)
           
 int getWSRPProducersCount()
           
 WSRPProducer updateWSRPProducer(WSRPProducer wsrpProducer)
           
 

Method Detail

addWSRPProducer

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

createWSRPProducer

WSRPProducer createWSRPProducer(long producerId)

deleteWSRPProducer

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

deleteWSRPProducer

void deleteWSRPProducer(WSRPProducer wsrpProducer)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
WSRPProducer getWSRPProducer(long producerId)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getWSRPProducers

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

getWSRPProducersCount

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

updateWSRPProducer

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

addProducer

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

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

getProducer

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

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<WSRPProducer> getProducers(java.lang.String portalId,
                                                        java.lang.String namespace)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException