com.liferay.portal.service
Interface PortletItemLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
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)
           
 PortletItem createPortletItem(long portletItemId)
           
 void deletePortletItem(long portletItemId)
           
 void deletePortletItem(PortletItem portletItem)
           
 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)
           
 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(int start, int end)
           
 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)
           
 int getPortletItemsCount()
           
 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

createPortletItem

PortletItem createPortletItem(long portletItemId)

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
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

getPortletItem

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PortletItem getPortletItem(long portletItemId)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getPortletItems

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

getPortletItemsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getPortletItemsCount()
                         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.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletItem

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PortletItem getPortletItem(long groupId,
                                         java.lang.String name,
                                         java.lang.String portletId,
                                         java.lang.String className)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getPortletItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<PortletItem> getPortletItems(long groupId,
                                                          java.lang.String className)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPortletItems

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException