org.exoplatform.content.service
Interface ContentDAO

All Known Implementing Classes:
ContentDAOImpl

public interface ContentDAO

Created by The eXo Platform SARL . Author : Tuan Nguyen tuan08@users.sourceforge.net Date: Jun 14, 2003 Time: 1:12:22 PM


Method Summary
 void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
           
 void create(ContentNavigation navigation)
           
 java.lang.Object fromXML(java.lang.String xml, java.lang.Class<?> type)
           
 ContentNavigation get(java.lang.String owner)
           
<T extends ContentItem>
org.exoplatform.commons.utils.PageList
getContentData(ContentNode node)
           
 ContentData getData(java.lang.String id)
           
 java.util.List<java.lang.String> getTypes()
           
 void initListener(org.exoplatform.container.component.ComponentPlugin listener)
           
 void remove(java.lang.String owner)
           
 void removeCache(java.lang.String id)
           
 void removeData(java.lang.String id)
           
 void removeData(java.lang.String owner, java.lang.String type)
           
 void save(ContentNavigation navigation)
           
 java.lang.String toXML(java.lang.Object object)
           
 

Method Detail

create

void create(ContentNavigation navigation)
            throws java.lang.Exception
Throws:
java.lang.Exception

save

void save(ContentNavigation navigation)
          throws java.lang.Exception
Throws:
java.lang.Exception

remove

void remove(java.lang.String owner)
            throws java.lang.Exception
Throws:
java.lang.Exception

get

ContentNavigation get(java.lang.String owner)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getData

ContentData getData(java.lang.String id)
                    throws java.lang.Exception
Throws:
java.lang.Exception

removeCache

void removeCache(java.lang.String id)
                 throws java.lang.Exception
Throws:
java.lang.Exception

removeData

void removeData(java.lang.String id)
                throws java.lang.Exception
Throws:
java.lang.Exception

removeData

void removeData(java.lang.String owner,
                java.lang.String type)
                throws java.lang.Exception
Throws:
java.lang.Exception

initListener

void initListener(org.exoplatform.container.component.ComponentPlugin listener)

addPlugin

void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)

getTypes

java.util.List<java.lang.String> getTypes()

getContentData

<T extends ContentItem> org.exoplatform.commons.utils.PageList getContentData(ContentNode node)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

toXML

java.lang.String toXML(java.lang.Object object)
                       throws java.lang.Exception
Throws:
java.lang.Exception

fromXML

java.lang.Object fromXML(java.lang.String xml,
                         java.lang.Class<?> type)
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 eXo Platform SAS. All Rights Reserved.