com.liferay.portlet.journal.service
Class JournalArticleLocalServiceWrapper
java.lang.Object
com.liferay.portlet.journal.service.JournalArticleLocalServiceWrapper
- All Implemented Interfaces:
- JournalArticleLocalService
public class JournalArticleLocalServiceWrapper
- extends Object
- implements JournalArticleLocalService
This class is a wrapper for JournalArticleLocalService.
- See Also:
JournalArticleLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
JournalArticle |
addArticle(long userId,
long groupId,
String articleId,
boolean autoArticleId,
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)
|
void |
addArticleResources(JournalArticle article,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addArticleResources(JournalArticle article,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addArticleResources(long groupId,
String articleId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addArticleResources(long groupId,
String articleId,
String[] communityPermissions,
String[] guestPermissions)
|
JournalArticle |
addJournalArticle(JournalArticle journalArticle)
|
JournalArticle |
checkArticleResourcePrimKey(long groupId,
String articleId,
double version)
|
void |
checkArticles()
|
void |
checkNewLine(long groupId,
String articleId,
double version)
|
void |
checkStructure(long groupId,
String articleId,
double version)
|
JournalArticle |
copyArticle(long userId,
long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
|
JournalArticle |
createJournalArticle(long id)
|
void |
deleteArticle(JournalArticle article,
String articleURL,
ServiceContext serviceContext)
|
void |
deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
void |
deleteArticle(long groupId,
String articleId,
ServiceContext serviceContext)
|
void |
deleteArticles(long groupId)
|
void |
deleteJournalArticle(JournalArticle journalArticle)
|
void |
deleteJournalArticle(long id)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
JournalArticle |
expireArticle(long userId,
long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
getArticle(long id)
|
JournalArticle |
getArticle(long groupId,
String articleId)
|
JournalArticle |
getArticle(long groupId,
String articleId,
double version)
|
JournalArticle |
getArticleByUrlTitle(long groupId,
String urlTitle)
|
String |
getArticleContent(JournalArticle article,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
String |
getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
|
String |
getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
String |
getArticleContent(long groupId,
String articleId,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
|
String |
getArticleContent(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(JournalArticle article,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
List<JournalArticle> |
getArticles()
|
List<JournalArticle> |
getArticles(long groupId)
|
List<JournalArticle> |
getArticles(long groupId,
int start,
int end)
|
List<JournalArticle> |
getArticles(long groupId,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticles(long groupId,
String articleId)
|
List<JournalArticle> |
getArticlesBySmallImageId(long smallImageId)
|
int |
getArticlesCount(long groupId)
|
List<JournalArticle> |
getCompanyArticles(long companyId,
int status,
int start,
int end)
|
int |
getCompanyArticlesCount(long companyId,
int status)
|
JournalArticle |
getDisplayArticle(long groupId,
String articleId)
|
JournalArticle |
getJournalArticle(long id)
|
JournalArticle |
getJournalArticleByUuidAndGroupId(String uuid,
long groupId)
|
List<JournalArticle> |
getJournalArticles(int start,
int end)
|
int |
getJournalArticlesCount()
|
JournalArticle |
getLatestArticle(long resourcePrimKey)
|
JournalArticle |
getLatestArticle(long resourcePrimKey,
int status)
|
JournalArticle |
getLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
|
JournalArticle |
getLatestArticle(long groupId,
String articleId)
|
JournalArticle |
getLatestArticle(long groupId,
String articleId,
int status)
|
JournalArticle |
getLatestArticleByUrlTitle(long groupId,
String urlTitle,
int status)
|
double |
getLatestVersion(long groupId,
String articleId)
|
double |
getLatestVersion(long groupId,
String articleId,
int status)
|
List<JournalArticle> |
getStructureArticles(long groupId,
String structureId)
|
List<JournalArticle> |
getStructureArticles(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
|
int |
getStructureArticlesCount(long groupId,
String structureId)
|
List<JournalArticle> |
getTemplateArticles(long groupId,
String templateId)
|
List<JournalArticle> |
getTemplateArticles(long groupId,
String templateId,
int start,
int end,
OrderByComparator obc)
|
int |
getTemplateArticlesCount(long groupId,
String templateId)
|
JournalArticleLocalService |
getWrappedJournalArticleLocalService()
|
boolean |
hasArticle(long groupId,
String articleId)
|
boolean |
isLatestVersion(long groupId,
String articleId,
double version)
|
boolean |
isLatestVersion(long groupId,
String articleId,
double version,
int status)
|
JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
List<JournalArticle> |
search(long companyId,
long groupId,
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,
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,
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,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate)
|
int |
searchCount(long companyId,
long groupId,
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,
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)
|
JournalArticle |
updateArticle(long userId,
long groupId,
String articleId,
double version,
String content)
|
JournalArticle |
updateArticle(long userId,
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)
|
void |
updateAsset(long userId,
JournalArticle article,
long[] assetCategoryIds,
String[] assetTagNames)
|
JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
JournalArticle |
updateJournalArticle(JournalArticle journalArticle)
|
JournalArticle |
updateJournalArticle(JournalArticle journalArticle,
boolean merge)
|
JournalArticle |
updateStatus(long userId,
JournalArticle article,
int status,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
updateStatus(long userId,
long classPK,
int status,
ServiceContext serviceContext)
|
JournalArticle |
updateStatus(long userId,
long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JournalArticleLocalServiceWrapper
public JournalArticleLocalServiceWrapper(JournalArticleLocalService journalArticleLocalService)
addJournalArticle
public JournalArticle addJournalArticle(JournalArticle journalArticle)
throws SystemException
- Specified by:
addJournalArticle in interface JournalArticleLocalService
- Throws:
SystemException
createJournalArticle
public JournalArticle createJournalArticle(long id)
- Specified by:
createJournalArticle in interface JournalArticleLocalService
deleteJournalArticle
public void deleteJournalArticle(long id)
throws PortalException,
SystemException
- Specified by:
deleteJournalArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
deleteJournalArticle
public void deleteJournalArticle(JournalArticle journalArticle)
throws SystemException
- Specified by:
deleteJournalArticle in interface JournalArticleLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface JournalArticleLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface JournalArticleLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery in interface JournalArticleLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount in interface JournalArticleLocalService
- Throws:
SystemException
getJournalArticle
public JournalArticle getJournalArticle(long id)
throws PortalException,
SystemException
- Specified by:
getJournalArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getJournalArticleByUuidAndGroupId
public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Specified by:
getJournalArticleByUuidAndGroupId in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getJournalArticles
public List<JournalArticle> getJournalArticles(int start,
int end)
throws SystemException
- Specified by:
getJournalArticles in interface JournalArticleLocalService
- Throws:
SystemException
getJournalArticlesCount
public int getJournalArticlesCount()
throws SystemException
- Specified by:
getJournalArticlesCount in interface JournalArticleLocalService
- Throws:
SystemException
updateJournalArticle
public JournalArticle updateJournalArticle(JournalArticle journalArticle)
throws SystemException
- Specified by:
updateJournalArticle in interface JournalArticleLocalService
- Throws:
SystemException
updateJournalArticle
public JournalArticle updateJournalArticle(JournalArticle journalArticle,
boolean merge)
throws SystemException
- Specified by:
updateJournalArticle in interface JournalArticleLocalService
- Throws:
SystemException
addArticle
public JournalArticle addArticle(long userId,
long groupId,
String articleId,
boolean autoArticleId,
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
- Specified by:
addArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
addArticleResources
public void addArticleResources(JournalArticle article,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addArticleResources in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
addArticleResources
public void addArticleResources(JournalArticle article,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addArticleResources in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
addArticleResources
public void addArticleResources(long groupId,
String articleId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addArticleResources in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
addArticleResources
public void addArticleResources(long groupId,
String articleId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addArticleResources in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
checkArticleResourcePrimKey
public JournalArticle checkArticleResourcePrimKey(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
checkArticleResourcePrimKey in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
checkArticles
public void checkArticles()
throws PortalException,
SystemException
- Specified by:
checkArticles in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
checkNewLine
public void checkNewLine(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
checkNewLine in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
checkStructure
public void checkStructure(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
checkStructure in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
copyArticle
public JournalArticle copyArticle(long userId,
long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws PortalException,
SystemException
- Specified by:
copyArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(JournalArticle article,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
deleteArticle in interface JournalArticleLocalService
- 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 JournalArticleLocalService
- Throws:
PortalException
SystemException
deleteArticle
public void deleteArticle(long groupId,
String articleId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
deleteArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
deleteArticles
public void deleteArticles(long groupId)
throws PortalException,
SystemException
- Specified by:
deleteArticles in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
expireArticle
public JournalArticle expireArticle(long userId,
long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
expireArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long id)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticle
public JournalArticle getArticle(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
getArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleByUrlTitle
public JournalArticle getArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Specified by:
getArticleByUrlTitle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(JournalArticle article,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleContent
public String getArticleContent(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(JournalArticle article,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticleDisplay
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Specified by:
getArticleDisplay in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getArticles
public List<JournalArticle> getArticles()
throws SystemException
- Specified by:
getArticles in interface JournalArticleLocalService
- Throws:
SystemException
getArticles
public List<JournalArticle> getArticles(long groupId)
throws SystemException
- Specified by:
getArticles in interface JournalArticleLocalService
- Throws:
SystemException
getArticles
public List<JournalArticle> getArticles(long groupId,
int start,
int end)
throws SystemException
- Specified by:
getArticles in interface JournalArticleLocalService
- Throws:
SystemException
getArticles
public List<JournalArticle> getArticles(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getArticles in interface JournalArticleLocalService
- Throws:
SystemException
getArticles
public List<JournalArticle> getArticles(long groupId,
String articleId)
throws SystemException
- Specified by:
getArticles in interface JournalArticleLocalService
- Throws:
SystemException
getArticlesBySmallImageId
public List<JournalArticle> getArticlesBySmallImageId(long smallImageId)
throws SystemException
- Specified by:
getArticlesBySmallImageId in interface JournalArticleLocalService
- Throws:
SystemException
getArticlesCount
public int getArticlesCount(long groupId)
throws SystemException
- Specified by:
getArticlesCount in interface JournalArticleLocalService
- Throws:
SystemException
getCompanyArticles
public List<JournalArticle> getCompanyArticles(long companyId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getCompanyArticles in interface JournalArticleLocalService
- Throws:
SystemException
getCompanyArticlesCount
public int getCompanyArticlesCount(long companyId,
int status)
throws SystemException
- Specified by:
getCompanyArticlesCount in interface JournalArticleLocalService
- Throws:
SystemException
getDisplayArticle
public JournalArticle getDisplayArticle(long groupId,
String articleId)
throws PortalException,
SystemException
- Specified by:
getDisplayArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long resourcePrimKey)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long resourcePrimKey,
int status)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String articleId)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticle
public JournalArticle getLatestArticle(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
- Specified by:
getLatestArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestArticleByUrlTitle
public JournalArticle getLatestArticleByUrlTitle(long groupId,
String urlTitle,
int status)
throws PortalException,
SystemException
- Specified by:
getLatestArticleByUrlTitle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestVersion
public double getLatestVersion(long groupId,
String articleId)
throws PortalException,
SystemException
- Specified by:
getLatestVersion in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getLatestVersion
public double getLatestVersion(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
- Specified by:
getLatestVersion in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getStructureArticles
public List<JournalArticle> getStructureArticles(long groupId,
String structureId)
throws SystemException
- Specified by:
getStructureArticles in interface JournalArticleLocalService
- Throws:
SystemException
getStructureArticles
public List<JournalArticle> getStructureArticles(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getStructureArticles in interface JournalArticleLocalService
- Throws:
SystemException
getStructureArticlesCount
public int getStructureArticlesCount(long groupId,
String structureId)
throws SystemException
- Specified by:
getStructureArticlesCount in interface JournalArticleLocalService
- Throws:
SystemException
getTemplateArticles
public List<JournalArticle> getTemplateArticles(long groupId,
String templateId)
throws SystemException
- Specified by:
getTemplateArticles in interface JournalArticleLocalService
- Throws:
SystemException
getTemplateArticles
public List<JournalArticle> getTemplateArticles(long groupId,
String templateId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getTemplateArticles in interface JournalArticleLocalService
- Throws:
SystemException
getTemplateArticlesCount
public int getTemplateArticlesCount(long groupId,
String templateId)
throws SystemException
- Specified by:
getTemplateArticlesCount in interface JournalArticleLocalService
- Throws:
SystemException
hasArticle
public boolean hasArticle(long groupId,
String articleId)
throws SystemException
- Specified by:
hasArticle in interface JournalArticleLocalService
- Throws:
SystemException
isLatestVersion
public boolean isLatestVersion(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
- Specified by:
isLatestVersion in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
isLatestVersion
public boolean isLatestVersion(long groupId,
String articleId,
double version,
int status)
throws PortalException,
SystemException
- Specified by:
isLatestVersion in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
removeArticleLocale
public JournalArticle removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws PortalException,
SystemException
- Specified by:
removeArticleLocale in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
search
public List<JournalArticle> search(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
searchCount
public int searchCount(long companyId,
long groupId,
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 JournalArticleLocalService
- Throws:
SystemException
updateArticle
public JournalArticle updateArticle(long userId,
long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
- Specified by:
updateArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateArticle
public JournalArticle updateArticle(long userId,
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
- Specified by:
updateArticle in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
JournalArticle article,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
- Specified by:
updateAsset in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateContent
public JournalArticle updateContent(long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
- Specified by:
updateContent in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateStatus
public JournalArticle updateStatus(long userId,
JournalArticle article,
int status,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateStatus in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateStatus
public JournalArticle updateStatus(long userId,
long classPK,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateStatus in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
updateStatus
public JournalArticle updateStatus(long userId,
long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateStatus in interface JournalArticleLocalService
- Throws:
PortalException
SystemException
getWrappedJournalArticleLocalService
public JournalArticleLocalService getWrappedJournalArticleLocalService()