com.liferay.portlet.journal.service.impl
Class JournalFeedLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
      extended by com.liferay.portlet.journal.service.impl.JournalFeedLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.journal.service.JournalFeedLocalService

public class JournalFeedLocalServiceImpl
extends JournalFeedLocalServiceBaseImpl

View Source

Author:
Raymond Augé

Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
counterLocalService, counterService, expandoValueLocalService, expandoValuePersistence, expandoValueService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
JournalFeedLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.journal.model.JournalFeed addFeed(long userId, long groupId, java.lang.String feedId, boolean autoFeedId, java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.lang.String rendererTemplateId, int delta, java.lang.String orderByCol, java.lang.String orderByType, java.lang.String targetLayoutFriendlyUrl, java.lang.String targetPortletId, java.lang.String contentField, java.lang.String feedType, double feedVersion, com.liferay.portal.service.ServiceContext serviceContext)
           
 com.liferay.portlet.journal.model.JournalFeed addFeed(java.lang.String uuid, long userId, long groupId, java.lang.String feedId, boolean autoFeedId, java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.lang.String rendererTemplateId, int delta, java.lang.String orderByCol, java.lang.String orderByType, java.lang.String targetLayoutFriendlyUrl, java.lang.String targetPortletId, java.lang.String contentField, java.lang.String feedType, double feedVersion, com.liferay.portal.service.ServiceContext serviceContext)
           
 void addFeedResources(com.liferay.portlet.journal.model.JournalFeed feed, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFeedResources(com.liferay.portlet.journal.model.JournalFeed feed, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addFeedResources(long feedId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFeedResources(long feedId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
           
 void deleteFeed(long feedId)
           
 void deleteFeed(long groupId, java.lang.String feedId)
           
 com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
           
 com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId, java.lang.String feedId)
           
 java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
           
 java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(long groupId)
           
 java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(long groupId, int start, int end)
           
 int getFeedsCount(long groupId)
           
protected  boolean isValidStructureField(long groupId, java.lang.String structureId, java.lang.String contentField)
           
 java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(long companyId, long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(long companyId, long groupId, java.lang.String feedId, java.lang.String name, java.lang.String description, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int searchCount(long companyId, long groupId, java.lang.String keywords)
           
 int searchCount(long companyId, long groupId, java.lang.String feedId, java.lang.String name, java.lang.String description, boolean andOperator)
           
 com.liferay.portlet.journal.model.JournalFeed updateFeed(long groupId, java.lang.String feedId, java.lang.String name, java.lang.String description, java.lang.String type, java.lang.String structureId, java.lang.String templateId, java.lang.String rendererTemplateId, int delta, java.lang.String orderByCol, java.lang.String orderByType, java.lang.String targetLayoutFriendlyUrl, java.lang.String targetPortletId, java.lang.String contentField, java.lang.String feedType, double feedVersion, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  void validate(long companyId, long groupId, java.lang.String feedId, boolean autoFeedId, java.lang.String name, java.lang.String description, java.lang.String structureId, java.lang.String targetLayoutFriendlyUrl, java.lang.String contentField)
           
protected  void validate(long companyId, long groupId, java.lang.String name, java.lang.String description, java.lang.String structureId, java.lang.String targetLayoutFriendlyUrl, java.lang.String contentField)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
addJournalFeed, createJournalFeed, deleteJournalFeed, deleteJournalFeed, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeed, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeeds, getJournalFeedsCount, getJournalFeedService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateJournalFeed, updateJournalFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalFeedLocalServiceImpl

public JournalFeedLocalServiceImpl()
Method Detail

addFeed

public com.liferay.portlet.journal.model.JournalFeed addFeed(long userId,
                                                             long groupId,
                                                             java.lang.String feedId,
                                                             boolean autoFeedId,
                                                             java.lang.String name,
                                                             java.lang.String description,
                                                             java.lang.String type,
                                                             java.lang.String structureId,
                                                             java.lang.String templateId,
                                                             java.lang.String rendererTemplateId,
                                                             int delta,
                                                             java.lang.String orderByCol,
                                                             java.lang.String orderByType,
                                                             java.lang.String targetLayoutFriendlyUrl,
                                                             java.lang.String targetPortletId,
                                                             java.lang.String contentField,
                                                             java.lang.String feedType,
                                                             double feedVersion,
                                                             com.liferay.portal.service.ServiceContext serviceContext)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFeed

public com.liferay.portlet.journal.model.JournalFeed addFeed(java.lang.String uuid,
                                                             long userId,
                                                             long groupId,
                                                             java.lang.String feedId,
                                                             boolean autoFeedId,
                                                             java.lang.String name,
                                                             java.lang.String description,
                                                             java.lang.String type,
                                                             java.lang.String structureId,
                                                             java.lang.String templateId,
                                                             java.lang.String rendererTemplateId,
                                                             int delta,
                                                             java.lang.String orderByCol,
                                                             java.lang.String orderByType,
                                                             java.lang.String targetLayoutFriendlyUrl,
                                                             java.lang.String targetPortletId,
                                                             java.lang.String contentField,
                                                             java.lang.String feedType,
                                                             double feedVersion,
                                                             com.liferay.portal.service.ServiceContext serviceContext)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFeedResources

public void addFeedResources(long feedId,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFeedResources

public void addFeedResources(com.liferay.portlet.journal.model.JournalFeed feed,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addFeedResources

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

addFeedResources

public void addFeedResources(com.liferay.portlet.journal.model.JournalFeed feed,
                             java.lang.String[] communityPermissions,
                             java.lang.String[] guestPermissions)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFeed

public void deleteFeed(long feedId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFeed

public void deleteFeed(long groupId,
                       java.lang.String feedId)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteFeed

public void deleteFeed(com.liferay.portlet.journal.model.JournalFeed feed)
                throws com.liferay.portal.PortalException,
                       com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFeed

public com.liferay.portlet.journal.model.JournalFeed getFeed(long feedId)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFeed

public com.liferay.portlet.journal.model.JournalFeed getFeed(long groupId,
                                                             java.lang.String feedId)
                                                      throws com.liferay.portal.PortalException,
                                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getFeeds

public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds()
                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFeeds

public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(long groupId)
                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFeeds

public java.util.List<com.liferay.portlet.journal.model.JournalFeed> getFeeds(long groupId,
                                                                              int start,
                                                                              int end)
                                                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getFeedsCount

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

search

public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(long companyId,
                                                                            long groupId,
                                                                            java.lang.String keywords,
                                                                            int start,
                                                                            int end,
                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public java.util.List<com.liferay.portlet.journal.model.JournalFeed> search(long companyId,
                                                                            long groupId,
                                                                            java.lang.String feedId,
                                                                            java.lang.String name,
                                                                            java.lang.String description,
                                                                            boolean andOperator,
                                                                            int start,
                                                                            int end,
                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       java.lang.String keywords)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       java.lang.String feedId,
                       java.lang.String name,
                       java.lang.String description,
                       boolean andOperator)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateFeed

public com.liferay.portlet.journal.model.JournalFeed updateFeed(long groupId,
                                                                java.lang.String feedId,
                                                                java.lang.String name,
                                                                java.lang.String description,
                                                                java.lang.String type,
                                                                java.lang.String structureId,
                                                                java.lang.String templateId,
                                                                java.lang.String rendererTemplateId,
                                                                int delta,
                                                                java.lang.String orderByCol,
                                                                java.lang.String orderByType,
                                                                java.lang.String targetLayoutFriendlyUrl,
                                                                java.lang.String targetPortletId,
                                                                java.lang.String contentField,
                                                                java.lang.String feedType,
                                                                double feedVersion,
                                                                com.liferay.portal.service.ServiceContext serviceContext)
                                                         throws com.liferay.portal.PortalException,
                                                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

isValidStructureField

protected boolean isValidStructureField(long groupId,
                                        java.lang.String structureId,
                                        java.lang.String contentField)

validate

protected void validate(long companyId,
                        long groupId,
                        java.lang.String feedId,
                        boolean autoFeedId,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.String structureId,
                        java.lang.String targetLayoutFriendlyUrl,
                        java.lang.String contentField)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

validate

protected void validate(long companyId,
                        long groupId,
                        java.lang.String name,
                        java.lang.String description,
                        java.lang.String structureId,
                        java.lang.String targetLayoutFriendlyUrl,
                        java.lang.String contentField)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException