public interface BBCodeService
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String bbcodeId)
Deletes an existing BBCode.
|
org.exoplatform.forum.bbcode.api.BBCode |
findById(String bbcodeId)
Loads a BBCode by its given Id.
|
List<String> |
getActive()
Retrieves BBCode Ids that are active.
|
List<org.exoplatform.forum.bbcode.api.BBCode> |
getAll()
Retrieves all BBCodes.
|
List<org.exoplatform.forum.bbcode.api.BBCode> |
getBBCodeActive()
Gets all active BBCodes.
|
void |
registerBBCodePlugin(org.exoplatform.forum.bbcode.spi.BBCodePlugin plugin)
Registers a new BBCode plugin.
|
void |
save(List<org.exoplatform.forum.bbcode.api.BBCode> bbcodes)
Saves a list of BBCodes.
|
void registerBBCodePlugin(org.exoplatform.forum.bbcode.spi.BBCodePlugin plugin)
throws Exception
plugin - The plugin to be registered.Exceptionvoid save(List<org.exoplatform.forum.bbcode.api.BBCode> bbcodes) throws Exception
bbcodes - BBCodes to be saved.ExceptionList<org.exoplatform.forum.bbcode.api.BBCode> getAll() throws Exception
ExceptionList<String> getActive() throws Exception
ExceptionList<org.exoplatform.forum.bbcode.api.BBCode> getBBCodeActive() throws Exception
Exceptionorg.exoplatform.forum.bbcode.api.BBCode findById(String bbcodeId) throws Exception
bbcodeId - Id of the loaded BBCode.ExceptionCopyright © 2003-2018 eXo Platform SAS. All Rights Reserved.