Class KBArticleServiceWrapper
java.lang.Object
com.liferay.knowledge.base.service.KBArticleServiceWrapper
- All Implemented Interfaces:
KBArticleService,com.liferay.portal.kernel.service.BaseService,com.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
public class KBArticleServiceWrapper
extends Object
implements KBArticleService, com.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
Provides a wrapper for
KBArticleService.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKBArticle(String externalReferenceCode, String portletId, long parentResourceClassNameId, long parentResourcePrimKey, String title, String urlTitle, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, com.liferay.portal.kernel.service.ServiceContext serviceContext) intaddKBArticlesMarkdown(long groupId, long parentKBFolderId, String fileName, boolean prioritizeByNumericalPrefix, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidaddTempAttachment(long groupId, long resourcePrimKey, String fileName, String tempFolderName, InputStream inputStream, String mimeType) intcountKBArticlesByKeywords(long groupId, String keywords, int status) deleteKBArticle(long resourcePrimKey) voiddeleteKBArticles(long groupId, long[] resourcePrimKeys) voiddeleteTempAttachment(long groupId, long resourcePrimKey, String fileName, String tempFolderName) expireKBArticle(long resourcePrimKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) fetchFirstChildKBArticle(long groupId, long parentResourcePrimKey) fetchFirstChildKBArticle(long groupId, long parentResourcePrimKey, int status) fetchKBArticleByUrlTitle(long groupId, long kbFolderId, String urlTitle) fetchLatestKBArticle(long resourcePrimKey, int status) fetchLatestKBArticleByExternalReferenceCode(long groupId, String externalReferenceCode) fetchLatestKBArticleByUrlTitle(long groupId, long kbFolderId, String urlTitle, int status) com.liferay.portal.kernel.lock.LockforceLockKBArticle(long groupId, long resourcePrimKey) getAllDescendantKBArticles(long groupId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getGroupKBArticles(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) intgetGroupKBArticlesCount(long groupId, int status) getGroupKBArticlesRSS(int status, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getKBArticle(long resourcePrimKey, int version) getKBArticleAndAllDescendantKBArticles(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getKBArticleRSS(long resourcePrimKey, int status, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getKBArticles(long groupId, long[] resourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getKBArticles(long groupId, long[] resourcePrimKeys, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getKBArticlesByKeywords(long groupId, String keywords, int status, int start, int end) intgetKBArticlesCount(long groupId, long[] resourcePrimKeys, int status) intgetKBArticlesCount(long groupId, long parentResourcePrimKey, int status) getKBArticleSearchDisplay(long groupId, String title, String content, int status, Date startDate, Date endDate, boolean andOperator, int[] curStartValues, int cur, int delta, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) getKBArticleVersions(long groupId, long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) intgetKBArticleVersionsCount(long groupId, long resourcePrimKey, int status) getLatestKBArticle(long resourcePrimKey) getLatestKBArticle(long resourcePrimKey, int status) getLatestKBArticleByExternalReferenceCode(long groupId, String externalReferenceCode) Returns the OSGi service identifier.getPreviousAndNextKBArticles(long kbArticleId) getSectionsKBArticles(long groupId, String[] sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) intgetSectionsKBArticlesCount(long groupId, String[] sections, int status) String[]getTempAttachmentNames(long groupId, String tempFolderName) com.liferay.portal.kernel.lock.LocklockKBArticle(long resourcePrimKey) voidmoveKBArticle(long resourcePrimKey, long parentResourceClassNameId, long parentResourcePrimKey, double priority) moveKBArticleToTrash(long resourcePrimKey) revertKBArticle(long resourcePrimKey, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidsetWrappedService(KBArticleService kbArticleService) voidsubscribeGroupKBArticles(long groupId, String portletId) voidsubscribeKBArticle(long groupId, long resourcePrimKey) voidunlockKBArticle(long resourcePrimKey) voidunsubscribeGroupKBArticles(long groupId, String portletId) voidunsubscribeKBArticle(long resourcePrimKey) updateAndUnlockKBArticle(long resourcePrimKey, String title, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, long[] removeFileEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateKBArticle(long resourcePrimKey, String title, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, long[] removeFileEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateKBArticlesPriorities(long groupId, Map<Long, Double> resourcePrimKeyToPriorityMap)
-
Constructor Details
-
KBArticleServiceWrapper
public KBArticleServiceWrapper() -
KBArticleServiceWrapper
-
-
Method Details
-
addKBArticle
public KBArticle addKBArticle(String externalReferenceCode, String portletId, long parentResourceClassNameId, long parentResourcePrimKey, String title, String urlTitle, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addKBArticlesMarkdown
public int addKBArticlesMarkdown(long groupId, long parentKBFolderId, String fileName, boolean prioritizeByNumericalPrefix, InputStream inputStream, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addKBArticlesMarkdownin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTempAttachment
public void addTempAttachment(long groupId, long resourcePrimKey, String fileName, String tempFolderName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addTempAttachmentin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
countKBArticlesByKeywords
- Specified by:
countKBArticlesByKeywordsin interfaceKBArticleService
-
deleteKBArticle
public KBArticle deleteKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBArticles
public void deleteKBArticles(long groupId, long[] resourcePrimKeys) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTempAttachment
public void deleteTempAttachment(long groupId, long resourcePrimKey, String fileName, String tempFolderName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteTempAttachmentin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
expireKBArticle
public KBArticle expireKBArticle(long resourcePrimKey, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
expireKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBArticle
- Specified by:
fetchFirstChildKBArticlein interfaceKBArticleService
-
fetchFirstChildKBArticle
- Specified by:
fetchFirstChildKBArticlein interfaceKBArticleService
-
fetchKBArticleByUrlTitle
public KBArticle fetchKBArticleByUrlTitle(long groupId, long kbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchKBArticleByUrlTitlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchLatestKBArticle
public KBArticle fetchLatestKBArticle(long resourcePrimKey, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchLatestKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchLatestKBArticleByExternalReferenceCode
public KBArticle fetchLatestKBArticleByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchLatestKBArticleByExternalReferenceCodein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchLatestKBArticleByUrlTitle
public KBArticle fetchLatestKBArticleByUrlTitle(long groupId, long kbFolderId, String urlTitle, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchLatestKBArticleByUrlTitlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
forceLockKBArticle
public com.liferay.portal.kernel.lock.Lock forceLockKBArticle(long groupId, long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
forceLockKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAllDescendantKBArticles
public List<KBArticle> getAllDescendantKBArticles(long groupId, long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getAllDescendantKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupKBArticles
public List<KBArticle> getGroupKBArticles(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getGroupKBArticlesin interfaceKBArticleService
-
getGroupKBArticlesCount
public int getGroupKBArticlesCount(long groupId, int status) - Specified by:
getGroupKBArticlesCountin interfaceKBArticleService
-
getGroupKBArticlesRSS
public String getGroupKBArticlesRSS(int status, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getGroupKBArticlesRSSin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBArticle
public KBArticle getKBArticle(long resourcePrimKey, int version) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBArticleAndAllDescendantKBArticles
public List<KBArticle> getKBArticleAndAllDescendantKBArticles(long resourcePrimKey, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBArticleAndAllDescendantKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBArticleRSS
public String getKBArticleRSS(long resourcePrimKey, int status, int max, String type, double version, String displayStyle, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBArticleRSSin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBArticles
public List<KBArticle> getKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getKBArticlesin interfaceKBArticleService
-
getKBArticles
public List<KBArticle> getKBArticles(long groupId, long[] resourcePrimKeys, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getKBArticlesin interfaceKBArticleService
-
getKBArticles
public List<KBArticle> getKBArticles(long groupId, long[] resourcePrimKeys, int status, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getKBArticlesin interfaceKBArticleService
-
getKBArticlesByKeywords
public List<KBArticle> getKBArticlesByKeywords(long groupId, String keywords, int status, int start, int end) - Specified by:
getKBArticlesByKeywordsin interfaceKBArticleService
-
getKBArticlesCount
public int getKBArticlesCount(long groupId, long parentResourcePrimKey, int status) - Specified by:
getKBArticlesCountin interfaceKBArticleService
-
getKBArticlesCount
public int getKBArticlesCount(long groupId, long[] resourcePrimKeys, int status) - Specified by:
getKBArticlesCountin interfaceKBArticleService
-
getKBArticleSearchDisplay
public KBArticleSearchDisplay getKBArticleSearchDisplay(long groupId, String title, String content, int status, Date startDate, 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 - Specified by:
getKBArticleSearchDisplayin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBArticleVersions
public List<KBArticle> getKBArticleVersions(long groupId, long resourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getKBArticleVersionsin interfaceKBArticleService
-
getKBArticleVersionsCount
public int getKBArticleVersionsCount(long groupId, long resourcePrimKey, int status) - Specified by:
getKBArticleVersionsCountin interfaceKBArticleService
-
getLatestKBArticle
public KBArticle getLatestKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLatestKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLatestKBArticle
public KBArticle getLatestKBArticle(long resourcePrimKey, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLatestKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLatestKBArticleByExternalReferenceCode
public KBArticle getLatestKBArticleByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLatestKBArticleByExternalReferenceCodein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceKBArticleService- Returns:
- the OSGi service identifier
-
getPreviousAndNextKBArticles
public KBArticle[] getPreviousAndNextKBArticles(long kbArticleId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPreviousAndNextKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSectionsKBArticles
public List<KBArticle> getSectionsKBArticles(long groupId, String[] sections, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBArticle> orderByComparator) - Specified by:
getSectionsKBArticlesin interfaceKBArticleService
-
getSectionsKBArticlesCount
- Specified by:
getSectionsKBArticlesCountin interfaceKBArticleService
-
getTempAttachmentNames
public String[] getTempAttachmentNames(long groupId, String tempFolderName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getTempAttachmentNamesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
lockKBArticle
public com.liferay.portal.kernel.lock.Lock lockKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
lockKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBArticle
public void moveKBArticle(long resourcePrimKey, long parentResourceClassNameId, long parentResourcePrimKey, double priority) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBArticleToTrash
public KBArticle moveKBArticleToTrash(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBArticleToTrashin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
revertKBArticle
public KBArticle revertKBArticle(long resourcePrimKey, int version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
revertKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeGroupKBArticles
public void subscribeGroupKBArticles(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribeGroupKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeKBArticle
public void subscribeKBArticle(long groupId, long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribeKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unlockKBArticle
public void unlockKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unlockKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeGroupKBArticles
public void unsubscribeGroupKBArticles(long groupId, String portletId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribeGroupKBArticlesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeKBArticle
public void unsubscribeKBArticle(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribeKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAndUnlockKBArticle
public KBArticle updateAndUnlockKBArticle(long resourcePrimKey, String title, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, long[] removeFileEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAndUnlockKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBArticle
public KBArticle updateKBArticle(long resourcePrimKey, String title, String content, String description, String[] sections, String sourceURL, Date displayDate, Date expirationDate, Date reviewDate, String[] selectedFileNames, long[] removeFileEntryIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateKBArticlein interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBArticlesPriorities
public void updateKBArticlesPriorities(long groupId, Map<Long, Double> resourcePrimKeyToPriorityMap) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateKBArticlesPrioritiesin interfaceKBArticleService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBArticleService>
-