|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil
public class JournalArticleLocalServiceUtil
The utility for the journal article local service. This utility wraps JournalArticleLocalServiceImpl
and is the primary access point for service operations in application layer code running on the local server.
Never modify this class directly. Add custom service methods to JournalArticleLocalServiceImpl
and rerun ServiceBuilder to regenerate this class.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
JournalArticleLocalService
,
JournalArticleLocalServiceBaseImpl
,
JournalArticleLocalServiceImpl
Constructor Summary | |
---|---|
JournalArticleLocalServiceUtil()
|
Method Summary | |
---|---|
static 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)
|
static void |
addArticleResources(JournalArticle article,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addArticleResources(JournalArticle article,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
addArticleResources(long groupId,
String articleId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addArticleResources(long groupId,
String articleId,
String[] communityPermissions,
String[] guestPermissions)
|
static JournalArticle |
addJournalArticle(JournalArticle journalArticle)
Adds the journal article to the database. |
static JournalArticle |
checkArticleResourcePrimKey(long groupId,
String articleId,
double version)
|
static void |
checkArticles()
|
static void |
checkNewLine(long groupId,
String articleId,
double version)
|
static void |
checkStructure(long groupId,
String articleId,
double version)
|
static JournalArticle |
copyArticle(long userId,
long groupId,
String oldArticleId,
String newArticleId,
boolean autoArticleId,
double version)
|
static JournalArticle |
createJournalArticle(long id)
Creates a new journal article with the primary key. |
static void |
deleteArticle(JournalArticle article,
String articleURL,
ServiceContext serviceContext)
|
static void |
deleteArticle(long groupId,
String articleId,
double version,
String articleURL,
ServiceContext serviceContext)
|
static void |
deleteArticle(long groupId,
String articleId,
ServiceContext serviceContext)
|
static void |
deleteArticles(long groupId)
|
static void |
deleteJournalArticle(JournalArticle journalArticle)
Deletes the journal article from the database. |
static void |
deleteJournalArticle(long id)
Deletes the journal article with the primary key from the database. |
static List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
static 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. |
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Counts the number of rows that match the dynamic query. |
static JournalArticle |
expireArticle(long userId,
long groupId,
String articleId,
double version,
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 |
getArticleByUrlTitle(long groupId,
String urlTitle)
|
static String |
getArticleContent(JournalArticle article,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static String |
getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
|
static String |
getArticleContent(long groupId,
String articleId,
double version,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static String |
getArticleContent(long groupId,
String articleId,
String viewMode,
String templateId,
String languageId,
ThemeDisplay themeDisplay)
|
static String |
getArticleContent(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(JournalArticle article,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
double version,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
int page,
String xmlRequest,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String templateId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
String articleId,
String viewMode,
String languageId,
ThemeDisplay themeDisplay)
|
static List<JournalArticle> |
getArticles()
|
static List<JournalArticle> |
getArticles(long groupId)
|
static List<JournalArticle> |
getArticles(long groupId,
int start,
int end)
|
static List<JournalArticle> |
getArticles(long groupId,
int start,
int end,
OrderByComparator obc)
|
static List<JournalArticle> |
getArticles(long groupId,
String articleId)
|
static List<JournalArticle> |
getArticlesBySmallImageId(long smallImageId)
|
static int |
getArticlesCount(long groupId)
|
static List<JournalArticle> |
getCompanyArticles(long companyId,
int status,
int start,
int end)
|
static int |
getCompanyArticlesCount(long companyId,
int status)
|
static JournalArticle |
getDisplayArticle(long groupId,
String articleId)
|
static JournalArticle |
getJournalArticle(long id)
Gets the journal article with the primary key. |
static JournalArticle |
getJournalArticleByUuidAndGroupId(String uuid,
long groupId)
Gets the journal article with the UUID and group id. |
static List<JournalArticle> |
getJournalArticles(int start,
int end)
Gets a range of all the journal articles. |
static int |
getJournalArticlesCount()
Gets the number of journal articles. |
static JournalArticle |
getLatestArticle(long resourcePrimKey)
|
static JournalArticle |
getLatestArticle(long resourcePrimKey,
int status)
|
static JournalArticle |
getLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
|
static JournalArticle |
getLatestArticle(long groupId,
String articleId)
|
static JournalArticle |
getLatestArticle(long groupId,
String articleId,
int status)
|
static JournalArticle |
getLatestArticleByUrlTitle(long groupId,
String urlTitle,
int status)
|
static double |
getLatestVersion(long groupId,
String articleId)
|
static double |
getLatestVersion(long groupId,
String articleId,
int status)
|
static JournalArticleLocalService |
getService()
|
static List<JournalArticle> |
getStructureArticles(long groupId,
String structureId)
|
static List<JournalArticle> |
getStructureArticles(long groupId,
String structureId,
int start,
int end,
OrderByComparator obc)
|
static int |
getStructureArticlesCount(long groupId,
String structureId)
|
static List<JournalArticle> |
getTemplateArticles(long groupId,
String templateId)
|
static List<JournalArticle> |
getTemplateArticles(long groupId,
String templateId,
int start,
int end,
OrderByComparator obc)
|
static int |
getTemplateArticlesCount(long groupId,
String templateId)
|
static boolean |
hasArticle(long groupId,
String articleId)
|
static boolean |
isLatestVersion(long groupId,
String articleId,
double version)
|
static boolean |
isLatestVersion(long groupId,
String articleId,
double version,
int status)
|
static JournalArticle |
removeArticleLocale(long groupId,
String articleId,
double version,
String languageId)
|
static 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)
|
static 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)
|
static 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)
|
static int |
searchCount(long companyId,
long groupId,
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,
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,
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 |
setService(JournalArticleLocalService service)
|
static JournalArticle |
updateArticle(long userId,
long groupId,
String articleId,
double version,
String content)
|
static 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)
|
static void |
updateAsset(long userId,
JournalArticle article,
long[] assetCategoryIds,
String[] assetTagNames)
|
static JournalArticle |
updateContent(long groupId,
String articleId,
double version,
String content)
|
static JournalArticle |
updateJournalArticle(JournalArticle journalArticle)
Updates the journal article in the database. |
static JournalArticle |
updateJournalArticle(JournalArticle journalArticle,
boolean merge)
Updates the journal article in the database. |
static JournalArticle |
updateStatus(long userId,
JournalArticle article,
int status,
String articleURL,
ServiceContext serviceContext)
|
static JournalArticle |
updateStatus(long userId,
long classPK,
int status,
ServiceContext serviceContext)
|
static 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 |
Constructor Detail |
---|
public JournalArticleLocalServiceUtil()
Method Detail |
---|
public static JournalArticle addJournalArticle(JournalArticle journalArticle) throws SystemException
journalArticle
- the journal article to add
SystemException
- if a system exception occurredpublic static JournalArticle createJournalArticle(long id)
id
- the primary key for the new journal article
public static void deleteJournalArticle(long id) throws PortalException, SystemException
id
- the primary key of the journal article to delete
PortalException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic static void deleteJournalArticle(JournalArticle journalArticle) throws SystemException
journalArticle
- the journal article to delete
SystemException
- if a system exception occurredpublic static List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic static 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredpublic static 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.
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic static JournalArticle getJournalArticle(long id) throws PortalException, SystemException
id
- the primary key of the journal article to get
PortalException
- if a journal article with the primary key could not be found
SystemException
- if a system exception occurredpublic static JournalArticle getJournalArticleByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
uuid
- the UUID of journal article to getgroupId
- the group id of the journal article to get
PortalException
- if a journal article with the UUID and group id could not be found
SystemException
- if a system exception occurredpublic static 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.
start
- the lower bound of the range of journal articles to returnend
- the upper bound of the range of journal articles to return (not inclusive)
SystemException
- if a system exception occurredpublic static int getJournalArticlesCount() throws SystemException
SystemException
- if a system exception occurredpublic static JournalArticle updateJournalArticle(JournalArticle journalArticle) throws SystemException
journalArticle
- the journal article to update
SystemException
- if a system exception occurredpublic static JournalArticle updateJournalArticle(JournalArticle journalArticle, boolean merge) throws SystemException
journalArticle
- the journal article to updatemerge
- whether to merge the journal article with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic static 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
PortalException
SystemException
public static void addArticleResources(JournalArticle article, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addArticleResources(JournalArticle article, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addArticleResources(long groupId, String articleId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static void addArticleResources(long groupId, String articleId, String[] communityPermissions, String[] guestPermissions) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle checkArticleResourcePrimKey(long groupId, String articleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static void checkArticles() throws PortalException, SystemException
PortalException
SystemException
public static void checkNewLine(long groupId, String articleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static void checkStructure(long groupId, String articleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle copyArticle(long userId, long groupId, String oldArticleId, String newArticleId, boolean autoArticleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static void deleteArticle(JournalArticle article, String articleURL, ServiceContext serviceContext) 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, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deleteArticles(long groupId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle expireArticle(long userId, long groupId, String articleId, double version, 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 getArticleByUrlTitle(long groupId, String urlTitle) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(JournalArticle article, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, double version, String viewMode, String templateId, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, double version, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, String viewMode, String templateId, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static String getArticleContent(long groupId, String articleId, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(JournalArticle article, String templateId, String viewMode, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, double version, String templateId, String viewMode, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, double version, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, String viewMode, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, int page, String xmlRequest, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, String templateId, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleDisplay getArticleDisplay(long groupId, String articleId, String viewMode, String languageId, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalArticle> getArticles() throws SystemException
SystemException
public static List<JournalArticle> getArticles(long groupId) throws SystemException
SystemException
public static List<JournalArticle> getArticles(long groupId, int start, int end) throws SystemException
SystemException
public static List<JournalArticle> getArticles(long groupId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static List<JournalArticle> getArticles(long groupId, String articleId) throws SystemException
SystemException
public static List<JournalArticle> getArticlesBySmallImageId(long smallImageId) throws SystemException
SystemException
public static int getArticlesCount(long groupId) throws SystemException
SystemException
public static List<JournalArticle> getCompanyArticles(long companyId, int status, int start, int end) throws SystemException
SystemException
public static int getCompanyArticlesCount(long companyId, int status) throws SystemException
SystemException
public static JournalArticle getDisplayArticle(long groupId, String articleId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long resourcePrimKey) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long resourcePrimKey, int status) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long resourcePrimKey, int status, boolean preferApproved) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long groupId, String articleId) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticle(long groupId, String articleId, int status) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle getLatestArticleByUrlTitle(long groupId, String urlTitle, int status) throws PortalException, SystemException
PortalException
SystemException
public static double getLatestVersion(long groupId, String articleId) throws PortalException, SystemException
PortalException
SystemException
public static double getLatestVersion(long groupId, String articleId, int status) throws PortalException, SystemException
PortalException
SystemException
public static List<JournalArticle> getStructureArticles(long groupId, String structureId) throws SystemException
SystemException
public static List<JournalArticle> getStructureArticles(long groupId, String structureId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static int getStructureArticlesCount(long groupId, String structureId) throws SystemException
SystemException
public static List<JournalArticle> getTemplateArticles(long groupId, String templateId) throws SystemException
SystemException
public static List<JournalArticle> getTemplateArticles(long groupId, String templateId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
public static int getTemplateArticlesCount(long groupId, String templateId) throws SystemException
SystemException
public static boolean hasArticle(long groupId, String articleId) throws SystemException
SystemException
public static boolean isLatestVersion(long groupId, String articleId, double version) throws PortalException, SystemException
PortalException
SystemException
public static boolean isLatestVersion(long groupId, String articleId, double version, int status) 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, 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, 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, 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, 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, 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, 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 JournalArticle updateArticle(long userId, long groupId, String articleId, double version, String content) throws PortalException, SystemException
PortalException
SystemException
public static 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
PortalException
SystemException
public static void updateAsset(long userId, JournalArticle article, long[] assetCategoryIds, String[] assetTagNames) 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 userId, JournalArticle article, int status, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateStatus(long userId, long classPK, int status, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticle updateStatus(long userId, long groupId, String articleId, double version, int status, String articleURL, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static JournalArticleLocalService getService()
public void setService(JournalArticleLocalService service)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |