Class KBFolderLocalServiceWrapper
- All Implemented Interfaces:
KBFolderLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.change.tracking.CTService<KBFolder>,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<KBFolderLocalService>
KBFolderLocalService.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddKBFolder(KBFolder kbFolder) Adds the kb folder to the database.addKBFolder(String externalReferenceCode, long userId, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) createKBFolder(long kbFolderId) Creates a new kb folder with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) deleteKBFolder(long kbFolderId) Deletes the kb folder with the primary key from the database.deleteKBFolder(long kbFolderId, boolean includeTrashedEntries) deleteKBFolder(KBFolder kbFolder) Deletes the kb folder from the database.deleteKBFolder(KBFolder kbFolder, boolean includeTrashedEntries) voiddeleteKBFolders(long groupId) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchFirstChildKBFolder(long groupId, long kbFolderId) fetchFirstChildKBFolder(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) fetchKBFolder(long kbFolderId) fetchKBFolder(String uuid, long groupId) fetchKBFolderByExternalReferenceCode(String externalReferenceCode, long groupId) fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) fetchKBFolderByUuidAndGroupId(String uuid, long groupId) Returns the kb folder matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetKBFolder(long kbFolderId) Returns the kb folder with the primary key.getKBFolderByExternalReferenceCode(String externalReferenceCode, long groupId) getKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) getKBFolderByUuidAndGroupId(String uuid, long groupId) Returns the kb folder matching the UUID and group.getKBFolders(int start, int end) Returns a range of all the kb folders.getKBFolders(long groupId, long parentKBFolderId, int start, int end) getKBFoldersAndKBArticles(long groupId, long parentResourcePrimKey) getKBFoldersAndKBArticles(long groupId, long parentResourcePrimKey, int status) getKBFoldersAndKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) intgetKBFoldersAndKBArticlesCount(long groupId, long parentResourcePrimKey, int status) getKBFoldersByUuidAndCompanyId(String uuid, long companyId) Returns all the kb folders matching the UUID and company.getKBFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns a range of kb folders matching the UUID and company.intReturns the number of kb folders.intgetKBFoldersCount(long groupId, long parentKBFolderId) intgetKBFoldersCount(long groupId, long parentKBFolderId, int status) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) moveKBFolder(long kbFolderId, long parentKBFolderId) moveKBFolderFromTrash(long userId, long kbFolderId, long parentKBFolderId) moveKBFolderToTrash(long userId, long kbFolderId) restoreKBFolderFromTrash(long userId, long kbFolderId) voidsetWrappedService(KBFolderLocalService kbFolderLocalService) updateKBFolder(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateKBFolder(KBFolder kbFolder) Updates the kb folder in the database or adds it if it does not yet exist.updateStatus(long userId, KBFolder kbFolder, int status) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
KBFolderLocalServiceWrapper
public KBFolderLocalServiceWrapper() -
KBFolderLocalServiceWrapper
-
-
Method Details
-
addKBFolder
Adds the kb folder to the database. Also notifies the appropriate model listeners.Important: Inspect KBFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolder- the kb folder- Returns:
- the kb folder that was added
-
addKBFolder
public KBFolder addKBFolder(String externalReferenceCode, long userId, long groupId, long parentResourceClassNameId, long parentResourcePrimKey, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createKBFolder
Creates a new kb folder with the primary key. Does not add the kb folder to the database.- Specified by:
createKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolderId- the primary key for the new kb folder- Returns:
- the new kb folder
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceKBFolderLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
public KBFolder deleteKBFolder(KBFolder kbFolder) throws com.liferay.portal.kernel.exception.PortalException Deletes the kb folder from the database. Also notifies the appropriate model listeners.Important: Inspect KBFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolder- the kb folder- Returns:
- the kb folder that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
public KBFolder deleteKBFolder(KBFolder kbFolder, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
public KBFolder deleteKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException Deletes the kb folder with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect KBFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolderId- the primary key of the kb folder- Returns:
- the kb folder that was removed
- Throws:
PortalException- if a kb folder with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteKBFolder
public KBFolder deleteKBFolder(long kbFolderId, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBFolders
public void deleteKBFolders(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBFoldersin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceKBFolderLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceKBFolderLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceKBFolderLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceKBFolderLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceKBFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.knowledge.base.model.impl.KBFolderModelImpl.- Specified by:
dynamicQueryin interfaceKBFolderLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.knowledge.base.model.impl.KBFolderModelImpl.- Specified by:
dynamicQueryin interfaceKBFolderLocalService- Parameters:
dynamicQuery- the dynamic querystart- the lower bound of the range of model instancesend- the upper bound of the range of model instances (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKBFolderLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceKBFolderLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchFirstChildKBFolder
public KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFirstChildKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstChildKBFolder
public KBFolder fetchFirstChildKBFolder(long groupId, long kbFolderId, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFirstChildKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolder
- Specified by:
fetchKBFolderin interfaceKBFolderLocalService
-
fetchKBFolder
- Specified by:
fetchKBFolderin interfaceKBFolderLocalService
-
fetchKBFolderByExternalReferenceCode
- Specified by:
fetchKBFolderByExternalReferenceCodein interfaceKBFolderLocalService
-
fetchKBFolderByUrlTitle
public KBFolder fetchKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchKBFolderByUrlTitlein interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchKBFolderByUuidAndGroupId
Returns the kb folder matching the UUID and group.- Specified by:
fetchKBFolderByUuidAndGroupIdin interfaceKBFolderLocalService- Parameters:
uuid- the kb folder's UUIDgroupId- the primary key of the group- Returns:
- the matching kb folder, or
nullif a matching kb folder could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceKBFolderLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceKBFolderLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceKBFolderLocalService
-
getKBFolder
public KBFolder getKBFolder(long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException Returns the kb folder with the primary key.- Specified by:
getKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolderId- the primary key of the kb folder- Returns:
- the kb folder
- Throws:
PortalException- if a kb folder with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getKBFolderByExternalReferenceCode
public KBFolder getKBFolderByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolderByExternalReferenceCodein interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByUrlTitle
public KBFolder getKBFolderByUrlTitle(long groupId, long parentKbFolderId, String urlTitle) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFolderByUrlTitlein interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFolderByUuidAndGroupId
public KBFolder getKBFolderByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the kb folder matching the UUID and group.- Specified by:
getKBFolderByUuidAndGroupIdin interfaceKBFolderLocalService- Parameters:
uuid- the kb folder's UUIDgroupId- the primary key of the group- Returns:
- the matching kb folder
- Throws:
PortalException- if a matching kb folder could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getKBFolders
Returns a range of all the kb folders.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.knowledge.base.model.impl.KBFolderModelImpl.- Specified by:
getKBFoldersin interfaceKBFolderLocalService- Parameters:
start- the lower bound of the range of kb foldersend- the upper bound of the range of kb folders (not inclusive)- Returns:
- the range of kb folders
-
getKBFolders
public List<KBFolder> getKBFolders(long groupId, long parentKBFolderId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFoldersin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFoldersAndKBArticles
- Specified by:
getKBFoldersAndKBArticlesin interfaceKBFolderLocalService
-
getKBFoldersAndKBArticles
- Specified by:
getKBFoldersAndKBArticlesin interfaceKBFolderLocalService
-
getKBFoldersAndKBArticles
public List<Object> getKBFoldersAndKBArticles(long groupId, long parentResourcePrimKey, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<?> orderByComparator) - Specified by:
getKBFoldersAndKBArticlesin interfaceKBFolderLocalService
-
getKBFoldersAndKBArticlesCount
public int getKBFoldersAndKBArticlesCount(long groupId, long parentResourcePrimKey, int status) - Specified by:
getKBFoldersAndKBArticlesCountin interfaceKBFolderLocalService
-
getKBFoldersByUuidAndCompanyId
Returns all the kb folders matching the UUID and company.- Specified by:
getKBFoldersByUuidAndCompanyIdin interfaceKBFolderLocalService- Parameters:
uuid- the UUID of the kb folderscompanyId- the primary key of the company- Returns:
- the matching kb folders, or an empty list if no matches were found
-
getKBFoldersByUuidAndCompanyId
public List<KBFolder> getKBFoldersByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBFolder> orderByComparator) Returns a range of kb folders matching the UUID and company.- Specified by:
getKBFoldersByUuidAndCompanyIdin interfaceKBFolderLocalService- Parameters:
uuid- the UUID of the kb folderscompanyId- the primary key of the companystart- the lower bound of the range of kb foldersend- the upper bound of the range of kb folders (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching kb folders, or an empty list if no matches were found
-
getKBFoldersCount
public int getKBFoldersCount()Returns the number of kb folders.- Specified by:
getKBFoldersCountin interfaceKBFolderLocalService- Returns:
- the number of kb folders
-
getKBFoldersCount
public int getKBFoldersCount(long groupId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFoldersCountin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBFoldersCount
public int getKBFoldersCount(long groupId, long parentKBFolderId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBFoldersCountin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceKBFolderLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceKBFolderLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
moveKBFolder
public KBFolder moveKBFolder(long kbFolderId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBFolderFromTrash
public KBFolder moveKBFolderFromTrash(long userId, long kbFolderId, long parentKBFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBFolderFromTrashin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
moveKBFolderToTrash
public KBFolder moveKBFolderToTrash(long userId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveKBFolderToTrashin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreKBFolderFromTrash
public KBFolder restoreKBFolderFromTrash(long userId, long kbFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restoreKBFolderFromTrashin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBFolder
Updates the kb folder in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect KBFolderLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateKBFolderin interfaceKBFolderLocalService- Parameters:
kbFolder- the kb folder- Returns:
- the kb folder that was updated
-
updateKBFolder
public KBFolder updateKBFolder(long parentResourceClassNameId, long parentResourcePrimKey, long kbFolderId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateKBFolderin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public KBFolder updateStatus(long userId, KBFolder kbFolder, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatusin interfaceKBFolderLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder> getCTPersistence()- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KBFolder>- Specified by:
getCTPersistencein interfaceKBFolderLocalService
-
getModelClass
- Specified by:
getModelClassin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KBFolder>- Specified by:
getModelClassin interfaceKBFolderLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KBFolder>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<KBFolder>- Specified by:
updateWithUnsafeFunctionin interfaceKBFolderLocalService- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBFolderLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBFolderLocalService>
-