com.liferay.portlet.journal.service.impl
Class JournalFeedLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalFeedLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalFeedLocalService
public class JournalFeedLocalServiceImpl
- extends JournalFeedLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl |
classNameLocalService, classNamePersistence, classNameService, counterLocalService, ddmStructureFinder, ddmStructureLocalService, ddmStructurePersistence, ddmStructureService, expandoValueLocalService, expandoValuePersistence, expandoValueService, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, persistedModelLocalServiceRegistry, resourceLocalService, systemEventLocalService, systemEventPersistence, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
JournalFeed |
addFeed(long userId,
long groupId,
String feedId,
boolean autoFeedId,
String name,
String description,
String ddmStructureKey,
String ddmTemplateKey,
String ddmRendererTemplateKey,
int delta,
String orderByCol,
String orderByType,
String targetLayoutFriendlyUrl,
String targetPortletId,
String contentField,
String feedFormat,
double feedVersion,
ServiceContext serviceContext)
|
void |
addFeedResources(JournalFeed feed,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addFeedResources(JournalFeed feed,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addFeedResources(long feedId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addFeedResources(long feedId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
deleteFeed(JournalFeed feed)
|
void |
deleteFeed(long feedId)
|
void |
deleteFeed(long groupId,
String feedId)
|
JournalFeed |
fetchFeed(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 ddmStructureKey,
String contentField)
|
protected boolean |
isValidStructureOptionValue(Map<String,DDMFormField> ddmFormFieldsMap,
String contentField)
|
List<JournalFeed> |
search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator<JournalFeed> obc)
|
List<JournalFeed> |
search(long companyId,
long groupId,
String feedId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator<JournalFeed> 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 ddmStructureKey,
String ddmTemplateKey,
String ddmRendererTemplateKey,
int delta,
String orderByCol,
String orderByType,
String targetLayoutFriendlyUrl,
String targetPortletId,
String contentField,
String feedFormat,
double feedVersion,
ServiceContext serviceContext)
|
protected void |
validate(long companyId,
long groupId,
String feedId,
boolean autoFeedId,
String name,
String ddmStructureKey,
String targetLayoutFriendlyUrl,
String contentField)
|
protected void |
validate(long companyId,
long groupId,
String name,
String ddmStructureKey,
String targetLayoutFriendlyUrl,
String contentField)
|
| Methods inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl |
addJournalFeed, afterPropertiesSet, createJournalFeed, deleteJournalFeed, deleteJournalFeed, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchJournalFeed, fetchJournalFeedByUuidAndGroupId, getActionableDynamicQuery, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getDDMStructureFinder, getDDMStructureLocalService, getDDMStructurePersistence, getDDMStructureService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getExportActionableDynamicQuery, getJournalFeed, getJournalFeedByUuidAndGroupId, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeeds, getJournalFeedsByUuidAndCompanyId, getJournalFeedsByUuidAndCompanyId, getJournalFeedsCount, getJournalFeedService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSystemEventLocalService, getSystemEventPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, initActionableDynamicQuery, runSQL, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setDDMStructureFinder, setDDMStructureLocalService, setDDMStructurePersistence, setDDMStructureService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setResourceLocalService, setSystemEventLocalService, setSystemEventPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateJournalFeed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalFeedLocalServiceImpl
public JournalFeedLocalServiceImpl()
addFeed
public JournalFeed addFeed(long userId,
long groupId,
String feedId,
boolean autoFeedId,
String name,
String description,
String ddmStructureKey,
String ddmTemplateKey,
String ddmRendererTemplateKey,
int delta,
String orderByCol,
String orderByType,
String targetLayoutFriendlyUrl,
String targetPortletId,
String contentField,
String feedFormat,
double feedVersion,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addFeedResources
public void addFeedResources(JournalFeed feed,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
- Throws:
PortalException
addFeedResources
public void addFeedResources(JournalFeed feed,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
- Throws:
PortalException
addFeedResources
public void addFeedResources(long feedId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
- Throws:
PortalException
addFeedResources
public void addFeedResources(long feedId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
- Throws:
PortalException
deleteFeed
@SystemEvent(type=1)
public void deleteFeed(JournalFeed feed)
throws PortalException
- Throws:
PortalException
deleteFeed
public void deleteFeed(long feedId)
throws PortalException
- Throws:
PortalException
deleteFeed
public void deleteFeed(long groupId,
String feedId)
throws PortalException
- Throws:
PortalException
fetchFeed
public JournalFeed fetchFeed(long groupId,
String feedId)
getFeed
public JournalFeed getFeed(long feedId)
throws PortalException
- Throws:
PortalException
getFeed
public JournalFeed getFeed(long groupId,
String feedId)
throws PortalException
- Throws:
PortalException
getFeeds
public List<JournalFeed> getFeeds()
getFeeds
public List<JournalFeed> getFeeds(long groupId)
getFeeds
public List<JournalFeed> getFeeds(long groupId,
int start,
int end)
getFeedsCount
public int getFeedsCount(long groupId)
search
public List<JournalFeed> search(long companyId,
long groupId,
String keywords,
int start,
int end,
OrderByComparator<JournalFeed> obc)
search
public List<JournalFeed> search(long companyId,
long groupId,
String feedId,
String name,
String description,
boolean andOperator,
int start,
int end,
OrderByComparator<JournalFeed> obc)
searchCount
public int searchCount(long companyId,
long groupId,
String keywords)
searchCount
public int searchCount(long companyId,
long groupId,
String feedId,
String name,
String description,
boolean andOperator)
updateFeed
public JournalFeed updateFeed(long groupId,
String feedId,
String name,
String description,
String ddmStructureKey,
String ddmTemplateKey,
String ddmRendererTemplateKey,
int delta,
String orderByCol,
String orderByType,
String targetLayoutFriendlyUrl,
String targetPortletId,
String contentField,
String feedFormat,
double feedVersion,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
isValidStructureField
protected boolean isValidStructureField(long groupId,
String ddmStructureKey,
String contentField)
isValidStructureOptionValue
protected boolean isValidStructureOptionValue(Map<String,DDMFormField> ddmFormFieldsMap,
String contentField)
validate
protected void validate(long companyId,
long groupId,
String feedId,
boolean autoFeedId,
String name,
String ddmStructureKey,
String targetLayoutFriendlyUrl,
String contentField)
throws PortalException
- Throws:
PortalException
validate
protected void validate(long companyId,
long groupId,
String name,
String ddmStructureKey,
String targetLayoutFriendlyUrl,
String contentField)
throws PortalException
- Throws:
PortalException