org.exoplatform.content.service
Class BaseContentService
java.lang.Object
org.exoplatform.content.service.BaseContentService
- Direct Known Subclasses:
- ContentDAOImpl
public abstract class BaseContentService
- extends java.lang.Object
Created by The eXo Platform SARL
Author : Nhu Dinh Thuan
nhudinhthuan@exoplatform.com
Mar 6, 2007
|
Field Summary |
protected org.exoplatform.services.cache.ExoCache |
contentCache_
|
|
Constructor Summary |
BaseContentService(org.exoplatform.services.cache.CacheService cservice)
|
|
Method Summary |
void |
addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
|
java.lang.Object |
fromXML(java.lang.String xml,
java.lang.Class<?> type)
|
<T extends ContentItem>
org.exoplatform.commons.utils.PageList |
|
getContentData(ContentNode node)
|
java.util.List<java.lang.String> |
getTypes()
|
void |
initListener(org.exoplatform.container.component.ComponentPlugin listener)
|
void |
removeCache(java.lang.String id)
|
java.lang.String |
toXML(java.lang.Object object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentCache_
protected org.exoplatform.services.cache.ExoCache contentCache_
BaseContentService
public BaseContentService(org.exoplatform.services.cache.CacheService cservice)
throws java.lang.Exception
- Throws:
java.lang.Exception
initListener
public void initListener(org.exoplatform.container.component.ComponentPlugin listener)
addPlugin
public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
getTypes
public java.util.List<java.lang.String> getTypes()
getContentData
public <T extends ContentItem> org.exoplatform.commons.utils.PageList getContentData(ContentNode node)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeCache
public void removeCache(java.lang.String id)
throws java.lang.Exception
- Throws:
java.lang.Exception
toXML
public java.lang.String toXML(java.lang.Object object)
throws java.lang.Exception
- Throws:
java.lang.Exception
fromXML
public java.lang.Object fromXML(java.lang.String xml,
java.lang.Class<?> type)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 eXo Platform SAS. All Rights Reserved.