com.liferay.portal.service
Interface PortletItemLocalService
- All Known Implementing Classes:
- PortletItemLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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)
|
PortletItem |
updatePortletItem(PortletItem portletItem,
boolean merge)
|
addPortletItem
PortletItem addPortletItem(PortletItem portletItem)
throws SystemException
- Throws:
SystemException
createPortletItem
PortletItem createPortletItem(long portletItemId)
deletePortletItem
void deletePortletItem(long portletItemId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deletePortletItem
void deletePortletItem(PortletItem portletItem)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getPortletItem
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem getPortletItem(long portletItemId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletItems
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> getPortletItems(int start,
int end)
throws SystemException
- Throws:
SystemException
getPortletItemsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getPortletItemsCount()
throws SystemException
- Throws:
SystemException
updatePortletItem
PortletItem updatePortletItem(PortletItem portletItem)
throws SystemException
- Throws:
SystemException
updatePortletItem
PortletItem updatePortletItem(PortletItem portletItem,
boolean merge)
throws SystemException
- Throws:
SystemException
addPortletItem
PortletItem addPortletItem(long userId,
long groupId,
java.lang.String name,
java.lang.String portletId,
java.lang.String className)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletItem
@Transactional(propagation=SUPPORTS,
readOnly=true)
PortletItem getPortletItem(long groupId,
java.lang.String name,
java.lang.String portletId,
java.lang.String className)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getPortletItems
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> getPortletItems(long groupId,
java.lang.String className)
throws SystemException
- Throws:
SystemException
getPortletItems
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<PortletItem> getPortletItems(long groupId,
java.lang.String portletId,
java.lang.String className)
throws SystemException
- Throws:
SystemException
updatePortletItem
PortletItem updatePortletItem(long userId,
long groupId,
java.lang.String name,
java.lang.String portletId,
java.lang.String className)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException