com.liferay.portlet.blogs.service
Interface BlogsEntryLocalService


public interface BlogsEntryLocalService

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.blogs.service.impl.BlogsEntryLocalServiceImpl. 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:
BlogsEntryLocalServiceFactory, BlogsEntryLocalServiceUtil

Method Summary
 BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
           
 BlogsEntry addEntry(long userId, long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions, ThemeDisplay themeDisplay)
           
 BlogsEntry addEntry(long userId, long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, ThemeDisplay themeDisplay)
           
 BlogsEntry addEntry(java.lang.String uuid, long userId, long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, ThemeDisplay themeDisplay)
           
 BlogsEntry addEntry(java.lang.String uuid, long userId, long plid, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions, ThemeDisplay themeDisplay)
           
 void addEntryResources(BlogsEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(BlogsEntry entry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addEntryResources(long entryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(long entryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteBlogsEntry(BlogsEntry blogsEntry)
           
 void deleteBlogsEntry(long entryId)
           
 void deleteEntries(long groupId)
           
 void deleteEntry(BlogsEntry entry)
           
 void deleteEntry(long entryId)
           
 java.util.List<BlogsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<BlogsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<BlogsEntry> getCompanyEntries(long companyId, int begin, int end)
           
 java.util.List<BlogsEntry> getCompanyEntries(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getCompanyEntriesCount(long companyId)
           
 BlogsEntry getEntry(long entryId)
           
 BlogsEntry getEntry(long groupId, java.lang.String urlTitle)
           
 java.util.List<BlogsEntry> getGroupEntries(long groupId, int begin, int end)
           
 java.util.List<BlogsEntry> getGroupEntries(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupEntriesCount(long groupId)
           
 java.util.List<BlogsEntry> getGroupUserEntries(long groupId, long userId, int begin, int end)
           
 int getGroupUserEntriesCount(long groupId, long userId)
           
 java.util.List<BlogsEntry> getNoAssetEntries()
           
 java.util.List<BlogsEntry> getOrganizationEntries(long organizationId, int begin, int end)
           
 int getOrganizationEntriesCount(long organizationId)
           
 java.lang.String getUrlTitle(long entryId, java.lang.String title)
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, long userId, java.lang.String keywords)
           
 BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
           
 BlogsEntry updateEntry(long userId, long entryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, java.lang.String[] tagsEntries, ThemeDisplay themeDisplay)
           
 void updateTagsAsset(long userId, BlogsEntry entry, java.lang.String[] tagsEntries)
           
 

Method Detail

addBlogsEntry

BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteBlogsEntry

void deleteBlogsEntry(long entryId)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteBlogsEntry

void deleteBlogsEntry(BlogsEntry blogsEntry)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<BlogsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<BlogsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                        int begin,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateBlogsEntry

BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addEntry

BlogsEntry addEntry(long userId,
                    long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    java.lang.String[] tagsEntries,
                    boolean addCommunityPermissions,
                    boolean addGuestPermissions,
                    ThemeDisplay themeDisplay)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BlogsEntry addEntry(java.lang.String uuid,
                    long userId,
                    long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    java.lang.String[] tagsEntries,
                    boolean addCommunityPermissions,
                    boolean addGuestPermissions,
                    ThemeDisplay themeDisplay)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BlogsEntry addEntry(long userId,
                    long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    java.lang.String[] tagsEntries,
                    java.lang.String[] communityPermissions,
                    java.lang.String[] guestPermissions,
                    ThemeDisplay themeDisplay)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntry

BlogsEntry addEntry(java.lang.String uuid,
                    long userId,
                    long plid,
                    java.lang.String title,
                    java.lang.String content,
                    int displayDateMonth,
                    int displayDateDay,
                    int displayDateYear,
                    int displayDateHour,
                    int displayDateMinute,
                    java.lang.String[] tagsEntries,
                    java.lang.Boolean addCommunityPermissions,
                    java.lang.Boolean addGuestPermissions,
                    java.lang.String[] communityPermissions,
                    java.lang.String[] guestPermissions,
                    ThemeDisplay themeDisplay)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntryResources

void addEntryResources(long entryId,
                       boolean addCommunityPermissions,
                       boolean addGuestPermissions)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntryResources

void addEntryResources(BlogsEntry entry,
                       boolean addCommunityPermissions,
                       boolean addGuestPermissions)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntryResources

void addEntryResources(long entryId,
                       java.lang.String[] communityPermissions,
                       java.lang.String[] guestPermissions)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addEntryResources

void addEntryResources(BlogsEntry entry,
                       java.lang.String[] communityPermissions,
                       java.lang.String[] guestPermissions)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEntries

void deleteEntries(long groupId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEntry

void deleteEntry(long entryId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEntry

void deleteEntry(BlogsEntry entry)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getCompanyEntries

java.util.List<BlogsEntry> getCompanyEntries(long companyId,
                                             int begin,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyEntries

java.util.List<BlogsEntry> getCompanyEntries(long companyId,
                                             int begin,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCompanyEntriesCount

int getCompanyEntriesCount(long companyId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntry

BlogsEntry getEntry(long entryId)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getEntry

BlogsEntry getEntry(long groupId,
                    java.lang.String urlTitle)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getGroupEntries

java.util.List<BlogsEntry> getGroupEntries(long groupId,
                                           int begin,
                                           int end)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntries

java.util.List<BlogsEntry> getGroupEntries(long groupId,
                                           int begin,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupEntriesCount

int getGroupEntriesCount(long groupId)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupUserEntries

java.util.List<BlogsEntry> getGroupUserEntries(long groupId,
                                               long userId,
                                               int begin,
                                               int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupUserEntriesCount

int getGroupUserEntriesCount(long groupId,
                             long userId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getNoAssetEntries

java.util.List<BlogsEntry> getNoAssetEntries()
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationEntries

java.util.List<BlogsEntry> getOrganizationEntries(long organizationId,
                                                  int begin,
                                                  int end)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationEntriesCount

int getOrganizationEntriesCount(long organizationId)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUrlTitle

java.lang.String getUrlTitle(long entryId,
                             java.lang.String title)

reIndex

void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

com.liferay.portal.kernel.search.Hits search(long companyId,
                                             long groupId,
                                             long userId,
                                             java.lang.String keywords)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

BlogsEntry updateEntry(long userId,
                       long entryId,
                       java.lang.String title,
                       java.lang.String content,
                       int displayDateMonth,
                       int displayDateDay,
                       int displayDateYear,
                       int displayDateHour,
                       int displayDateMinute,
                       java.lang.String[] tagsEntries,
                       ThemeDisplay themeDisplay)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

updateTagsAsset

void updateTagsAsset(long userId,
                     BlogsEntry entry,
                     java.lang.String[] tagsEntries)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException