com.liferay.portlet.journal.service
Class JournalArticleServiceWrapper
java.lang.Object
com.liferay.portlet.journal.service.JournalArticleServiceWrapper
- All Implemented Interfaces:
- ServiceWrapper<JournalArticleService>, JournalArticleService
public class JournalArticleServiceWrapper
- extends Object
- implements JournalArticleService, ServiceWrapper<JournalArticleService>
This class is a wrapper for JournalArticleService.
- See Also:
JournalArticleService
|
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)
|
JournalArticleService |
getWrappedJournalArticleService()
Deprecated. Renamed to getWrappedService() |
JournalArticleService |
getWrappedService()
|
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 |
setWrappedJournalArticleService(JournalArticleService journalArticleService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.journal.service.JournalArticleService) |
void |
setWrappedService(JournalArticleService journalArticleService)
|
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)
|
JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticleServiceWrapper
public JournalArticleServiceWrapper(JournalArticleService journalArticleService)
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
- Specified by:
addArticle in interface JournalArticleService
- 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
- Specified by:
addArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
copyArticle
public JournalArticle copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws PortalException,
SystemException
- Specified by:
copyArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
deleteArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
deleteArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
expireArticle
public JournalArticle expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
expireArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
expireArticle
public void expireArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
expireArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long id)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticleByUrlTitle
public JournalArticle getArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Specified by:
getArticleByUrlTitle in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
double version,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleService
- Throws:
PortalException
SystemException
getArticlesByArticleId
public List<JournalArticle> getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getArticlesByArticleId in interface JournalArticleService
- Throws:
SystemException
getArticlesByLayoutUuid
public List<JournalArticle> getArticlesByLayoutUuid(long groupId,
String layoutUuid)
throws SystemException
- Specified by:
getArticlesByLayoutUuid in interface JournalArticleService
- Throws:
SystemException
getArticlesCountByArticleId
public int getArticlesCountByArticleId(long groupId,
String articleId)
throws SystemException
- Specified by:
getArticlesCountByArticleId in interface JournalArticleService
- Throws:
SystemException
getDisplayArticleByUrlTitle
public JournalArticle getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Specified by:
getDisplayArticleByUrlTitle in interface JournalArticleService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long resourcePrimKey)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
removeArticleLocale
public void removeArticleLocale(long companyId,
String languageId)
throws PortalException,
SystemException
- Specified by:
removeArticleLocale in interface JournalArticleService
- Throws:
PortalException
SystemException
removeArticleLocale
public JournalArticle removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws PortalException,
SystemException
- Specified by:
removeArticleLocale in interface JournalArticleService
- 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
- Specified by:
search in interface JournalArticleService
- 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
- Specified by:
search in interface JournalArticleService
- 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
- Specified by:
search in interface JournalArticleService
- 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
- Specified by:
searchCount in interface JournalArticleService
- 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
- Specified by:
searchCount in interface JournalArticleService
- 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
- Specified by:
searchCount in interface JournalArticleService
- Throws:
SystemException
subscribe
public void subscribe(long groupId)
throws PortalException,
SystemException
- Specified by:
subscribe in interface JournalArticleService
- Throws:
PortalException
SystemException
unsubscribe
public void unsubscribe(long groupId)
throws PortalException,
SystemException
- Specified by:
unsubscribe in interface JournalArticleService
- 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
- Specified by:
updateArticle in interface JournalArticleService
- 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
- Specified by:
updateArticle in interface JournalArticleService
- Throws:
PortalException
SystemException
updateArticle
public JournalArticle updateArticle(long groupId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateArticle in interface JournalArticleService
- 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
- Specified by:
updateArticleTranslation in interface JournalArticleService
- Throws:
PortalException
SystemException
updateContent
public JournalArticle updateContent(long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
- Specified by:
updateContent in interface JournalArticleService
- Throws:
PortalException
SystemException
getWrappedJournalArticleService
public JournalArticleService getWrappedJournalArticleService()
- Deprecated. Renamed to
getWrappedService()
setWrappedJournalArticleService
public void setWrappedJournalArticleService(JournalArticleService journalArticleService)
- Deprecated. Renamed to
setWrappedService(com.liferay.portlet.journal.service.JournalArticleService)
getWrappedService
public JournalArticleService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<JournalArticleService>
setWrappedService
public void setWrappedService(JournalArticleService journalArticleService)
- Specified by:
setWrappedService in interface ServiceWrapper<JournalArticleService>