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
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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<RatingsEntry> |
getEntries(long userId,
java.lang.String className,
java.util.List<java.lang.Long> classPKs)
|
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,
ServiceContext serviceContext)
|
static RatingsEntry |
updateRatingsEntry(RatingsEntry ratingsEntry)
|
static RatingsEntry |
updateRatingsEntry(RatingsEntry ratingsEntry,
boolean merge)
|
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 SystemException
- Throws:
SystemException
createRatingsEntry
public static RatingsEntry createRatingsEntry(long entryId)
deleteRatingsEntry
public static void deleteRatingsEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteRatingsEntry
public static void deleteRatingsEntry(RatingsEntry ratingsEntry)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getRatingsEntry
public static RatingsEntry getRatingsEntry(long entryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getRatingsEntries
public static java.util.List<RatingsEntry> getRatingsEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getRatingsEntriesCount
public static int getRatingsEntriesCount()
throws SystemException
- Throws:
SystemException
updateRatingsEntry
public static RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
throws SystemException
- Throws:
SystemException
updateRatingsEntry
public static RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry,
boolean merge)
throws SystemException
- Throws:
SystemException
deleteEntry
public static void deleteEntry(long userId,
java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getEntries
public static java.util.List<RatingsEntry> getEntries(long userId,
java.lang.String className,
java.util.List<java.lang.Long> classPKs)
throws SystemException
- Throws:
SystemException
getEntries
public static java.util.List<RatingsEntry> getEntries(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getEntry
public static RatingsEntry getEntry(long userId,
java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateEntry
public static RatingsEntry updateEntry(long userId,
java.lang.String className,
long classPK,
double score,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static RatingsEntryLocalService getService()
setService
public void setService(RatingsEntryLocalService service)