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(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 |
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 |
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(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.PortalException
public static KBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public static KBFolder fetchKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, java.lang.String urlTitle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public 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.PortalException
public 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.PortalException
public 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.PortalException
public static KBFolderService getService()