public class KBFolderServiceUtil
extends java.lang.Object
com.liferay.knowledge.base.service.impl.KBFolderServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.KBFolderService| Constructor and Description |
|---|
KBFolderServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static KBFolder |
addKBFolder(java.lang.String externalReferenceCode,
long groupId,
long parentResourceClassNameId,
long parentResourcePrimKey,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KBFolder |
deleteKBFolder(long kbFolderId) |
static KBFolder |
fetchFirstChildKBFolder(long groupId,
long kbFolderId) |
static KBFolder |
fetchFirstChildKBFolder(long groupId,
long kbFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) |
static KBFolder |
fetchKBFolder(long kbFolderId) |
static KBFolder |
fetchKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle) |
static KBFolder |
getKBFolder(long kbFolderId) |
static KBFolder |
getKBFolderByExternalReferenceCode(long groupId,
java.lang.String externalReferenceCode) |
static KBFolder |
getKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle) |
static java.util.List<KBFolder> |
getKBFolders(long groupId,
long parentKBFolderId,
int start,
int end) |
static java.util.List<java.lang.Object> |
getKBFoldersAndKBArticles(long groupId,
long parentResourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
static int |
getKBFoldersAndKBArticlesCount(long groupId,
long parentResourcePrimKey,
int status) |
static int |
getKBFoldersCount(long groupId,
long parentKBFolderId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static KBFolderService |
getService() |
static void |
moveKBFolder(long kbFolderId,
long parentKBFolderId) |
static KBFolder |
moveKBFolderToTrash(long kbFolderId) |
static void |
setService(KBFolderService service) |
static KBFolder |
updateKBFolder(long parentResourceClassNameId,
long parentResourcePrimKey,
long kbFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static KBFolder addKBFolder(java.lang.String externalReferenceCode, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder fetchKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder getKBFolderByExternalReferenceCode(long groupId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<KBFolder> getKBFolders(long groupId, long parentKBFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.util.List<java.lang.Object> getKBFoldersAndKBArticles(long groupId,
long parentResourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
public static int getKBFoldersAndKBArticlesCount(long groupId,
long parentResourcePrimKey,
int status)
public static int getKBFoldersCount(long groupId,
long parentKBFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static void moveKBFolder(long kbFolderId,
long parentKBFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder moveKBFolderToTrash(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolder updateKBFolder(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, java.lang.String name, java.lang.String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static KBFolderService getService()
public static void setService(KBFolderService service)