Nuxeo Enterprise Platform 5.4

org.nuxeo.opensocial.container.server.webcontent.abs
Class AbstractWebContentDAO<T extends WebContentData>

java.lang.Object
  extended by org.nuxeo.opensocial.container.server.webcontent.abs.AbstractWebContentDAO<T>
All Implemented Interfaces:
WebContentDAO<T>
Direct Known Subclasses:
HTMLDAO, OpenSocialDAO, PictureDAO

public abstract class AbstractWebContentDAO<T extends WebContentData>
extends Object
implements WebContentDAO<T>

Author:
Stéphane Fourrier

Constructor Summary
AbstractWebContentDAO()
           
 
Method Summary
 T create(T data, String parentId, org.nuxeo.ecm.core.api.CoreSession session)
           
 void delete(T webContent, org.nuxeo.ecm.core.api.CoreSession session)
           
 T read(org.nuxeo.ecm.core.api.DocumentModel doc, org.nuxeo.ecm.core.api.CoreSession session)
           
 T update(T webContent, org.nuxeo.ecm.core.api.CoreSession session)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWebContentDAO

public AbstractWebContentDAO()
Method Detail

create

public T create(T data,
                String parentId,
                org.nuxeo.ecm.core.api.CoreSession session)
                                throws Exception
Specified by:
create in interface WebContentDAO<T extends WebContentData>
Throws:
Exception

read

public T read(org.nuxeo.ecm.core.api.DocumentModel doc,
              org.nuxeo.ecm.core.api.CoreSession session)
                              throws org.nuxeo.ecm.core.api.ClientException
Specified by:
read in interface WebContentDAO<T extends WebContentData>
Throws:
org.nuxeo.ecm.core.api.ClientException

update

public T update(T webContent,
                org.nuxeo.ecm.core.api.CoreSession session)
                                throws org.nuxeo.ecm.core.api.ClientException
Specified by:
update in interface WebContentDAO<T extends WebContentData>
Throws:
org.nuxeo.ecm.core.api.ClientException

delete

public void delete(T webContent,
                   org.nuxeo.ecm.core.api.CoreSession session)
            throws org.nuxeo.ecm.core.api.ClientException
Specified by:
delete in interface WebContentDAO<T extends WebContentData>
Throws:
org.nuxeo.ecm.core.api.ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.