Package org.exoplatform.forum.bbcode.api
Interface BBCodeService
- All Known Implementing Classes:
BBCodeServiceImpl,CachedBBCodeService
public interface BBCodeService
Main Facade for all BBCode related operations.
- Version:
- $Revision$
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeletes an existing BBCode.Loads a BBCode by its given Id.Retrieves BBCode Ids that are active.getAll()Retrieves all BBCodes.Gets all active BBCodes.voidregisterBBCodePlugin(BBCodePlugin plugin) Registers a new BBCode plugin.voidSaves a list of BBCodes.
-
Method Details
-
registerBBCodePlugin
Registers a new BBCode plugin.- Parameters:
plugin- The plugin to be registered.- Throws:
Exception- eXo level API
- Platform
-
save
Saves a list of BBCodes.- Parameters:
bbcodes- BBCodes to be saved.- Throws:
Exception- eXo level API
- Platform
-
getAll
Retrieves all BBCodes.- Returns:
- BBCodes.
- Throws:
Exception- eXo level API
- Platform
-
getActive
Retrieves BBCode Ids that are active.- Returns:
- BBCode Ids.
- Throws:
Exception- eXo level API
- Platform
-
getBBCodeActive
Gets all active BBCodes.- Returns:
- BBCodes.
- Throws:
Exception
-
findById
Loads a BBCode by its given Id.- Parameters:
bbcodeId- Id of the loaded BBCode.- Returns:
- The BBCode.
- Throws:
Exception- eXo level API
- Platform
-
delete
Deletes an existing BBCode.- Parameters:
bbcodeId- Id of the deleted BBCode.- Throws:
Exception- eXo level API
- Platform
-