com.liferay.portal.service
Interface PortletItemLocalService


public interface PortletItemLocalService

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.portal.service.impl.PortletItemLocalServiceImpl. 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:
PortletItemLocalServiceFactory, PortletItemLocalServiceUtil

Method Summary
 PortletItem addPortletItem(long userId, long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
 PortletItem addPortletItem(PortletItem portletItem)
           
 void deletePortletItem(long portletItemId)
           
 void deletePortletItem(PortletItem portletItem)
           
 java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 PortletItem getPortletItem(long portletItemId)
           
 PortletItem getPortletItem(long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
 java.util.List<PortletItem> getPortletItems(long groupId, java.lang.String className)
           
 java.util.List<PortletItem> getPortletItems(long groupId, java.lang.String portletId, java.lang.String className)
           
 PortletItem updatePortletItem(long userId, long groupId, java.lang.String name, java.lang.String portletId, java.lang.String className)
           
 PortletItem updatePortletItem(PortletItem portletItem)
           
 

Method Detail

addPortletItem

PortletItem addPortletItem(PortletItem portletItem)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deletePortletItem

void deletePortletItem(long portletItemId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deletePortletItem

void deletePortletItem(PortletItem portletItem)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<PortletItem> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                         int begin,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePortletItem

PortletItem updatePortletItem(PortletItem portletItem)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPortletItem

PortletItem addPortletItem(long userId,
                           long groupId,
                           java.lang.String name,
                           java.lang.String portletId,
                           java.lang.String className)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletItem

PortletItem getPortletItem(long portletItemId)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletItem

PortletItem getPortletItem(long groupId,
                           java.lang.String name,
                           java.lang.String portletId,
                           java.lang.String className)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletItems

java.util.List<PortletItem> getPortletItems(long groupId,
                                            java.lang.String className)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletItems

java.util.List<PortletItem> getPortletItems(long groupId,
                                            java.lang.String portletId,
                                            java.lang.String className)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updatePortletItem

PortletItem updatePortletItem(long userId,
                              long groupId,
                              java.lang.String name,
                              java.lang.String portletId,
                              java.lang.String className)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException