|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.journal.service.JournalArticleLocalServiceWrapper
public class JournalArticleLocalServiceWrapper
This class is a wrapper for JournalArticleLocalService.
JournalArticleLocalService| Constructor Summary | |
|---|---|
JournalArticleLocalServiceWrapper(JournalArticleLocalService journalArticleLocalService)
|
|
| Method Summary | |
|---|---|
JournalArticle |
addArticle(long userId,
long groupId,
long folderId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
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 smallImageFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
addArticle(long userId,
long groupId,
long folderId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String structureId,
String templateId,
ServiceContext serviceContext)
|
void |
addArticleResources(JournalArticle article,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addArticleResources(JournalArticle article,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addArticleResources(long groupId,
String articleId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addArticleResources(long groupId,
String articleId,
String[] groupPermissions,
String[] guestPermissions)
|
JournalArticle |
addJournalArticle(JournalArticle journalArticle)
Adds the journal article to the database. |
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)
Creates a new journal article with the primary key. |
void |
deleteArticle(JournalArticle article)
|
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 |
deleteArticles(long groupId,
long folderId)
|
JournalArticle |
deleteJournalArticle(JournalArticle journalArticle)
Deletes the journal article from the database. |
JournalArticle |
deleteJournalArticle(long id)
Deletes the journal article with the primary key from the database. |
void |
deleteLayoutArticleReferences(long groupId,
String layoutUuid)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
JournalArticle |
expireArticle(long userId,
long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
void |
expireArticle(long userId,
long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
fetchArticle(String uuid,
long groupId)
|
JournalArticle |
fetchJournalArticle(long id)
|
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(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,
long folderId)
|
List<JournalArticle> |
getArticles(long groupId,
long folderId,
int start,
int end)
|
List<JournalArticle> |
getArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<JournalArticle> |
getArticles(long groupId,
String articleId)
|
List<JournalArticle> |
getArticlesBySmallImageId(long smallImageId)
|
int |
getArticlesCount(long groupId)
|
int |
getArticlesCount(long groupId,
long folderId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<JournalArticle> |
getCompanyArticles(long companyId,
double version,
int status,
int start,
int end)
|
List<JournalArticle> |
getCompanyArticles(long companyId,
int status,
int start,
int end)
|
int |
getCompanyArticlesCount(long companyId,
double version,
int status,
int start,
int end)
|
int |
getCompanyArticlesCount(long companyId,
int status)
|
JournalArticle |
getDisplayArticle(long groupId,
String articleId)
|
JournalArticle |
getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
|
JournalArticle |
getJournalArticle(long id)
Returns the journal article with the primary key. |
JournalArticle |
getJournalArticleByUuidAndGroupId(String uuid,
long groupId)
Returns the journal article with the UUID in the group. |
List<JournalArticle> |
getJournalArticles(int start,
int end)
Returns a range of all the journal articles. |
int |
getJournalArticlesCount()
Returns the number of journal articles. |
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 |
getLatestArticle(long groupId,
String className,
long classPK)
|
JournalArticle |
getLatestArticleByUrlTitle(long groupId,
String urlTitle,
int status)
|
double |
getLatestVersion(long groupId,
String articleId)
|
double |
getLatestVersion(long groupId,
String articleId,
int status)
|
int |
getNotInTrashArticlesCount(long groupId,
long folderId)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
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()
Deprecated. Renamed to getWrappedService() |
JournalArticleLocalService |
getWrappedService()
|
boolean |
hasArticle(long groupId,
String articleId)
|
boolean |
isLatestVersion(long groupId,
String articleId,
double version)
|
boolean |
isLatestVersion(long groupId,
String articleId,
double version,
int status)
|
void |
moveArticle(long groupId,
String articleId,
long newFolderId)
|
JournalArticle |
moveArticleToTrash(long userId,
JournalArticle article)
|
JournalArticle |
moveArticleToTrash(long userId,
long groupId,
String articleId)
|
JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
void |
restoreArticleFromTrash(long userId,
JournalArticle article)
|
List<JournalArticle> |
search(long companyId,
long groupId,
List<Long> folderIds,
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,
List<Long> folderIds,
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,
List<Long> folderIds,
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)
|
Hits |
search(long companyId,
long groupId,
List<Long> folderIds,
long classNameId,
String structureId,
String templateId,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
|
Hits |
search(long companyId,
long groupId,
List<Long> folderIds,
long classNameId,
String articleId,
String title,
String description,
String content,
String type,
String status,
String structureId,
String templateId,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
|
int |
searchCount(long companyId,
long groupId,
List<Long> folderIds,
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,
List<Long> folderIds,
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,
List<Long> folderIds,
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 |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.journal.service.JournalArticleLocalService) |
void |
setWrappedService(JournalArticleLocalService journalArticleLocalService)
|
void |
subscribe(long userId,
long groupId)
|
void |
unsubscribe(long userId,
long groupId)
|
JournalArticle |
updateArticle(long userId,
long groupId,
long folderId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String layoutUuid,
ServiceContext serviceContext)
|
JournalArticle |
updateArticle(long userId,
long groupId,
long folderId,
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 smallImageFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
updateArticle(long userId,
long groupId,
long folderId,
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)
|
void |
updateAsset(long userId,
JournalArticle article,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
JournalArticle |
updateJournalArticle(JournalArticle journalArticle)
Updates the journal article in the database or adds it if it does not yet exist. |
JournalArticle |
updateStatus(long userId,
JournalArticle article,
int status,
String articleURL,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
JournalArticle |
updateStatus(long userId,
long classPK,
int status,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
JournalArticle |
updateStatus(long userId,
long groupId,
String articleId,
double version,
int status,
String articleURL,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
|
void |
updateTemplateId(long groupId,
long classNameId,
String oldTemplateId,
String newTemplateId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JournalArticleLocalServiceWrapper(JournalArticleLocalService journalArticleLocalService)
| Method Detail |
|---|
public JournalArticle addJournalArticle(JournalArticle journalArticle)
throws SystemException
addJournalArticle in interface JournalArticleLocalServicejournalArticle - the journal article
SystemException - if a system exception occurredpublic JournalArticle createJournalArticle(long id)
createJournalArticle in interface JournalArticleLocalServiceid - the primary key for the new journal article
public JournalArticle deleteJournalArticle(long id)
throws PortalException,
SystemException
deleteJournalArticle in interface JournalArticleLocalServiceid - the primary key of the journal article
PortalException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred
public JournalArticle deleteJournalArticle(JournalArticle journalArticle)
throws SystemException
deleteJournalArticle in interface JournalArticleLocalServicejournalArticle - the journal article
SystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface JournalArticleLocalService
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface JournalArticleLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface JournalArticleLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface JournalArticleLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface JournalArticleLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public JournalArticle fetchJournalArticle(long id)
throws SystemException
fetchJournalArticle in interface JournalArticleLocalServiceSystemException
public JournalArticle getJournalArticle(long id)
throws PortalException,
SystemException
getJournalArticle in interface JournalArticleLocalServiceid - the primary key of the journal article
PortalException - if a journal article with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getJournalArticleByUuidAndGroupId in interface JournalArticleLocalServiceuuid - the UUID of journal articlegroupId - the group id of the journal article
PortalException - if a journal article with the UUID in the group could not be found
SystemException - if a system exception occurred
public List<JournalArticle> getJournalArticles(int start,
int end)
throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from JournalArticleModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getJournalArticles in interface JournalArticleLocalServicestart - the lower bound of the range of journal articlesend - the upper bound of the range of journal articles (not inclusive)
SystemException - if a system exception occurred
public int getJournalArticlesCount()
throws SystemException
getJournalArticlesCount in interface JournalArticleLocalServiceSystemException - if a system exception occurred
public JournalArticle updateJournalArticle(JournalArticle journalArticle)
throws SystemException
updateJournalArticle in interface JournalArticleLocalServicejournalArticle - the journal article
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface JournalArticleLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface JournalArticleLocalServicebeanIdentifier - the Spring bean ID for this bean
public JournalArticle addArticle(long userId,
long groupId,
long folderId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
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 smallImageFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
addArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle addArticle(long userId,
long groupId,
long folderId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String structureId,
String templateId,
ServiceContext serviceContext)
throws PortalException,
SystemException
addArticle in interface JournalArticleLocalServicePortalException
SystemException
public void addArticleResources(JournalArticle article,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addArticleResources in interface JournalArticleLocalServicePortalException
SystemException
public void addArticleResources(JournalArticle article,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addArticleResources in interface JournalArticleLocalServicePortalException
SystemException
public void addArticleResources(long groupId,
String articleId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addArticleResources in interface JournalArticleLocalServicePortalException
SystemException
public void addArticleResources(long groupId,
String articleId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addArticleResources in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle checkArticleResourcePrimKey(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
checkArticleResourcePrimKey in interface JournalArticleLocalServicePortalException
SystemException
public void checkArticles()
throws PortalException,
SystemException
checkArticles in interface JournalArticleLocalServicePortalException
SystemException
public void checkNewLine(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
checkNewLine in interface JournalArticleLocalServicePortalException
SystemException
public void checkStructure(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
checkStructure in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle copyArticle(long userId,
long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws PortalException,
SystemException
copyArticle in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticle(JournalArticle article)
throws PortalException,
SystemException
deleteArticle in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticle(JournalArticle article,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
deleteArticle in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
deleteArticle in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticle(long groupId,
String articleId,
ServiceContext serviceContext)
throws PortalException,
SystemException
deleteArticle in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticles(long groupId)
throws PortalException,
SystemException
deleteArticles in interface JournalArticleLocalServicePortalException
SystemException
public void deleteArticles(long groupId,
long folderId)
throws PortalException,
SystemException
deleteArticles in interface JournalArticleLocalServicePortalException
SystemException
public void deleteLayoutArticleReferences(long groupId,
String layoutUuid)
throws SystemException
deleteLayoutArticleReferences in interface JournalArticleLocalServiceSystemException
public JournalArticle expireArticle(long userId,
long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
expireArticle in interface JournalArticleLocalServicePortalException
SystemException
public void expireArticle(long userId,
long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
expireArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle fetchArticle(String uuid,
long groupId)
throws SystemException
fetchArticle in interface JournalArticleLocalServiceSystemException
public JournalArticle getArticle(long id)
throws PortalException,
SystemException
getArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getArticle(long groupId,
String articleId)
throws PortalException,
SystemException
getArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getArticle(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
getArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
getArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
getArticleByUrlTitle in interface JournalArticleLocalServicePortalException
SystemException
public String getArticleContent(JournalArticle article,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleContent in interface JournalArticleLocalServicePortalException
SystemException
public String getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleContent in interface JournalArticleLocalServicePortalException
SystemException
public String getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleContent in interface JournalArticleLocalServicePortalException
SystemException
public String getArticleContent(long groupId,
String articleId,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleContent in interface JournalArticleLocalServicePortalException
SystemException
public String getArticleContent(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleContent in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(JournalArticle article,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticleDisplay getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getArticleDisplay in interface JournalArticleLocalServicePortalException
SystemException
public List<JournalArticle> getArticles()
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
int start,
int end)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
long folderId)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
long folderId,
int start,
int end)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticles(long groupId,
String articleId)
throws SystemException
getArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getArticlesBySmallImageId(long smallImageId)
throws SystemException
getArticlesBySmallImageId in interface JournalArticleLocalServiceSystemException
public int getArticlesCount(long groupId)
throws SystemException
getArticlesCount in interface JournalArticleLocalServiceSystemException
public int getArticlesCount(long groupId,
long folderId)
throws SystemException
getArticlesCount in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getCompanyArticles(long companyId,
double version,
int status,
int start,
int end)
throws SystemException
getCompanyArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getCompanyArticles(long companyId,
int status,
int start,
int end)
throws SystemException
getCompanyArticles in interface JournalArticleLocalServiceSystemException
public int getCompanyArticlesCount(long companyId,
double version,
int status,
int start,
int end)
throws SystemException
getCompanyArticlesCount in interface JournalArticleLocalServiceSystemException
public int getCompanyArticlesCount(long companyId,
int status)
throws SystemException
getCompanyArticlesCount in interface JournalArticleLocalServiceSystemException
public JournalArticle getDisplayArticle(long groupId,
String articleId)
throws PortalException,
SystemException
getDisplayArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
getDisplayArticleByUrlTitle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long resourcePrimKey)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long resourcePrimKey,
int status)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long groupId,
String articleId)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
getLatestArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle getLatestArticleByUrlTitle(long groupId,
String urlTitle,
int status)
throws PortalException,
SystemException
getLatestArticleByUrlTitle in interface JournalArticleLocalServicePortalException
SystemException
public double getLatestVersion(long groupId,
String articleId)
throws PortalException,
SystemException
getLatestVersion in interface JournalArticleLocalServicePortalException
SystemException
public double getLatestVersion(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
getLatestVersion in interface JournalArticleLocalServicePortalException
SystemException
public int getNotInTrashArticlesCount(long groupId,
long folderId)
throws SystemException
getNotInTrashArticlesCount in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getStructureArticles(long groupId,
String structureId)
throws SystemException
getStructureArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getStructureArticles(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getStructureArticles in interface JournalArticleLocalServiceSystemException
public int getStructureArticlesCount(long groupId,
String structureId)
throws SystemException
getStructureArticlesCount in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getTemplateArticles(long groupId,
String templateId)
throws SystemException
getTemplateArticles in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> getTemplateArticles(long groupId,
String templateId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getTemplateArticles in interface JournalArticleLocalServiceSystemException
public int getTemplateArticlesCount(long groupId,
String templateId)
throws SystemException
getTemplateArticlesCount in interface JournalArticleLocalServiceSystemException
public boolean hasArticle(long groupId,
String articleId)
throws SystemException
hasArticle in interface JournalArticleLocalServiceSystemException
public boolean isLatestVersion(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
isLatestVersion in interface JournalArticleLocalServicePortalException
SystemException
public boolean isLatestVersion(long groupId,
String articleId,
double version,
int status)
throws PortalException,
SystemException
isLatestVersion in interface JournalArticleLocalServicePortalException
SystemException
public void moveArticle(long groupId,
String articleId,
long newFolderId)
throws SystemException
moveArticle in interface JournalArticleLocalServiceSystemException
public JournalArticle moveArticleToTrash(long userId,
JournalArticle article)
throws PortalException,
SystemException
moveArticleToTrash in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle moveArticleToTrash(long userId,
long groupId,
String articleId)
throws PortalException,
SystemException
moveArticleToTrash in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws PortalException,
SystemException
removeArticleLocale in interface JournalArticleLocalServicePortalException
SystemException
public void restoreArticleFromTrash(long userId,
JournalArticle article)
throws PortalException,
SystemException
restoreArticleFromTrash in interface JournalArticleLocalServicePortalException
SystemException
public List<JournalArticle> search(long companyId,
long groupId,
List<Long> folderIds,
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
search in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> search(long companyId,
long groupId,
List<Long> folderIds,
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
search in interface JournalArticleLocalServiceSystemException
public List<JournalArticle> search(long companyId,
long groupId,
List<Long> folderIds,
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
search in interface JournalArticleLocalServiceSystemException
public Hits search(long companyId,
long groupId,
List<Long> folderIds,
long classNameId,
String structureId,
String templateId,
String keywords,
LinkedHashMap<String,Object> params,
int start,
int end,
Sort sort)
throws SystemException
search in interface JournalArticleLocalServiceSystemException
public Hits search(long companyId,
long groupId,
List<Long> folderIds,
long classNameId,
String articleId,
String title,
String description,
String content,
String type,
String status,
String structureId,
String templateId,
LinkedHashMap<String,Object> params,
boolean andSearch,
int start,
int end,
Sort sort)
throws SystemException
search in interface JournalArticleLocalServiceSystemException
public int searchCount(long companyId,
long groupId,
List<Long> folderIds,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate)
throws SystemException
searchCount in interface JournalArticleLocalServiceSystemException
public int searchCount(long companyId,
long groupId,
List<Long> folderIds,
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
searchCount in interface JournalArticleLocalServiceSystemException
public int searchCount(long companyId,
long groupId,
List<Long> folderIds,
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
searchCount in interface JournalArticleLocalServiceSystemException
public void subscribe(long userId,
long groupId)
throws PortalException,
SystemException
subscribe in interface JournalArticleLocalServicePortalException
SystemException
public void unsubscribe(long userId,
long groupId)
throws PortalException,
SystemException
unsubscribe in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateArticle(long userId,
long groupId,
long folderId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String layoutUuid,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateArticle(long userId,
long groupId,
long folderId,
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 smallImageFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateArticle(long userId,
long groupId,
long folderId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateArticle in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images)
throws PortalException,
SystemException
updateArticleTranslation(long, String, double,
Locale, String, String, String, Map, ServiceContext)
updateArticleTranslation in interface JournalArticleLocalServicePortalException
SystemException
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
updateArticleTranslation in interface JournalArticleLocalServicePortalException
SystemException
public void updateAsset(long userId,
JournalArticle article,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateContent(long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
updateContent in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateStatus(long userId,
JournalArticle article,
int status,
String articleURL,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateStatus(long userId,
long classPK,
int status,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface JournalArticleLocalServicePortalException
SystemException
public JournalArticle updateStatus(long userId,
long groupId,
String articleId,
double version,
int status,
String articleURL,
Map<String,Serializable> workflowContext,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface JournalArticleLocalServicePortalException
SystemException
public void updateTemplateId(long groupId,
long classNameId,
String oldTemplateId,
String newTemplateId)
throws SystemException
updateTemplateId in interface JournalArticleLocalServiceSystemExceptionpublic JournalArticleLocalService getWrappedJournalArticleLocalService()
getWrappedService()
public void setWrappedJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService)
setWrappedService(com.liferay.portlet.journal.service.JournalArticleLocalService)
public JournalArticleLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<JournalArticleLocalService>public void setWrappedService(JournalArticleLocalService journalArticleLocalService)
setWrappedService in interface ServiceWrapper<JournalArticleLocalService>
|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||