@ProviderType
public class JournalArticleLocalServiceUtil
extends java.lang.Object
JournalArticleLocalServiceImpl
and is the
primary access point for service operations in application layer code running
on the local server. 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 and Description |
---|
JournalArticleLocalServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static JournalArticle |
addArticle(long userId,
long groupId,
long folderId,
long classNameId,
long classPK,
java.lang.String articleId,
boolean autoArticleId,
double version,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String content,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.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,
java.lang.String smallImageURL,
java.io.File smallImageFile,
java.util.Map<java.lang.String,byte[]> images,
java.lang.String articleURL,
boolean validateReferences,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of 3.24.0
|
static JournalArticle |
addArticle(long userId,
long groupId,
long folderId,
long classNameId,
long classPK,
java.lang.String articleId,
boolean autoArticleId,
double version,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String content,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
java.lang.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,
java.lang.String smallImageURL,
java.io.File smallImageFile,
java.util.Map<java.lang.String,byte[]> images,
java.lang.String articleURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Adds a web content article with additional parameters.
|
static JournalArticle |
addArticle(long userId,
long groupId,
long folderId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String content,
java.lang.String ddmStructureKey,
java.lang.String ddmTemplateKey,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Adds a web content article.
|
static void |
addArticleResources(JournalArticle article,
boolean addGroupPermissions,
boolean addGuestPermissions)
Adds the resources to the web content article.
|
static void |
addArticleResources(JournalArticle article,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
Adds the model resources with the permissions to the web content article.
|
static void |
addArticleResources(long groupId,
java.lang.String articleId,
boolean addGroupPermissions,
boolean addGuestPermissions)
Adds the resources to the most recently created web content article.
|
static void |
addArticleResources(long groupId,
java.lang.String articleId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
Adds the resources with the permissions to the most recently created web
content article.
|
static JournalArticle |
addJournalArticle(JournalArticle journalArticle)
Adds the journal article to the database.
|
static JournalArticle |
checkArticleResourcePrimKey(long groupId,
java.lang.String articleId,
double version)
Returns the web content article with the group, article ID, and version.
|
static void |
checkArticles()
Checks all web content articles by handling their expirations and sending
review notifications based on their current workflow.
|
static void |
checkNewLine(long groupId,
java.lang.String articleId,
double version)
Checks the web content article matching the group, article ID, and
version, replacing escaped newline and return characters with non-escaped
newline and return characters.
|
static void |
checkStructure(long groupId,
java.lang.String articleId,
double version)
Checks the web content article matching the group, article ID, and
version for an associated structure.
|
static JournalArticle |
copyArticle(long userId,
long groupId,
java.lang.String oldArticleId,
java.lang.String newArticleId,
boolean autoArticleId,
double version)
Copies the web content article matching the group, article ID, and
version.
|
static JournalArticle |
createJournalArticle(long id)
Creates a new journal article with the primary key.
|
static JournalArticle |
deleteArticle(JournalArticle article)
Deletes the web content article and its resources.
|
static JournalArticle |
deleteArticle(JournalArticle article,
java.lang.String articleURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deletes the web content article and its resources, optionally sending
email notifying denial of the article if it had not yet been approved.
|
static JournalArticle |
deleteArticle(long groupId,
java.lang.String articleId,
double version,
java.lang.String articleURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deletes the web content article and its resources matching the group,
article ID, and version, optionally sending email notifying denial of the
web content article if it had not yet been approved.
|
static void |
deleteArticle(long groupId,
java.lang.String articleId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deletes all web content articles and their resources matching the group
and article ID, optionally sending email notifying denial of article if
it had not yet been approved.
|
static void |
deleteArticles(long groupId)
Deletes all the group's web content articles and resources.
|
static void |
deleteArticles(long groupId,
long folderId)
Deletes all the group's web content articles and resources in the folder,
including recycled articles.
|
static void |
deleteArticles(long groupId,
long folderId,
boolean includeTrashedEntries)
Deletes all the group's web content articles and resources in the folder,
optionally including recycled articles.
|
static void |
deleteArticles(long groupId,
java.lang.String className,
long classPK)
Deletes all the group's web content articles and resources matching the
class name and class primary key.
|
static JournalArticle |
deleteJournalArticle(JournalArticle journalArticle)
Deletes the journal article from the database.
|
static JournalArticle |
deleteJournalArticle(long id)
Deletes the journal article with the primary key from the database.
|
static void |
deleteLayoutArticleReferences(long groupId,
java.lang.String layoutUuid)
Deletes the layout's association with the web content articles for the
group.
|
static com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
static com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static <T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
static long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows matching the dynamic query.
|
static JournalArticle |
expireArticle(long userId,
long groupId,
java.lang.String articleId,
double version,
java.lang.String articleURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Expires the web content article matching the group, article ID, and
version.
|
static void |
expireArticle(long userId,
long groupId,
java.lang.String articleId,
java.lang.String articleURL,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Expires the web content article matching the group and article ID,
expiring all of its versions if the
journal.article.expire.all.versions portal property is
true , otherwise expiring only its latest approved version. |
static JournalArticle |
fetchArticle(long groupId,
java.lang.String articleId) |
static JournalArticle |
fetchArticle(long groupId,
java.lang.String articleId,
double version)
Returns the web content article matching the group, article ID, and
version.
|
static JournalArticle |
fetchArticleByUrlTitle(long groupId,
java.lang.String urlTitle) |
static JournalArticle |
fetchDisplayArticle(long groupId,
java.lang.String articleId) |
static JournalArticle |
fetchJournalArticle(long id) |
static JournalArticle |
fetchJournalArticleByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the journal article matching the UUID and group.
|
static JournalArticle |
fetchLatestArticle(long resourcePrimKey) |
static JournalArticle |
fetchLatestArticle(long resourcePrimKey,
int status) |
static JournalArticle |
fetchLatestArticle(long resourcePrimKey,
int[] statuses) |
static JournalArticle |
fetchLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
Returns the latest web content article matching the resource primary key
and workflow status, optionally preferring articles with approved
workflow status.
|
static JournalArticle |
fetchLatestArticle(long groupId,
java.lang.String articleId,
int status)
Returns the latest web content article matching the group, article ID,
and workflow status.
|
static JournalArticle |
fetchLatestArticleByUrlTitle(long groupId,
java.lang.String urlTitle,
int status) |
static JournalArticle |
fetchLatestIndexableArticle(long resourcePrimKey)
Returns the latest indexable web content article matching the resource
primary key.
|
static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
static JournalArticle |
getArticle(long id)
Returns the web content article with the ID.
|
static JournalArticle |
getArticle(long groupId,
java.lang.String articleId)
Returns the latest approved web content article, or the latest unapproved
article if none are approved.
|
static JournalArticle |
getArticle(long groupId,
java.lang.String articleId,
double version)
Returns the web content article matching the group, article ID, and
version.
|
static JournalArticle |
getArticle(long groupId,
java.lang.String className,
long classPK)
Returns the web content article matching the group, class name, and class
PK.
|
static JournalArticle |
getArticleByUrlTitle(long groupId,
java.lang.String urlTitle)
Returns the latest web content article that is approved, or the latest
unapproved article if none are approved.
|
static java.lang.String |
getArticleContent(JournalArticle article,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns the web content from the web content article associated with the
portlet request model and the DDM template.
|
static java.lang.String |
getArticleContent(JournalArticle article,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.3.0, replaced by
getArticleContent(JournalArticle, String, String, String,
PortletRequestModel,ThemeDisplay) |
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
double version,
java.lang.String viewMode,
java.lang.String ddmTemplateKey,
java.lang.String languageId,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns the web content from the web content article matching the group,
article ID, and version, and associated with the portlet request model
and the DDM template.
|
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
double version,
java.lang.String viewMode,
java.lang.String ddmTemplateKey,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.3.0, replaced by
getArticleContent(long,
String, double, String, String, String, PortletRequestModel,
ThemeDisplay) |
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
double version,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.3.0, replaced by
getArticleContent(long,
String, double, String, String, String, PortletRequestModel,
ThemeDisplay) |
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
java.lang.String viewMode,
java.lang.String ddmTemplateKey,
java.lang.String languageId,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns the latest web content from the web content article matching the
group and article ID, and associated with the portlet request model and
the DDM template.
|
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
java.lang.String viewMode,
java.lang.String ddmTemplateKey,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.3.0, replaced by
getArticleContent(long,
String, String, String, String, PortletRequestModel,
ThemeDisplay) |
static java.lang.String |
getArticleContent(long groupId,
java.lang.String articleId,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Deprecated.
As of 3.3.0, replaced by
getArticleContent(long,
String, String, String, String, PortletRequestModel,
ThemeDisplay) |
static JournalArticleDisplay |
getArticleDisplay(JournalArticle article,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
int page,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the specified page of the
latest version of the web content article, based on the DDM template.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
double version,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
int page,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the specified page of the
specified version of the web content article matching the group, article
ID, and DDM template.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
double version,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the first page of the specified
version of the web content article matching the group, article ID, and
DDM template.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
java.lang.String viewMode,
java.lang.String languageId,
int page,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the specified page of the
latest version of the web content article matching the group and article
ID.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
int page,
com.liferay.portal.kernel.portlet.PortletRequestModel portletRequestModel,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the specified page of the
latest version of the web content article matching the group, article ID,
and DDM template.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
java.lang.String ddmTemplateKey,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the first page of the latest
version of the web content article matching the group, article ID, and
DDM template.
|
static JournalArticleDisplay |
getArticleDisplay(long groupId,
java.lang.String articleId,
java.lang.String viewMode,
java.lang.String languageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
Returns a web content article display for the first page of the latest
version of the web content article matching the group and article ID.
|
static java.util.List<JournalArticle> |
getArticles()
Returns all the web content articles present in the system.
|
static java.util.List<JournalArticle> |
getArticles(long groupId)
Returns all the web content articles belonging to the group.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
int start,
int end)
Returns a range of all the web content articles belonging to the group.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> obc)
Returns an ordered range of all the web content articles belonging to the
group.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
long folderId)
Returns all the web content articles matching the group and folder.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
long folderId,
int start,
int end)
Returns a range of all the web content articles matching the group and
folder.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
long folderId,
int status,
int start,
int end)
Returns a range of all the web content articles matching the group,
folder, and status.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
long folderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> orderByComparator)
Returns an ordered range of all the web content articles matching the
group and folder.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
java.lang.String articleId)
Returns all the web content articles matching the group and article ID.
|
static java.util.List<JournalArticle> |
getArticles(long groupId,
java.lang.String articleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> orderByComparator) |
static java.util.List<JournalArticle> |
getArticlesByResourcePrimKey(long resourcePrimKey)
Returns all the web content articles matching the resource primary key.
|
static java.util.List<JournalArticle> |
getArticlesBySmallImageId(long smallImageId)
Returns all the web content articles matching the small image ID.
|
static java.util.List<JournalArticle> |
getArticlesByStructureId(long groupId,
long classNameId,
java.lang.String ddmStructureKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> obc) |
static java.util.List<JournalArticle> |
getArticlesByStructureId(long groupId,
java.lang.String ddmStructureKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> obc) |
static java.util.List<JournalArticle> |
getArticlesByStructureId(long groupId,
java.lang.String ddmStructureKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> obc) |
static int |
getArticlesCount(long groupId)
Returns the number of web content articles belonging to the group.
|
static int |
getArticlesCount(long groupId,
long folderId)
Returns the number of web content articles matching the group and folder.
|
static int |
getArticlesCount(long groupId,
long folderId,
int status)
Returns the number of web content articles matching the group, folder,
and status.
|
static int |
getArticlesCount(long groupId,
java.lang.String articleId) |
static java.util.List<JournalArticle> |
getCompanyArticles(long companyId,
double version,
int status,
int start,
int end)
Returns an ordered range of all the web content articles matching the
company, version, and workflow status.
|
static java.util.List<JournalArticle> |
getCompanyArticles(long companyId,
int status,
int start,
int end)
Returns an ordered range of all the web content articles matching the
company and workflow status.
|
static int |
getCompanyArticlesCount(long companyId,
double version,
int status,
int start,
int end)
Returns the number of web content articles matching the company, version,
and workflow status.
|
static int |
getCompanyArticlesCount(long companyId,
int status)
Returns the number of web content articles matching the company and
workflow status.
|
static JournalArticle |
getDisplayArticle(long groupId,
java.lang.String articleId)
Returns the matching web content article currently displayed or next to
be displayed if no article is currently displayed.
|
static JournalArticle |
getDisplayArticleByUrlTitle(long groupId,
java.lang.String urlTitle)
Returns the web content article matching the URL title that is currently
displayed or next to be displayed if no article is currently displayed.
|
static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
static java.util.List<JournalArticle> |
getIndexableArticlesByDDMStructureKey(java.lang.String[] ddmStructureKeys) |
static java.util.List<JournalArticle> |
getIndexableArticlesByResourcePrimKey(long resourcePrimKey)
Returns the indexable web content articles matching the resource primary
key.
|
static JournalArticle |
getJournalArticle(long id)
Returns the journal article with the primary key.
|
static JournalArticle |
getJournalArticleByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the journal article matching the UUID and group.
|
static java.util.List<JournalArticle> |
getJournalArticles(int start,
int end)
Returns a range of all the journal articles.
|
static java.util.List<JournalArticle> |
getJournalArticlesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the journal articles matching the UUID and company.
|
static java.util.List<JournalArticle> |
getJournalArticlesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> orderByComparator)
Returns a range of journal articles matching the UUID and company.
|
static int |
getJournalArticlesCount()
Returns the number of journal articles.
|
static JournalArticle |
getLatestArticle(long resourcePrimKey)
Returns the latest web content article matching the resource primary key,
preferring articles with approved workflow status.
|
static JournalArticle |
getLatestArticle(long resourcePrimKey,
int status)
Returns the latest web content article matching the resource primary key
and workflow status, preferring articles with approved workflow status.
|
static JournalArticle |
getLatestArticle(long resourcePrimKey,
int status,
boolean preferApproved)
Returns the latest web content article matching the resource primary key
and workflow status, optionally preferring articles with approved
workflow status.
|
static JournalArticle |
getLatestArticle(long groupId,
java.lang.String articleId)
Returns the latest web content article with the group and article ID.
|
static JournalArticle |
getLatestArticle(long groupId,
java.lang.String articleId,
int status)
Returns the latest web content article matching the group, article ID,
and workflow status.
|
static JournalArticle |
getLatestArticle(long groupId,
java.lang.String className,
long classPK)
Returns the latest web content article matching the group, class name ID,
and class PK.
|
static JournalArticle |
getLatestArticleByUrlTitle(long groupId,
java.lang.String urlTitle,
int status)
Returns the latest web content article matching the group, URL title, and
workflow status.
|
static double |
getLatestVersion(long groupId,
java.lang.String articleId)
Returns the latest version number of the web content with the group and
article ID.
|
static double |
getLatestVersion(long groupId,
java.lang.String articleId,
int status)
Returns the latest version number of the web content with the group,
article ID, and workflow status.
|
static java.util.List<JournalArticle> |
getNoAssetArticles() |
static java.util.List<JournalArticle> |
getNoPermissionArticles() |
static int |
getNotInTrashArticlesCount(long groupId,
long folderId)
Returns the number of web content articles that are not recycled.
|
static JournalArticle |
getOldestArticle(long groupId,
java.lang.String articleId)
Returns the oldest web content article with the group and article ID.
|
static JournalArticle |
getOldestArticle(long groupId,
java.lang.String articleId,
int status)
Returns the oldest web content article matching the group, article ID,
and workflow status.
|
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static java.util.List<? extends com.liferay.portal.kernel.model.PersistedModel> |
getPersistedModel(long resourcePrimKey) |
static com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static JournalArticle |
getPreviousApprovedArticle(JournalArticle article)
Returns the previously approved version of the web content article.
|
static JournalArticleLocalService |
getService() |
static java.util.List<JournalArticle> |
getStructureArticles(long groupId,
java.lang.String ddmStructureKey)
Returns the web content articles matching the group and DDM structure
key.
|
static java.util.List<JournalArticle> |
getStructureArticles(long groupId,
java.lang.String ddmStructureKey,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<JournalArticle> obc)
Returns an ordered range of all the web content articles matching the
group and DDM structure key.
|
static java.util.List<JournalArticle> |
getStructureArticles(java.lang.String[] ddmStructureKeys)
Returns the web content articles matching the DDM structure keys.
|
static int |
getStructureArticlesCount(long groupId,
java.lang |