|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.forum.bbcode.core.cache.CachedBBCodeService
public class CachedBBCodeService
| Constructor Summary | |
|---|---|
CachedBBCodeService(org.exoplatform.services.cache.CacheService service,
BBCodeServiceImpl bbCodeService)
|
|
| Method Summary | |
|---|---|
void |
delete(String bbcodeId)
Deletes an existing BBCode. |
BBCode |
findById(String bbcodeId)
Loads a specific BBCode. |
List<String> |
getActive()
Retrieves BBCode IDs that are active. |
List<BBCode> |
getAll()
Retrieves all BBCodes. |
List<BBCode> |
getBBCodeActive()
|
void |
registerBBCodePlugin(BBCodePlugin plugin)
Registers a new BBCode plugin. |
void |
save(List<BBCode> bbcodes)
Saves a list of BBCodes. |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CachedBBCodeService(org.exoplatform.services.cache.CacheService service,
BBCodeServiceImpl bbCodeService)
| Method Detail |
|---|
public void registerBBCodePlugin(BBCodePlugin plugin)
throws Exception
BBCodeService
registerBBCodePlugin in interface BBCodeServiceException
public void save(List<BBCode> bbcodes)
throws Exception
BBCodeService
save in interface BBCodeServicebbcodes - List of BBCodes to save
Exception
public List<BBCode> getAll()
throws Exception
BBCodeService
getAll in interface BBCodeServiceException
public List<String> getActive()
throws Exception
BBCodeService
getActive in interface BBCodeServiceException
public List<BBCode> getBBCodeActive()
throws Exception
getBBCodeActive in interface BBCodeServiceException
public BBCode findById(String bbcodeId)
throws Exception
BBCodeService
findById in interface BBCodeServicebbcodeId - ID of the BBCode
Exception
public void delete(String bbcodeId)
throws Exception
BBCodeService
delete in interface BBCodeServicebbcodeId - the id of BBCode to be deleted
Exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||