public abstract class AbstractWebContentDAO<T extends WebContentData> extends Object implements WebContentDAO<T>
| Constructor and Description |
|---|
AbstractWebContentDAO() |
| Modifier and Type | Method and Description |
|---|---|
T |
create(T data,
String parentId,
CoreSession session) |
void |
delete(T webContent,
CoreSession session) |
T |
read(DocumentModel doc,
CoreSession session) |
T |
update(T webContent,
CoreSession session) |
public T create(T data, String parentId, CoreSession session) throws Exception
create in interface WebContentDAO<T extends WebContentData>Exceptionpublic T read(DocumentModel doc, CoreSession session) throws ClientException
read in interface WebContentDAO<T extends WebContentData>ClientExceptionpublic T update(T webContent, CoreSession session) throws ClientException
update in interface WebContentDAO<T extends WebContentData>ClientExceptionpublic void delete(T webContent, CoreSession session) throws ClientException
delete in interface WebContentDAO<T extends WebContentData>ClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.