org.nuxeo.opensocial.container.server.webcontent.abs
Class AbstractWebContentAdapter<T extends WebContentData>
java.lang.Object
org.nuxeo.opensocial.container.server.webcontent.abs.AbstractWebContentAdapter<T>
- All Implemented Interfaces:
- WebContentAdapter<T>
- Direct Known Subclasses:
- HTMLAdapter, OpenSocialAdapter, PictureAdapter
public abstract class AbstractWebContentAdapter<T extends WebContentData>
- extends Object
- implements WebContentAdapter<T>
- Author:
- Stéphane Fourrier
AbstractWebContentAdapter
public AbstractWebContentAdapter(org.nuxeo.ecm.core.api.DocumentModel doc)
setPosition
public void setPosition(long position)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setPosition
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
getPosition
public long getPosition()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getPosition
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
getTitle
public String getTitle()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
getTitle
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
setTitle
public void setTitle(String title)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setTitle
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
isInAPortlet
public boolean isInAPortlet()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
isInAPortlet
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
setInAPortlet
public void setInAPortlet(boolean isInAPortlet)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setInAPortlet
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
isCollapsed
public boolean isCollapsed()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
isCollapsed
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
setCollapsed
public void setCollapsed(boolean isCollapsed)
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
setCollapsed
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
update
public void update()
throws org.nuxeo.ecm.core.api.ClientException
- Specified by:
update
in interface WebContentAdapter<T extends WebContentData>
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.