Liferay 6.0.5

com.liferay.portlet.journal.service.impl
Class JournalArticleServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
          extended by com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
All Implemented Interfaces:
JournalArticleService

public class JournalArticleServiceImpl
extends JournalArticleServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, 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, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
JournalArticleServiceImpl()
           
 
Method Summary
 JournalArticle addArticle(long groupId, String articleId, boolean autoArticleId, String title, String description, String content, String type, String structureId, String templateId, 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, String articleId, boolean autoArticleId, String title, String description, String content, String type, String structureId, String templateId, 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)
           
 JournalArticle getArticle(long groupId, String articleId)
           
 JournalArticle getArticle(long groupId, String articleId, double version)
           
 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)
           
 JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
 void removeArticleLocale(long companyId, String languageId)
           
 JournalArticle removeArticleLocale(long groupId, String articleId, double version, String languageId)
           
 JournalArticle updateArticle(long groupId, String articleId, double version, String content)
           
 JournalArticle updateArticle(long groupId, String articleId, double version, String title, String description, String content, String type, String structureId, String templateId, 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 updateContent(long groupId, String articleId, double version, String content)
           
 
Methods inherited from class com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, 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, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, 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, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleServiceImpl

public JournalArticleServiceImpl()
Method Detail

addArticle

public JournalArticle addArticle(long groupId,
                                 String articleId,
                                 boolean autoArticleId,
                                 String title,
                                 String description,
                                 String content,
                                 String type,
                                 String structureId,
                                 String templateId,
                                 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,
                                 String articleId,
                                 boolean autoArticleId,
                                 String title,
                                 String description,
                                 String content,
                                 String type,
                                 String structureId,
                                 String templateId,
                                 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

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

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

getLatestArticle

public JournalArticle getLatestArticle(long groupId,
                                       String articleId,
                                       int status)
                                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

updateArticle

public JournalArticle updateArticle(long groupId,
                                    String articleId,
                                    double version,
                                    String content)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

updateArticle

public JournalArticle updateArticle(long groupId,
                                    String articleId,
                                    double version,
                                    String title,
                                    String description,
                                    String content,
                                    String type,
                                    String structureId,
                                    String templateId,
                                    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

updateContent

public JournalArticle updateContent(long groupId,
                                    String articleId,
                                    double version,
                                    String content)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5