com.liferay.portlet.journal.service.impl
Class JournalArticleServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseService, JournalArticleService
public class JournalArticleServiceImpl
- extends JournalArticleServiceBaseImpl
Fields inherited from class com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, companyLocalService, companyPersistence, companyService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, journalArticleFinder, journalArticleImageLocalService, journalArticleImagePersistence, journalArticleLocalService, journalArticlePersistence, journalArticleResourceLocalService, journalArticleResourcePersistence, journalArticleService, journalContentSearchLocalService, journalContentSearchPersistence, journalFeedFinder, journalFeedLocalService, journalFeedPersistence, journalFeedService, journalStructureFinder, journalStructureLocalService, journalStructurePersistence, journalStructureService, journalTemplateFinder, journalTemplateLocalService, journalTemplatePersistence, journalTemplateService, mailService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, workflowDefinitionLinkLocalService, workflowDefinitionLinkPersistence, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence |
Method Summary |
JournalArticle |
addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
|
void |
deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
void |
deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
void |
expireArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
getArticle(long id)
|
JournalArticle |
getArticle(long groupId,
String articleId)
|
JournalArticle |
getArticle(long groupId,
String articleId,
double version)
|
JournalArticle |
getArticle(long groupId,
String className,
long classPK)
|
JournalArticle |
getArticleByUrlTitle(long groupId,
String urlTitle)
|
String |
getArticleContent(long groupId,
String articleId,
double version,
String languageId,
ThemeDisplay themeDisplay)
|
String |
getArticleContent(long groupId,
String articleId,
String languageId,
ThemeDisplay themeDisplay)
|
List<JournalArticle> |
getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticlesByLayoutUuid(long groupId,
String layoutUuid)
|
int |
getArticlesCountByArticleId(long groupId,
String articleId)
|
JournalArticle |
getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
|
JournalArticle |
getLatestArticle(long resourcePrimKey)
|
JournalArticle |
getLatestArticle(long groupId,
String articleId,
int status)
|
JournalArticle |
getLatestArticle(long groupId,
String className,
long classPK)
|
void |
removeArticleLocale(long companyId,
String languageId)
|
JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
int |
searchCount(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate)
|
int |
searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
|
int |
searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
|
void |
subscribe(long groupId)
|
void |
unsubscribe(long groupId)
|
JournalArticle |
updateArticle(long userId,
long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String layoutUuid,
ServiceContext serviceContext)
|
JournalArticle |
updateArticle(long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
updateArticle(long groupId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
|
JournalArticle |
updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images)
Deprecated. updateArticleTranslation(long, String, double,
Locale, String, String, String, Map, ServiceContext) |
JournalArticle |
updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images,
ServiceContext serviceContext)
|
JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
JournalArticle |
updateStatus(long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
|
Methods inherited from class com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl |
afterPropertiesSet, destroy, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getJournalArticleFinder, getJournalArticleImageLocalService, getJournalArticleImagePersistence, getJournalArticleLocalService, getJournalArticlePersistence, getJournalArticleResourceLocalService, getJournalArticleResourcePersistence, getJournalArticleService, getJournalContentSearchLocalService, getJournalContentSearchPersistence, getJournalFeedFinder, getJournalFeedLocalService, getJournalFeedPersistence, getJournalFeedService, getJournalStructureFinder, getJournalStructureLocalService, getJournalStructurePersistence, getJournalStructureService, getJournalTemplateFinder, getJournalTemplateLocalService, getJournalTemplatePersistence, getJournalTemplateService, getMailService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowDefinitionLinkLocalService, getWorkflowDefinitionLinkPersistence, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setJournalArticleFinder, setJournalArticleImageLocalService, setJournalArticleImagePersistence, setJournalArticleLocalService, setJournalArticlePersistence, setJournalArticleResourceLocalService, setJournalArticleResourcePersistence, setJournalArticleService, setJournalContentSearchLocalService, setJournalContentSearchPersistence, setJournalFeedFinder, setJournalFeedLocalService, setJournalFeedPersistence, setJournalFeedService, setJournalStructureFinder, setJournalStructureLocalService, setJournalStructurePersistence, setJournalStructureService, setJournalTemplateFinder, setJournalTemplateLocalService, setJournalTemplatePersistence, setJournalTemplateService, setMailService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWorkflowDefinitionLinkLocalService, setWorkflowDefinitionLinkPersistence, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticleServiceImpl
public JournalArticleServiceImpl()
addArticle
public JournalArticle addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addArticle
public JournalArticle addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
copyArticle
public JournalArticle copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
expireArticle
public JournalArticle expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
expireArticle
public void expireArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long id)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticleByUrlTitle
public JournalArticle getArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
double version,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getArticlesByArticleId
public List<JournalArticle> getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getArticlesByLayoutUuid
public List<JournalArticle> getArticlesByLayoutUuid(long groupId,
String layoutUuid)
throws SystemException
- Throws:
SystemException
getArticlesCountByArticleId
public int getArticlesCountByArticleId(long groupId,
String articleId)
throws SystemException
- Throws:
SystemException
getDisplayArticleByUrlTitle
public JournalArticle getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long resourcePrimKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeArticleLocale
public void removeArticleLocale(long companyId,
String languageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeArticleLocale
public JournalArticle removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
throws SystemException
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
throws SystemException
- Throws:
SystemException
subscribe
public void subscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribe
public void unsubscribe(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateArticle
public JournalArticle updateArticle(long userId,
long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String layoutUuid,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateArticle
public JournalArticle updateArticle(long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateArticle
public JournalArticle updateArticle(long groupId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateArticleTranslation
public JournalArticle updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images)
throws PortalException,
SystemException
- Deprecated.
updateArticleTranslation(long, String, double,
Locale, String, String, String, Map, ServiceContext)
- Throws:
PortalException
SystemException
updateArticleTranslation
public JournalArticle updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateContent
public JournalArticle updateContent(long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateStatus
public JournalArticle updateStatus(long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException