public abstract class AbstractWebContentAdapter<T extends WebContentData> extends Object implements WebContentAdapter<T>
Constructor and Description |
---|
AbstractWebContentAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
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() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
feedFrom, getData
public AbstractWebContentAdapter(DocumentModel doc)
public void setPosition(long position) throws ClientException
setPosition
in interface WebContentAdapter<T extends WebContentData>
ClientException
public long getPosition() throws ClientException
getPosition
in interface WebContentAdapter<T extends WebContentData>
ClientException
public String getTitle() throws ClientException
getTitle
in interface WebContentAdapter<T extends WebContentData>
ClientException
public void setTitle(String title) throws ClientException
setTitle
in interface WebContentAdapter<T extends WebContentData>
ClientException
public boolean isInAPortlet() throws ClientException
isInAPortlet
in interface WebContentAdapter<T extends WebContentData>
ClientException
public void setInAPortlet(boolean isInAPortlet) throws ClientException
setInAPortlet
in interface WebContentAdapter<T extends WebContentData>
ClientException
public boolean isCollapsed() throws ClientException
isCollapsed
in interface WebContentAdapter<T extends WebContentData>
ClientException
public void setCollapsed(boolean isCollapsed) throws ClientException
setCollapsed
in interface WebContentAdapter<T extends WebContentData>
ClientException
public void update() throws ClientException
update
in interface WebContentAdapter<T extends WebContentData>
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.