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.Exception
void save(List<org.exoplatform.forum.bbcode.api.BBCode> bbcodes) throws Exception
bbcodes
- BBCodes to be saved.Exception
List<org.exoplatform.forum.bbcode.api.BBCode> getAll() throws Exception
Exception
List<String> getActive() throws Exception
Exception
List<org.exoplatform.forum.bbcode.api.BBCode> getBBCodeActive() throws Exception
Exception
org.exoplatform.forum.bbcode.api.BBCode findById(String bbcodeId) throws Exception
bbcodeId
- Id of the loaded BBCode.Exception
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.