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>
Exception
public T read(DocumentModel doc, CoreSession session) throws ClientException
read
in interface WebContentDAO<T extends WebContentData>
ClientException
public T update(T webContent, CoreSession session) throws ClientException
update
in interface WebContentDAO<T extends WebContentData>
ClientException
public void delete(T webContent, CoreSession session) throws ClientException
delete
in interface WebContentDAO<T extends WebContentData>
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.