com.liferay.portlet.blogs.service.impl
Class BlogsEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
          extended by com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.blogs.service.BlogsEntryService

public class BlogsEntryServiceImpl
extends BlogsEntryServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, counterService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
BlogsEntryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.blogs.model.BlogsEntry addEntry(java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
protected  java.lang.String exportToRSS(java.lang.String name, java.lang.String description, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId, int max)
           
 java.lang.String getCompanyEntriesRSS(long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
           
 com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId, java.lang.String urlTitle)
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId, int max)
           
 java.lang.String getGroupEntriesRSS(long groupId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId, int max)
           
 java.lang.String getOrganizationEntriesRSS(long organizationId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long entryId, java.lang.String title, java.lang.String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getCounterService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setCounterService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsEntryServiceImpl

public BlogsEntryServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.blogs.model.BlogsEntry addEntry(java.lang.String title,
                                                           java.lang.String content,
                                                           int displayDateMonth,
                                                           int displayDateDay,
                                                           int displayDateYear,
                                                           int displayDateHour,
                                                           int displayDateMinute,
                                                           boolean draft,
                                                           boolean allowTrackbacks,
                                                           java.lang.String[] trackbacks,
                                                           com.liferay.portal.service.ServiceContext serviceContext)
                                                    throws com.liferay.portal.PortalException,
                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

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

getCompanyEntries

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(long companyId,
                                                                                    int max)
                                                                             throws com.liferay.portal.PortalException,
                                                                                    com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getCompanyEntriesRSS

public java.lang.String getCompanyEntriesRSS(long companyId,
                                             int max,
                                             java.lang.String type,
                                             double version,
                                             java.lang.String displayStyle,
                                             java.lang.String feedURL,
                                             java.lang.String entryURL,
                                             com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

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

getEntry

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

getGroupEntries

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(long groupId,
                                                                                  int max)
                                                                           throws com.liferay.portal.PortalException,
                                                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupEntriesRSS

public java.lang.String getGroupEntriesRSS(long groupId,
                                           int max,
                                           java.lang.String type,
                                           double version,
                                           java.lang.String displayStyle,
                                           java.lang.String feedURL,
                                           java.lang.String entryURL,
                                           com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                    throws com.liferay.portal.PortalException,
                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntries

public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(long organizationId,
                                                                                         int max)
                                                                                  throws com.liferay.portal.PortalException,
                                                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getOrganizationEntriesRSS

public java.lang.String getOrganizationEntriesRSS(long organizationId,
                                                  int max,
                                                  java.lang.String type,
                                                  double version,
                                                  java.lang.String displayStyle,
                                                  java.lang.String feedURL,
                                                  java.lang.String entryURL,
                                                  com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                           throws com.liferay.portal.PortalException,
                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(long entryId,
                                                              java.lang.String title,
                                                              java.lang.String content,
                                                              int displayDateMonth,
                                                              int displayDateDay,
                                                              int displayDateYear,
                                                              int displayDateHour,
                                                              int displayDateMinute,
                                                              boolean draft,
                                                              boolean allowTrackbacks,
                                                              java.lang.String[] trackbacks,
                                                              com.liferay.portal.service.ServiceContext serviceContext)
                                                       throws com.liferay.portal.PortalException,
                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

exportToRSS

protected java.lang.String exportToRSS(java.lang.String name,
                                       java.lang.String description,
                                       java.lang.String type,
                                       double version,
                                       java.lang.String displayStyle,
                                       java.lang.String feedURL,
                                       java.lang.String entryURL,
                                       java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries,
                                       com.liferay.portal.theme.ThemeDisplay themeDisplay)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException