com.liferay.portlet.ratings.service
Class RatingsEntryLocalServiceUtil
java.lang.Object
com.liferay.portlet.ratings.service.RatingsEntryLocalServiceUtil
public class RatingsEntryLocalServiceUtil
- 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.portlet.ratings.service.RatingsEntryLocalService
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:
RatingsEntryLocalService
Method Summary |
static RatingsEntry |
addRatingsEntry(RatingsEntry ratingsEntry)
|
static RatingsEntry |
createRatingsEntry(long entryId)
|
static void |
deleteEntry(long userId,
java.lang.String className,
long classPK)
|
static void |
deleteRatingsEntry(long entryId)
|
static void |
deleteRatingsEntry(RatingsEntry ratingsEntry)
|
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 java.util.List<RatingsEntry> |
getEntries(java.lang.String className,
long classPK)
|
static RatingsEntry |
getEntry(long userId,
java.lang.String className,
long classPK)
|
static java.util.List<RatingsEntry> |
getRatingsEntries(int start,
int end)
|
static int |
getRatingsEntriesCount()
|
static RatingsEntry |
getRatingsEntry(long entryId)
|
static RatingsEntryLocalService |
getService()
|
void |
setService(RatingsEntryLocalService service)
|
static RatingsEntry |
updateEntry(long userId,
java.lang.String className,
long classPK,
double score)
|
static RatingsEntry |
updateRatingsEntry(RatingsEntry ratingsEntry)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RatingsEntryLocalServiceUtil
public RatingsEntryLocalServiceUtil()
addRatingsEntry
public static RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createRatingsEntry
public static RatingsEntry createRatingsEntry(long entryId)
deleteRatingsEntry
public static void deleteRatingsEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRatingsEntry
public static void deleteRatingsEntry(RatingsEntry ratingsEntry)
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
getRatingsEntry
public static RatingsEntry getRatingsEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRatingsEntries
public static java.util.List<RatingsEntry> getRatingsEntries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRatingsEntriesCount
public static int getRatingsEntriesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateRatingsEntry
public static RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteEntry
public static void deleteEntry(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntry
public static RatingsEntry getEntry(long userId,
java.lang.String className,
long classPK)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntries
public static java.util.List<RatingsEntry> getEntries(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public static RatingsEntry updateEntry(long userId,
java.lang.String className,
long classPK,
double score)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static RatingsEntryLocalService getService()
setService
public void setService(RatingsEntryLocalService service)