Liferay 6.0.5

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:
BlogsEntryService

public class BlogsEntryServiceImpl
extends BlogsEntryServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, blogsEntryFinder, blogsEntryLocalService, blogsEntryPersistence, blogsEntryService, blogsStatsUserFinder, blogsStatsUserLocalService, blogsStatsUserPersistence, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, socialEquityLogLocalService, socialEquityLogPersistence, userFinder, userLocalService, userPersistence, userService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
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
 BlogsEntry addEntry(String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
protected  String exportToRSS(String name, String description, String type, double version, String displayStyle, String feedURL, String entryURL, List<BlogsEntry> blogsEntries, ThemeDisplay themeDisplay)
           
 List<BlogsEntry> getCompanyEntries(long companyId, int status, int max)
           
 String getCompanyEntriesRSS(long companyId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry getEntry(long entryId)
           
 BlogsEntry getEntry(long groupId, String urlTitle)
           
 List<BlogsEntry> getGroupEntries(long groupId, int status, int max)
           
 String getGroupEntriesRSS(long groupId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 List<BlogsEntry> getGroupsEntries(long companyId, long groupId, int status, int max)
           
 List<BlogsEntry> getOrganizationEntries(long organizationId, int status, int max)
           
 String getOrganizationEntriesRSS(long organizationId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay)
           
 BlogsEntry updateEntry(long entryId, String title, String content, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks, String[] trackbacks, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBlogsEntryFinder, getBlogsEntryLocalService, getBlogsEntryPersistence, getBlogsEntryService, getBlogsStatsUserFinder, getBlogsStatsUserLocalService, getBlogsStatsUserPersistence, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBlogsEntryFinder, setBlogsEntryLocalService, setBlogsEntryPersistence, setBlogsEntryService, setBlogsStatsUserFinder, setBlogsStatsUserLocalService, setBlogsStatsUserPersistence, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, 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 BlogsEntry addEntry(String title,
                           String content,
                           int displayDateMonth,
                           int displayDateDay,
                           int displayDateYear,
                           int displayDateHour,
                           int displayDateMinute,
                           boolean allowPingbacks,
                           boolean allowTrackbacks,
                           String[] trackbacks,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getCompanyEntries

public List<BlogsEntry> getCompanyEntries(long companyId,
                                          int status,
                                          int max)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getCompanyEntriesRSS

public String getCompanyEntriesRSS(long companyId,
                                   int status,
                                   int max,
                                   String type,
                                   double version,
                                   String displayStyle,
                                   String feedURL,
                                   String entryURL,
                                   ThemeDisplay themeDisplay)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getEntry

public BlogsEntry getEntry(long entryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getEntry

public BlogsEntry getEntry(long groupId,
                           String urlTitle)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getGroupEntries

public List<BlogsEntry> getGroupEntries(long groupId,
                                        int status,
                                        int max)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getGroupEntriesRSS

public String getGroupEntriesRSS(long groupId,
                                 int status,
                                 int max,
                                 String type,
                                 double version,
                                 String displayStyle,
                                 String feedURL,
                                 String entryURL,
                                 ThemeDisplay themeDisplay)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getGroupsEntries

public List<BlogsEntry> getGroupsEntries(long companyId,
                                         long groupId,
                                         int status,
                                         int max)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

getOrganizationEntries

public List<BlogsEntry> getOrganizationEntries(long organizationId,
                                               int status,
                                               int max)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getOrganizationEntriesRSS

public String getOrganizationEntriesRSS(long organizationId,
                                        int status,
                                        int max,
                                        String type,
                                        double version,
                                        String displayStyle,
                                        String feedURL,
                                        String entryURL,
                                        ThemeDisplay themeDisplay)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

updateEntry

public BlogsEntry updateEntry(long entryId,
                              String title,
                              String content,
                              int displayDateMonth,
                              int displayDateDay,
                              int displayDateYear,
                              int displayDateHour,
                              int displayDateMinute,
                              boolean allowPingbacks,
                              boolean allowTrackbacks,
                              String[] trackbacks,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

exportToRSS

protected String exportToRSS(String name,
                             String description,
                             String type,
                             double version,
                             String displayStyle,
                             String feedURL,
                             String entryURL,
                             List<BlogsEntry> blogsEntries,
                             ThemeDisplay themeDisplay)
                      throws SystemException
Throws:
SystemException

Liferay 6.0.5