@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface KBFolderService
extends com.liferay.portal.kernel.service.BaseService
KBFolderServiceUtil| Modifier and Type | Method and Description |
|---|---|
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) |
KBFolder |
deleteKBFolder(long kbFolderId) |
KBFolder |
fetchFirstChildKBFolder(long groupId,
long kbFolderId) |
KBFolder |
fetchFirstChildKBFolder(long groupId,
long kbFolderId,
com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) |
KBFolder |
fetchKBFolder(long kbFolderId) |
KBFolder |
fetchKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle) |
KBFolder |
getKBFolder(long kbFolderId) |
KBFolder |
getKBFolderByExternalReferenceCode(long groupId,
java.lang.String externalReferenceCode) |
KBFolder |
getKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle) |
java.util.List<KBFolder> |
getKBFolders(long groupId,
long parentKBFolderId,
int start,
int end) |
java.util.List<java.lang.Object> |
getKBFoldersAndKBArticles(long groupId,
long parentResourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) |
int |
getKBFoldersAndKBArticlesCount(long groupId,
long parentResourcePrimKey,
int status) |
int |
getKBFoldersCount(long groupId,
long parentKBFolderId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
void |
moveKBFolder(long kbFolderId,
long parentKBFolderId) |
KBFolder |
updateKBFolder(long parentResourceClassNameId,
long parentResourcePrimKey,
long kbFolderId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
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.PortalExceptionKBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder fetchFirstChildKBFolder(long groupId,
long kbFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder fetchKBFolder(long kbFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder fetchKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder getKBFolder(long kbFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder getKBFolderByExternalReferenceCode(long groupId,
java.lang.String externalReferenceCode)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
KBFolder getKBFolderByUrlTitle(long groupId,
long parentKbFolderId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Transactional(propagation=SUPPORTS,
readOnly=true)
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@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<java.lang.Object> getKBFoldersAndKBArticles(long groupId,
long parentResourcePrimKey,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getKBFoldersAndKBArticlesCount(long groupId,
long parentResourcePrimKey,
int status)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getKBFoldersCount(long groupId,
long parentKBFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionjava.lang.String getOSGiServiceIdentifier()
void moveKBFolder(long kbFolderId,
long parentKBFolderId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionKBFolder 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