com.liferay.portlet.journal.service
Interface JournalFeedLocalService
- All Known Implementing Classes:
- JournalFeedLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface JournalFeedLocalService
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.journal.service.impl.JournalFeedLocalServiceImpl
}.
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:
JournalFeedLocalServiceUtil
- Generated:
Method Summary |
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,
ServiceContext serviceContext)
|
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,
ServiceContext serviceContext)
|
void |
addFeedResources(JournalFeed feed,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addFeedResources(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)
|
JournalFeed |
addJournalFeed(JournalFeed journalFeed)
|
JournalFeed |
createJournalFeed(long id)
|
void |
deleteFeed(JournalFeed feed)
|
void |
deleteFeed(long feedId)
|
void |
deleteFeed(long groupId,
java.lang.String feedId)
|
void |
deleteJournalFeed(JournalFeed journalFeed)
|
void |
deleteJournalFeed(long id)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
JournalFeed |
getFeed(long feedId)
|
JournalFeed |
getFeed(long groupId,
java.lang.String feedId)
|
java.util.List<JournalFeed> |
getFeeds()
|
java.util.List<JournalFeed> |
getFeeds(long groupId)
|
java.util.List<JournalFeed> |
getFeeds(long groupId,
int start,
int end)
|
int |
getFeedsCount(long groupId)
|
JournalFeed |
getJournalFeed(long id)
|
JournalFeed |
getJournalFeedByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List<JournalFeed> |
getJournalFeeds(int start,
int end)
|
int |
getJournalFeedsCount()
|
java.util.List<JournalFeed> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
OrderByComparator obc)
|
java.util.List<JournalFeed> |
search(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
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)
|
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,
ServiceContext serviceContext)
|
JournalFeed |
updateJournalFeed(JournalFeed journalFeed)
|
JournalFeed |
updateJournalFeed(JournalFeed journalFeed,
boolean merge)
|
addJournalFeed
JournalFeed addJournalFeed(JournalFeed journalFeed)
throws SystemException
- Throws:
SystemException
createJournalFeed
JournalFeed createJournalFeed(long id)
deleteJournalFeed
void deleteJournalFeed(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteJournalFeed
void deleteJournalFeed(JournalFeed journalFeed)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getJournalFeed
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalFeed getJournalFeed(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalFeedByUuidAndGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalFeed getJournalFeedByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getJournalFeeds
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> getJournalFeeds(int start,
int end)
throws SystemException
- Throws:
SystemException
getJournalFeedsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getJournalFeedsCount()
throws SystemException
- Throws:
SystemException
updateJournalFeed
JournalFeed updateJournalFeed(JournalFeed journalFeed)
throws SystemException
- Throws:
SystemException
updateJournalFeed
JournalFeed updateJournalFeed(JournalFeed journalFeed,
boolean merge)
throws SystemException
- Throws:
SystemException
addFeed
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeed
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
void addFeedResources(long feedId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
void addFeedResources(JournalFeed feed,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
void addFeedResources(long feedId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
void addFeedResources(JournalFeed feed,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
void deleteFeed(long feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
void deleteFeed(long groupId,
java.lang.String feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
void deleteFeed(JournalFeed feed)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeed
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalFeed getFeed(long feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeed
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalFeed getFeed(long groupId,
java.lang.String feedId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getFeeds
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> getFeeds()
throws SystemException
- Throws:
SystemException
getFeeds
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> getFeeds(long groupId)
throws SystemException
- Throws:
SystemException
getFeeds
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> getFeeds(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getFeedsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFeedsCount(long groupId)
throws SystemException
- Throws:
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<JournalFeed> search(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
long groupId,
java.lang.String keywords)
throws SystemException
- Throws:
SystemException
searchCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
long groupId,
java.lang.String feedId,
java.lang.String name,
java.lang.String description,
boolean andOperator)
throws SystemException
- Throws:
SystemException
updateFeed
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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException