|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface JournalArticleServiceThe interface for the journal article remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
JournalArticleServiceUtil,
com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl,
com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl| Method Summary | |
|---|---|
JournalArticle |
addArticle(long groupId,
long folderId,
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 folderId,
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> |
getArticles(long groupId,
long folderId)
|
List<JournalArticle> |
getArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticlesByLayoutUuid(long groupId,
String layoutUuid)
|
List<JournalArticle> |
getArticlesByStructureId(long groupId,
long classNameId,
String structureId,
int status,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticlesByStructureId(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
|
List<JournalArticle> |
getArticlesByUserId(long groupId,
long userId,
long classNameId,
int start,
int end,
OrderByComparator obc)
|
int |
getArticlesCount(long groupId,
long folderId)
|
int |
getArticlesCountByArticleId(long groupId,
String articleId)
|
int |
getArticlesCountByStructureId(long groupId,
long classNameId,
String structureId,
int status)
|
int |
getArticlesCountByStructureId(long groupId,
String structureId)
|
int |
getArticlesCountByUserId(long groupId,
long userId,
long classNameId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
JournalArticle |
getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
|
int |
getFoldersAndArticlesCount(long groupId,
List<Long> folderIds)
|
JournalArticle |
getLatestArticle(long resourcePrimKey)
|
JournalArticle |
getLatestArticle(long groupId,
String articleId,
int status)
|
JournalArticle |
getLatestArticle(long groupId,
String className,
long classPK)
|
void |
moveArticle(long groupId,
String articleId,
long newFolderId)
|
JournalArticle |
moveArticleToTrash(long groupId,
String articleId)
|
void |
removeArticleLocale(long companyId,
String languageId)
|
JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
void |
restoreArticleFromTrash(long resourcePrimKey)
|
void |
restoreArticleFromTrash(long groupId,
String articleId)
|
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)
|
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 |
subscribe(long groupId)
|
void |
unsubscribe(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 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 smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
JournalArticle |
updateArticle(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)
|
JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
JournalArticle |
updateStatus(long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
|
| Method Detail |
|---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
JournalArticle addArticle(long groupId,
long folderId,
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
PortalException
SystemException
JournalArticle addArticle(long groupId,
long folderId,
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
PortalException
SystemException
JournalArticle copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
throws PortalException,
SystemException
PortalException
SystemException
void deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
void deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
JournalArticle expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
void expireArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getArticle(long id)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getArticle(long groupId,
String articleId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getArticle(long groupId,
String articleId,
double version)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getArticleContent(long groupId,
String articleId,
double version,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getArticleContent(long groupId,
String articleId,
String languageId,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticles(long groupId,
long folderId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticles(long groupId,
long folderId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticlesByLayoutUuid(long groupId,
String layoutUuid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticlesByStructureId(long groupId,
long classNameId,
String structureId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticlesByStructureId(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<JournalArticle> getArticlesByUserId(long groupId,
long userId,
long classNameId,
int start,
int end,
OrderByComparator obc)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getArticlesCount(long groupId,
long folderId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getArticlesCountByArticleId(long groupId,
String articleId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getArticlesCountByStructureId(long groupId,
long classNameId,
String structureId,
int status)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getArticlesCountByStructureId(long groupId,
String structureId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getArticlesCountByUserId(long groupId,
long userId,
long classNameId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getFoldersAndArticlesCount(long groupId,
List<Long> folderIds)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getLatestArticle(long resourcePrimKey)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getLatestArticle(long groupId,
String articleId,
int status)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
JournalArticle getLatestArticle(long groupId,
String className,
long classPK)
throws PortalException,
SystemException
PortalException
SystemException
void moveArticle(long groupId,
String articleId,
long newFolderId)
throws PortalException,
SystemException
PortalException
SystemException
JournalArticle moveArticleToTrash(long groupId,
String articleId)
throws PortalException,
SystemException
PortalException
SystemException
void removeArticleLocale(long companyId,
String languageId)
throws PortalException,
SystemException
PortalException
SystemException
JournalArticle removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
throws PortalException,
SystemException
PortalException
SystemException
void restoreArticleFromTrash(long resourcePrimKey)
throws PortalException,
SystemException
PortalException
SystemException
void restoreArticleFromTrash(long groupId,
String articleId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
SystemException
void subscribe(long groupId)
throws PortalException,
SystemException
PortalException
SystemException
void unsubscribe(long groupId)
throws PortalException,
SystemException
PortalException
SystemException
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
PortalException
SystemException
JournalArticle updateArticle(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 smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
JournalArticle updateArticle(long groupId,
long folderId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
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)
PortalException
SystemException
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
PortalException
SystemException
JournalArticle updateContent(long groupId,
String articleId,
double version,
String content)
throws PortalException,
SystemException
PortalException
SystemException
JournalArticle updateStatus(long groupId,
String articleId,
double version,
int status,
String articleURL,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||