com.liferay.portlet.ratings.service
Interface RatingsEntryLocalService

All Known Implementing Classes:
RatingsEntryLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface RatingsEntryLocalService

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.portlet.ratings.service.impl.RatingsEntryLocalServiceImpl}. 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:
RatingsEntryLocalServiceUtil
Generated:

Method Summary
 RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
           
 RatingsEntry createRatingsEntry(long entryId)
           
 void deleteEntry(long userId, java.lang.String className, long classPK)
           
 void deleteRatingsEntry(long entryId)
           
 void deleteRatingsEntry(RatingsEntry ratingsEntry)
           
 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)
           
 java.util.List<RatingsEntry> getEntries(long userId, java.lang.String className, java.util.List<java.lang.Long> classPKs)
           
 java.util.List<RatingsEntry> getEntries(java.lang.String className, long classPK)
           
 RatingsEntry getEntry(long userId, java.lang.String className, long classPK)
           
 java.util.List<RatingsEntry> getRatingsEntries(int start, int end)
           
 int getRatingsEntriesCount()
           
 RatingsEntry getRatingsEntry(long entryId)
           
 RatingsEntry updateEntry(long userId, java.lang.String className, long classPK, double score, ServiceContext serviceContext)
           
 RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
           
 RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry, boolean merge)
           
 

Method Detail

addRatingsEntry

RatingsEntry addRatingsEntry(RatingsEntry ratingsEntry)
                             throws SystemException
Throws:
SystemException

createRatingsEntry

RatingsEntry createRatingsEntry(long entryId)

deleteRatingsEntry

void deleteRatingsEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

deleteRatingsEntry

void deleteRatingsEntry(RatingsEntry ratingsEntry)
                        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

getRatingsEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsEntry getRatingsEntry(long entryId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getRatingsEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsEntry> getRatingsEntries(int start,
                                                                                        int end)
                                               throws SystemException
Throws:
SystemException

getRatingsEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getRatingsEntriesCount()
                           throws SystemException
Throws:
SystemException

updateRatingsEntry

RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry)
                                throws SystemException
Throws:
SystemException

updateRatingsEntry

RatingsEntry updateRatingsEntry(RatingsEntry ratingsEntry,
                                boolean merge)
                                throws SystemException
Throws:
SystemException

deleteEntry

void deleteEntry(long userId,
                 java.lang.String className,
                 long classPK)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsEntry> getEntries(long userId,
                                                                                 java.lang.String className,
                                                                                 java.util.List<java.lang.Long> classPKs)
                                        throws SystemException
Throws:
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<RatingsEntry> getEntries(java.lang.String className,
                                                                                 long classPK)
                                        throws SystemException
Throws:
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
RatingsEntry getEntry(long userId,
                                                               java.lang.String className,
                                                               long classPK)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

updateEntry

RatingsEntry updateEntry(long userId,
                         java.lang.String className,
                         long classPK,
                         double score,
                         ServiceContext serviceContext)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException