|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.service.JournalArticleServiceUtil
public class JournalArticleServiceUtil
The utility for the journal article remote service. This utility wraps com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
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.
JournalArticleService
,
com.liferay.portlet.journal.service.base.JournalArticleServiceBaseImpl
,
com.liferay.portlet.journal.service.impl.JournalArticleServiceImpl
Constructor Summary | |
---|---|
JournalArticleServiceUtil()
|
Method Summary | |
---|---|
static JournalArticle |
addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
addArticle(long groupId,
long classNameId,
long classPK,
String articleId,
boolean autoArticleId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
copyArticle(long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
|
static void |
deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
static void |
deleteArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
expireArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
static void |
expireArticle(long groupId,
String articleId,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
getArticle(long id)
|
static JournalArticle |
getArticle(long groupId,
String articleId)
|
static JournalArticle |
getArticle(long groupId,
String articleId,
double version)
|
static JournalArticle |
getArticle(long groupId,
String className,
long classPK)
|
static JournalArticle |
getArticleByUrlTitle(long groupId,
String urlTitle)
|
static String |
getArticleContent(long groupId,
String articleId,
double version,
String languageId,
ThemeDisplay themeDisplay)
|
static String |
getArticleContent(long groupId,
String articleId,
String languageId,
ThemeDisplay themeDisplay)
|
static List<JournalArticle> |
getArticlesByArticleId(long groupId,
String articleId,
int start,
int end,
OrderByComparator obc)
|
static List<JournalArticle> |
getArticlesByLayoutUuid(long groupId,
String layoutUuid)
|
static int |
getArticlesCountByArticleId(long groupId,
String articleId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static JournalArticle |
getDisplayArticleByUrlTitle(long groupId,
String urlTitle)
|
static JournalArticle |
getLatestArticle(long resourcePrimKey)
|
static JournalArticle |
getLatestArticle(long groupId,
String articleId,
int status)
|
static JournalArticle |
getLatestArticle(long groupId,
String className,
long classPK)
|
static JournalArticleService |
getService()
|
static void |
removeArticleLocale(long companyId,
String languageId)
|
static JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
static List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
int start,
int end,
OrderByComparator obc)
|
static List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
static List<JournalArticle> |
search(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator,
int start,
int end,
OrderByComparator obc)
|
static int |
searchCount(long companyId,
long groupId,
long classNameId,
String keywords,
Double version,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate)
|
static int |
searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String[] structureIds,
String[] templateIds,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
|
static int |
searchCount(long companyId,
long groupId,
long classNameId,
String articleId,
Double version,
String title,
String description,
String content,
String type,
String structureId,
String templateId,
Date displayDateGT,
Date displayDateLT,
int status,
Date reviewDate,
boolean andOperator)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(JournalArticleService service)
Deprecated. |
static void |
subscribe(long groupId)
|
static void |
unsubscribe(long groupId)
|
static JournalArticle |
updateArticle(long userId,
long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String layoutUuid,
ServiceContext serviceContext)
|
static JournalArticle |
updateArticle(long groupId,
String articleId,
double version,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String content,
String type,
String structureId,
String templateId,
String layoutUuid,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
boolean neverExpire,
int reviewDateMonth,
int reviewDateDay,
int reviewDateYear,
int reviewDateHour,
int reviewDateMinute,
boolean neverReview,
boolean indexable,
boolean smallImage,
String smallImageURL,
File smallFile,
Map<String,byte[]> images,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
updateArticle(long groupId,
String articleId,
double version,
String content,
ServiceContext serviceContext)
|
static 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) |
static JournalArticle |
updateArticleTranslation(long groupId,
String articleId,
double version,
Locale locale,
String title,
String description,
String content,
Map<String,byte[]> images,
ServiceContext serviceContext)
|
static JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
static JournalArticle |
updateStatus(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 |
Constructor Detail |
---|
public JournalArticleServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static JournalArticle addArticle(long groupId, long classNameId, long classPK, String articleId, boolean autoArticleId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String content, String type, String structureId, String templateId, String layoutUuid, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map<String,byte[]> images, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle addArticle(long groupId, long classNameId, long classPK, String articleId, boolean autoArticleId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String content, String type, String structureId, String templateId, String layoutUuid, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle copyArticle(long groupId, String oldArticleId, String newArticleId, boolean autoArticleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static void deleteArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deleteArticle(long groupId, String articleId, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle expireArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void expireArticle(long groupId, String articleId, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getArticle(long id) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getArticle(long groupId, String articleId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getArticle(long groupId, String articleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getArticle(long groupId, String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getArticleByUrlTitle(long groupId, String urlTitle) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, double version, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalArticle> getArticlesByArticleId(long groupId, String articleId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static List<JournalArticle> getArticlesByLayoutUuid(long groupId, String layoutUuid) throws SystemException
SystemException
public static int getArticlesCountByArticleId(long groupId, String articleId) throws SystemException
SystemException
public static JournalArticle getDisplayArticleByUrlTitle(long groupId, String urlTitle) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long resourcePrimKey) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long groupId, String articleId, int status) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long groupId, String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
public static void removeArticleLocale(long companyId, String languageId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle removeArticleLocale(long groupId, String articleId, double version, String languageId) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalArticle> search(long companyId, long groupId, long classNameId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static List<JournalArticle> search(long companyId, long groupId, long classNameId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static List<JournalArticle> search(long companyId, long groupId, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static int searchCount(long companyId, long groupId, long classNameId, String keywords, Double version, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate) throws SystemException
SystemException
public static int searchCount(long companyId, long groupId, long classNameId, String articleId, Double version, String title, String description, String content, String type, String structureId, String templateId, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator) throws SystemException
SystemException
public static int searchCount(long companyId, long groupId, long classNameId, String articleId, Double version, String title, String description, String content, String type, String[] structureIds, String[] templateIds, Date displayDateGT, Date displayDateLT, int status, Date reviewDate, boolean andOperator) throws SystemException
SystemException
public static void subscribe(long groupId) throws PortalException, SystemException
PortalException
SystemException
public static void unsubscribe(long groupId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateArticle(long userId, long groupId, String articleId, double version, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String content, String layoutUuid, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateArticle(long groupId, String articleId, double version, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String content, String type, String structureId, String templateId, String layoutUuid, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map<String,byte[]> images, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateArticle(long groupId, String articleId, double version, String content, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static 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
public static 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
public static JournalArticle updateContent(long groupId, String articleId, double version, String content) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateStatus(long groupId, String articleId, double version, int status, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleService getService()
public void setService(JournalArticleService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |