public class JournalFeedLocalServiceImpl
extends com.liferay.journal.service.base.JournalFeedLocalServiceBaseImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.dynamic.data.mapping.service.DDMStructureLocalService |
ddmStructureLocalService |
classNameLocalService, classNamePersistence, counterLocalService, expandoValueLocalService, expandoValuePersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, persistedModelLocalServiceRegistry, resourceLocalService, systemEventLocalService, systemEventPersistence, userLocalService, userPersistence
Constructor and Description |
---|
JournalFeedLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
JournalFeed |
addFeed(long userId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String description,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.String ddmRendererTemplateKey,
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 feedFormat,
double feedVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addFeedResources(JournalFeed feed,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFeedResources(JournalFeed feed,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addFeedResources(long feedId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addFeedResources(long feedId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
deleteFeed(JournalFeed feed) |
void |
deleteFeed(long feedId) |
void |
deleteFeed(long groupId,
java.lang.String feedId) |
JournalFeed |
fetchFeed(long groupId,
java.lang.String feedId) |
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) |
protected boolean |
isValidStructureOptionValue(java.util.Map<java.lang.String,com.liferay.dynamic.data.mapping.model.DDMFormField> ddmFormFieldsMap,
java.lang.String contentField) |
java.util.List<JournalFeed> |
search(long companyId,
long groupId,
java.lang.String keywords,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalFeed> 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,
com.liferay.portal.kernel.util.OrderByComparator<JournalFeed> 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 ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.String ddmRendererTemplateKey,
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 feedFormat,
double feedVersion,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
validate(long companyId,
long groupId,
java.lang.String feedId,
boolean autoFeedId,
java.lang.String name,
java.lang.String ddmStructureKey,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String contentField) |
protected void |
validate(long companyId,
long groupId,
java.lang.String name,
java.lang.String ddmStructureKey,
java.lang.String targetLayoutFriendlyUrl,
java.lang.String contentField) |
addJournalFeed, afterPropertiesSet, createJournalFeed, deleteJournalFeed, deleteJournalFeed, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchJournalFeed, fetchJournalFeedByUuidAndGroupId, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getJournalFeed, getJournalFeedByUuidAndGroupId, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeeds, getJournalFeedsByUuidAndCompanyId, getJournalFeedsByUuidAndCompanyId, getJournalFeedsCount, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserLocalService, setUserPersistence, updateJournalFeed
@ServiceReference(type=com.liferay.dynamic.data.mapping.service.DDMStructureLocalService.class) protected com.liferay.dynamic.data.mapping.service.DDMStructureLocalService ddmStructureLocalService
public JournalFeed addFeed(long userId, long groupId, java.lang.String feedId, boolean autoFeedId, java.lang.String name, java.lang.String description, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.lang.String ddmRendererTemplateKey, 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 feedFormat, double feedVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addFeedResources(JournalFeed feed, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addFeedResources(JournalFeed feed, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addFeedResources(long feedId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addFeedResources(long feedId, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(type=1) public void deleteFeed(JournalFeed feed) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteFeed(long feedId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteFeed(long groupId, java.lang.String feedId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFeed fetchFeed(long groupId, java.lang.String feedId)
public JournalFeed getFeed(long feedId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public JournalFeed getFeed(long groupId, java.lang.String feedId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public java.util.List<JournalFeed> getFeeds()
public java.util.List<JournalFeed> getFeeds(long groupId)
public java.util.List<JournalFeed> getFeeds(long groupId, int start, int end)
public int getFeedsCount(long groupId)
public java.util.List<JournalFeed> search(long companyId, long groupId, java.lang.String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<JournalFeed> obc)
public 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, com.liferay.portal.kernel.util.OrderByComparator<JournalFeed> obc)
public int searchCount(long companyId, long groupId, java.lang.String keywords)
public int searchCount(long companyId, long groupId, java.lang.String feedId, java.lang.String name, java.lang.String description, boolean andOperator)
public JournalFeed updateFeed(long groupId, java.lang.String feedId, java.lang.String name, java.lang.String description, java.lang.String ddmStructureKey, java.lang.String ddmTemplateKey, java.lang.String ddmRendererTemplateKey, 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 feedFormat, double feedVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected boolean isValidStructureOptionValue(java.util.Map<java.lang.String,com.liferay.dynamic.data.mapping.model.DDMFormField> ddmFormFieldsMap, java.lang.String contentField)
protected void validate(long companyId, long groupId, java.lang.String feedId, boolean autoFeedId, java.lang.String name, java.lang.String ddmStructureKey, java.lang.String targetLayoutFriendlyUrl, java.lang.String contentField) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(long companyId, long groupId, java.lang.String name, java.lang.String ddmStructureKey, java.lang.String targetLayoutFriendlyUrl, java.lang.String contentField) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException