|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.forum.bbcode.core.MemoryBBCodeService
public class MemoryBBCodeService
APIs to manage initialization data for BBCode operations.
| Constructor Summary | |
|---|---|
MemoryBBCodeService()
|
|
| Method Summary | |
|---|---|
void |
addBBCode(BBCode code)
Adds BBCode. |
void |
delete(String bbcodeId)
Deletes BBCode by its id. |
BBCode |
findById(String bbcodeId)
Finds BBCode by its id. |
List<String> |
getActive()
Gets active BBCode. |
List<BBCode> |
getAll()
Gets all BBCode. |
void |
registerBBCodePlugin(BBCodePlugin plugin)
Registers a new BBCode plugin. |
void |
save(List<BBCode> bbcodes)
Saves a list of BBCodes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryBBCodeService()
| Method Detail |
|---|
public void delete(String bbcodeId)
throws Exception
delete in interface BBCodeServicebbcodeId - id of target BBCode
Exception
public BBCode findById(String bbcodeId)
throws Exception
findById in interface BBCodeServicebbcodeId - id of target BBCode
Exception
public List<String> getActive()
throws Exception
getActive in interface BBCodeServiceException
public List<BBCode> getAll()
throws Exception
getAll in interface BBCodeServiceException
public void registerBBCodePlugin(BBCodePlugin plugin)
throws Exception
BBCodeService
registerBBCodePlugin in interface BBCodeServiceException
public void save(List<BBCode> bbcodes)
throws Exception
save in interface BBCodeServicebbcodes - List of BBCodes to save
Exceptionpublic void addBBCode(BBCode code)
code -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||