Nuxeo Enterprise Platform 5.4

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

java.lang.Object
  extended by 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

Constructor Summary
AbstractWebContentAdapter(org.nuxeo.ecm.core.api.DocumentModel doc)
           
 
Method Summary
 long getPosition()
           
 String getTitle()
           
 boolean isCollapsed()
           
 boolean isInAPortlet()
           
 void setCollapsed(boolean isCollapsed)
           
 void setInAPortlet(boolean isInAPortlet)
           
 void setPosition(long position)
           
 void setTitle(String title)
           
 void update()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.opensocial.container.server.webcontent.api.WebContentAdapter
feedFrom, getData
 

Constructor Detail

AbstractWebContentAdapter

public AbstractWebContentAdapter(org.nuxeo.ecm.core.api.DocumentModel doc)
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.