Liferay 6.0.5

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

public class JournalFeedLocalServiceImpl
extends JournalFeedLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
counterLocalService, 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
 JournalFeed addFeed(long userId, long groupId, String feedId, boolean autoFeedId, String name, String description, String type, String structureId, String templateId, String rendererTemplateId, int delta, String orderByCol, String orderByType, String targetLayoutFriendlyUrl, String targetPortletId, String contentField, String feedType, double feedVersion, ServiceContext serviceContext)
           
 void addFeedResources(JournalFeed feed, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFeedResources(JournalFeed feed, String[] communityPermissions, String[] guestPermissions)
           
 void addFeedResources(long feedId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addFeedResources(long feedId, String[] communityPermissions, String[] guestPermissions)
           
 void deleteFeed(JournalFeed feed)
           
 void deleteFeed(long feedId)
           
 void deleteFeed(long groupId, String feedId)
           
 JournalFeed getFeed(long feedId)
           
 JournalFeed getFeed(long groupId, String feedId)
           
 List<JournalFeed> getFeeds()
           
 List<JournalFeed> getFeeds(long groupId)
           
 List<JournalFeed> getFeeds(long groupId, int start, int end)
           
 int getFeedsCount(long groupId)
           
protected  boolean isValidStructureField(long groupId, String structureId, String contentField)
           
 List<JournalFeed> search(long companyId, long groupId, String keywords, int start, int end, OrderByComparator obc)
           
 List<JournalFeed> search(long companyId, long groupId, String feedId, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc)
           
 int searchCount(long companyId, long groupId, String keywords)
           
 int searchCount(long companyId, long groupId, String feedId, String name, String description, boolean andOperator)
           
 JournalFeed updateFeed(long groupId, String feedId, String name, String description, String type, String structureId, String templateId, String rendererTemplateId, int delta, String orderByCol, String orderByType, String targetLayoutFriendlyUrl, String targetPortletId, String contentField, String feedType, double feedVersion, ServiceContext serviceContext)
           
protected  void validate(long companyId, long groupId, String feedId, boolean autoFeedId, String name, String description, String structureId, String targetLayoutFriendlyUrl, String contentField)
           
protected  void validate(long companyId, long groupId, String name, String description, String structureId, String targetLayoutFriendlyUrl, String contentField)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
addJournalFeed, createJournalFeed, deleteJournalFeed, deleteJournalFeed, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeed, getJournalFeedByUuidAndGroupId, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeeds, getJournalFeedsCount, getJournalFeedService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, 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 JournalFeed addFeed(long userId,
                           long groupId,
                           String feedId,
                           boolean autoFeedId,
                           String name,
                           String description,
                           String type,
                           String structureId,
                           String templateId,
                           String rendererTemplateId,
                           int delta,
                           String orderByCol,
                           String orderByType,
                           String targetLayoutFriendlyUrl,
                           String targetPortletId,
                           String contentField,
                           String feedType,
                           double feedVersion,
                           ServiceContext serviceContext)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

addFeedResources

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

addFeedResources

public void addFeedResources(JournalFeed feed,
                             boolean addCommunityPermissions,
                             boolean addGuestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addFeedResources

public void addFeedResources(long feedId,
                             String[] communityPermissions,
                             String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

addFeedResources

public void addFeedResources(JournalFeed feed,
                             String[] communityPermissions,
                             String[] guestPermissions)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

deleteFeed

public void deleteFeed(long feedId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteFeed

public void deleteFeed(long groupId,
                       String feedId)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

deleteFeed

public void deleteFeed(JournalFeed feed)
                throws PortalException,
                       SystemException
Throws:
PortalException
SystemException

getFeed

public JournalFeed getFeed(long feedId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getFeed

public JournalFeed getFeed(long groupId,
                           String feedId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getFeeds

public List<JournalFeed> getFeeds()
                           throws SystemException
Throws:
SystemException

getFeeds

public List<JournalFeed> getFeeds(long groupId)
                           throws SystemException
Throws:
SystemException

getFeeds

public List<JournalFeed> getFeeds(long groupId,
                                  int start,
                                  int end)
                           throws SystemException
Throws:
SystemException

getFeedsCount

public int getFeedsCount(long groupId)
                  throws SystemException
Throws:
SystemException

search

public List<JournalFeed> search(long companyId,
                                long groupId,
                                String keywords,
                                int start,
                                int end,
                                OrderByComparator obc)
                         throws SystemException
Throws:
SystemException

search

public List<JournalFeed> search(long companyId,
                                long groupId,
                                String feedId,
                                String name,
                                String description,
                                boolean andOperator,
                                int start,
                                int end,
                                OrderByComparator obc)
                         throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       String keywords)
                throws SystemException
Throws:
SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       String feedId,
                       String name,
                       String description,
                       boolean andOperator)
                throws SystemException
Throws:
SystemException

updateFeed

public JournalFeed updateFeed(long groupId,
                              String feedId,
                              String name,
                              String description,
                              String type,
                              String structureId,
                              String templateId,
                              String rendererTemplateId,
                              int delta,
                              String orderByCol,
                              String orderByType,
                              String targetLayoutFriendlyUrl,
                              String targetPortletId,
                              String contentField,
                              String feedType,
                              double feedVersion,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

isValidStructureField

protected boolean isValidStructureField(long groupId,
                                        String structureId,
                                        String contentField)

validate

protected void validate(long companyId,
                        long groupId,
                        String feedId,
                        boolean autoFeedId,
                        String name,
                        String description,
                        String structureId,
                        String targetLayoutFriendlyUrl,
                        String contentField)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

validate

protected void validate(long companyId,
                        long groupId,
                        String name,
                        String description,
                        String structureId,
                        String targetLayoutFriendlyUrl,
                        String contentField)
                 throws PortalException
Throws:
PortalException

Liferay 6.0.5