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 |
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, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
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 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 |
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 structureId,
String targetLayoutFriendlyUrl,
String contentField)
|
protected void |
validate(long companyId,
long groupId,
String name,
String structureId,
String targetLayoutFriendlyUrl,
String contentField)
|
Methods inherited from class com.liferay.portlet.journal.service.base.JournalFeedLocalServiceBaseImpl |
addJournalFeed, afterPropertiesSet, createJournalFeed, deleteJournalFeed, deleteJournalFeed, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchJournalFeed, getBeanIdentifier, 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, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setBeanIdentifier, 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 |
JournalFeedLocalServiceImpl
public JournalFeedLocalServiceImpl()
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(JournalFeed feed,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public void addFeedResources(JournalFeed feed,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public void addFeedResources(long feedId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addFeedResources
public void addFeedResources(long feedId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteFeed
public void deleteFeed(JournalFeed feed)
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
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 structureId,
String targetLayoutFriendlyUrl,
String contentField)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(long companyId,
long groupId,
String name,
String structureId,
String targetLayoutFriendlyUrl,
String contentField)
throws PortalException
- Throws:
PortalException