|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.spaces.api.AbstractGadget
org.nuxeo.ecm.spaces.impl.docwrapper.DocGadgetImpl
public class DocGadgetImpl
Field Summary | |
---|---|
static String |
TYPE
|
Constructor Summary | |
---|---|
DocGadgetImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
|
Method Summary | |
---|---|
void |
copyFrom(Gadget gadget)
|
URL |
getDefinitionUrl()
|
String |
getDescription()
description |
org.nuxeo.ecm.core.api.DocumentModel |
getDocument()
|
int |
getHeight()
|
String |
getId()
Unique identifier of a gadget |
String |
getName()
name |
String |
getOwner()
creator name |
Space |
getParent()
|
int |
getPosition()
Relative position in the parent container at the place id "getPlaceID()" |
Map<String,String> |
getPreferences()
preferences values |
String |
getTitle()
title |
String |
getViewer()
|
boolean |
hasPermission(String permissioName)
|
boolean |
isCollapsed()
Determines if the display state of the gadget |
boolean |
isEqualTo(Gadget gadget)
|
void |
save()
|
void |
setCollapsed(boolean collapsed)
|
void |
setDefinitionUrl(URL url)
|
void |
setDescription(String description)
|
void |
setHeight(int height)
|
void |
setName(String name)
|
void |
setPosition(int position)
|
void |
setPreferences(Map<String,String> prefs)
|
void |
setTitle(String title)
|
Methods inherited from class org.nuxeo.ecm.spaces.api.AbstractGadget |
---|
getPref |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String TYPE
Constructor Detail |
---|
public DocGadgetImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
Method Detail |
---|
public org.nuxeo.ecm.core.api.DocumentModel getDocument()
public URL getDefinitionUrl() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String getDescription() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public String getId()
Gadget
public String getName() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public String getOwner() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public Space getParent() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public int getPosition() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public Map<String,String> getPreferences() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public String getTitle() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public boolean isCollapsed() throws org.nuxeo.ecm.core.api.ClientException
Gadget
org.nuxeo.ecm.core.api.ClientException
public boolean isEqualTo(Gadget gadget)
public void setCollapsed(boolean collapsed) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setDefinitionUrl(URL url) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setDescription(String description) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setName(String name) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setPosition(int position) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setPreferences(Map<String,String> prefs) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setTitle(String title) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public int getHeight() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void setHeight(int height) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void copyFrom(Gadget gadget) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public String getViewer() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public boolean hasPermission(String permissioName) throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
public void save() throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |