public class KBArticleServiceWrapper extends java.lang.Object implements KBArticleService, com.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
KBArticleService
.KBArticleService
Constructor and Description |
---|
KBArticleServiceWrapper(KBArticleService kbArticleService) |
Modifier and Type | Method and Description |
---|---|
KBArticle |
addKBArticle(java.lang.String portletId,
long parentResourceClassNameId,
long parentResourcePrimKey,
java.lang.String title,
java.lang.String urlTitle,
java.lang.String content,
java.lang.String description,
java.lang.String sourceURL,
java.lang.String[] sections,
java.lang.String[] selectedFileNames,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
int |
addKBArticlesMarkdown(long groupId,
long parentKBFolderId,
java.lang.String fileName,
boolean prioritizeByNumericalPrefix,
java.io.InputStream inputStream,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addTempAttachment(long groupId,
long resourcePrimKey,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
KBArticle |
deleteKBArticle(long resourcePrimKey) |
void |
deleteKBArticles(long groupId,
long[] resourcePrimKeys) |
void |
deleteTempAttachment(long groupId,
long resourcePrimKey,
java.lang.String fileName,
java.lang.String tempFolderName) |
KBArticle |
fetchFirstChildKBArticle(long groupId,
long parentResourcePrimKey) |
KBArticle |
fetchFirstChildKBArticle(long groupId,
long parentResourcePrimKey,
int status) |
KBArticle |
fetchKBArticleByUrlTitle(long groupId,
long kbFolderId,
java.lang.String urlTitle) |
KBArticle |
fetchLatestKBArticle(long resourcePrimKey,
int status) |
KBArticle |
fetchLatestKBArticleByUrlTitle(long groupId,
long kbFolderId,
java.lang.String urlTitle,
int status) |
java.util.List<KBArticle> |
getAllDescendantKBArticles(long groupId,
long resourcePrimKey,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
java.util.List<KBArticle> |
getGroupKBArticles(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
int |
getGroupKBArticlesCount(long groupId,
int status) |
java.lang.String |
getGroupKBArticlesRSS(int status,
int rssDelta,
java.lang.String rssDisplayStyle,
java.lang.String rssFormat,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
KBArticle |
getKBArticle(long resourcePrimKey,
int version) |
java.util.List<KBArticle> |
getKBArticleAndAllDescendantKBArticles(long resourcePrimKey,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
java.lang.String |
getKBArticleRSS(long resourcePrimKey,
int status,
int rssDelta,
java.lang.String rssDisplayStyle,
java.lang.String rssFormat,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
java.util.List<KBArticle> |
getKBArticles(long groupId,
long[] resourcePrimKeys,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
java.util.List<KBArticle> |
getKBArticles(long groupId,
long[] resourcePrimKeys,
int status,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
java.util.List<KBArticle> |
getKBArticles(long groupId,
long parentResourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
int |
getKBArticlesCount(long groupId,
long[] resourcePrimKeys,
int status) |
int |
getKBArticlesCount(long groupId,
long parentResourcePrimKey,
int status) |
KBArticleSearchDisplay |
getKBArticleSearchDisplay(long groupId,
java.lang.String title,
java.lang.String content,
int status,
java.util.Date startDate,
java.util.Date endDate,
boolean andOperator,
int[] curStartValues,
int cur,
int delta,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
java.util.List<KBArticle> |
getKBArticleVersions(long groupId,
long resourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
int |
getKBArticleVersionsCount(long groupId,
long resourcePrimKey,
int status) |
KBArticle |
getLatestKBArticle(long resourcePrimKey,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
KBArticle[] |
getPreviousAndNextKBArticles(long kbArticleId) |
java.util.List<KBArticle> |
getSectionsKBArticles(long groupId,
java.lang.String[] sections,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) |
int |
getSectionsKBArticlesCount(long groupId,
java.lang.String[] sections,
int status) |
java.lang.String[] |
getTempAttachmentNames(long groupId,
java.lang.String tempFolderName) |
KBArticleService |
getWrappedService() |
void |
moveKBArticle(long resourcePrimKey,
long parentResourceClassNameId,
long parentResourcePrimKey,
double priority) |
KBArticle |
revertKBArticle(long resourcePrimKey,
int version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setWrappedService(KBArticleService kbArticleService) |
void |
subscribeGroupKBArticles(long groupId,
java.lang.String portletId) |
void |
subscribeKBArticle(long groupId,
long resourcePrimKey) |
void |
unsubscribeGroupKBArticles(long groupId,
java.lang.String portletId) |
void |
unsubscribeKBArticle(long resourcePrimKey) |
KBArticle |
updateKBArticle(long resourcePrimKey,
java.lang.String title,
java.lang.String content,
java.lang.String description,
java.lang.String sourceURL,
java.lang.String[] sections,
java.lang.String[] selectedFileNames,
long[] removeFileEntryIds,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
updateKBArticlesPriorities(long groupId,
java.util.Map<java.lang.Long,java.lang.Double> resourcePrimKeyToPriorityMap) |
public KBArticleServiceWrapper(KBArticleService kbArticleService)
public KBArticle addKBArticle(java.lang.String portletId, long parentResourceClassNameId, long parentResourcePrimKey, java.lang.String title, java.lang.String urlTitle, java.lang.String content, java.lang.String description, java.lang.String sourceURL, java.lang.String[] sections, java.lang.String[] selectedFileNames, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public int addKBArticlesMarkdown(long groupId, long parentKBFolderId, java.lang.String fileName, boolean prioritizeByNumericalPrefix, java.io.InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addKBArticlesMarkdown
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void addTempAttachment(long groupId, long resourcePrimKey, java.lang.String fileName, java.lang.String tempFolderName, java.io.InputStream inputStream, java.lang.String mimeType) throws com.liferay.portal.kernel.exception.PortalException
addTempAttachment
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle deleteKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
deleteKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void deleteKBArticles(long groupId, long[] resourcePrimKeys) throws com.liferay.portal.kernel.exception.PortalException
deleteKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void deleteTempAttachment(long groupId, long resourcePrimKey, java.lang.String fileName, java.lang.String tempFolderName) throws com.liferay.portal.kernel.exception.PortalException
deleteTempAttachment
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle fetchFirstChildKBArticle(long groupId, long parentResourcePrimKey)
fetchFirstChildKBArticle
in interface KBArticleService
public KBArticle fetchFirstChildKBArticle(long groupId, long parentResourcePrimKey, int status)
fetchFirstChildKBArticle
in interface KBArticleService
public KBArticle fetchKBArticleByUrlTitle(long groupId, long kbFolderId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
fetchKBArticleByUrlTitle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle fetchLatestKBArticle(long resourcePrimKey, int status) throws com.liferay.portal.kernel.exception.PortalException
fetchLatestKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle fetchLatestKBArticleByUrlTitle(long groupId, long kbFolderId, java.lang.String urlTitle, int status) throws com.liferay.portal.kernel.exception.PortalException
fetchLatestKBArticleByUrlTitle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getAllDescendantKBArticles(long groupId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getAllDescendantKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getGroupKBArticles(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getGroupKBArticles
in interface KBArticleService
public int getGroupKBArticlesCount(long groupId, int status)
getGroupKBArticlesCount
in interface KBArticleService
public java.lang.String getGroupKBArticlesRSS(int status, int rssDelta, java.lang.String rssDisplayStyle, java.lang.String rssFormat, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getGroupKBArticlesRSS
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle getKBArticle(long resourcePrimKey, int version) throws com.liferay.portal.kernel.exception.PortalException
getKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getKBArticleAndAllDescendantKBArticles(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getKBArticleAndAllDescendantKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getKBArticleRSS(long resourcePrimKey, int status, int rssDelta, java.lang.String rssDisplayStyle, java.lang.String rssFormat, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
getKBArticleRSS
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getKBArticles
in interface KBArticleService
public java.util.List<KBArticle> getKBArticles(long groupId, long[] resourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getKBArticles
in interface KBArticleService
public java.util.List<KBArticle> getKBArticles(long groupId, long[] resourcePrimKeys, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getKBArticles
in interface KBArticleService
public int getKBArticlesCount(long groupId, long parentResourcePrimKey, int status)
getKBArticlesCount
in interface KBArticleService
public int getKBArticlesCount(long groupId, long[] resourcePrimKeys, int status)
getKBArticlesCount
in interface KBArticleService
public KBArticleSearchDisplay getKBArticleSearchDisplay(long groupId, java.lang.String title, java.lang.String content, int status, java.util.Date startDate, java.util.Date endDate, boolean andOperator, int[] curStartValues, int cur, int delta, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
getKBArticleSearchDisplay
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getKBArticleVersions(long groupId, long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getKBArticleVersions
in interface KBArticleService
public int getKBArticleVersionsCount(long groupId, long resourcePrimKey, int status)
getKBArticleVersionsCount
in interface KBArticleService
public KBArticle getLatestKBArticle(long resourcePrimKey, int status) throws com.liferay.portal.kernel.exception.PortalException
getLatestKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface KBArticleService
public KBArticle[] getPreviousAndNextKBArticles(long kbArticleId) throws com.liferay.portal.kernel.exception.PortalException
getPreviousAndNextKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<KBArticle> getSectionsKBArticles(long groupId, java.lang.String[] sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator)
getSectionsKBArticles
in interface KBArticleService
public int getSectionsKBArticlesCount(long groupId, java.lang.String[] sections, int status)
getSectionsKBArticlesCount
in interface KBArticleService
public java.lang.String[] getTempAttachmentNames(long groupId, java.lang.String tempFolderName) throws com.liferay.portal.kernel.exception.PortalException
getTempAttachmentNames
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void moveKBArticle(long resourcePrimKey, long parentResourceClassNameId, long parentResourcePrimKey, double priority) throws com.liferay.portal.kernel.exception.PortalException
moveKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle revertKBArticle(long resourcePrimKey, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
revertKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void subscribeGroupKBArticles(long groupId, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
subscribeGroupKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void subscribeKBArticle(long groupId, long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
subscribeKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeGroupKBArticles(long groupId, java.lang.String portletId) throws com.liferay.portal.kernel.exception.PortalException
unsubscribeGroupKBArticles
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
unsubscribeKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticle updateKBArticle(long resourcePrimKey, java.lang.String title, java.lang.String content, java.lang.String description, java.lang.String sourceURL, java.lang.String[] sections, java.lang.String[] selectedFileNames, long[] removeFileEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateKBArticle
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public void updateKBArticlesPriorities(long groupId, java.util.Map<java.lang.Long,java.lang.Double> resourcePrimKeyToPriorityMap) throws com.liferay.portal.kernel.exception.PortalException
updateKBArticlesPriorities
in interface KBArticleService
com.liferay.portal.kernel.exception.PortalException
public KBArticleService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
public void setWrappedService(KBArticleService kbArticleService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>