public interface Gadget
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(Gadget gadget) |
URL |
getDefinitionUrl() |
String |
getDescription()
description
|
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()"
|
String |
getPref(String prefKey) |
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) |
String getId()
String getName() throws ClientException
ClientException
void setName(String name) throws ClientException
ClientException
URL getDefinitionUrl() throws ClientException
ClientException
void setDefinitionUrl(URL url) throws ClientException
ClientException
String getDescription() throws ClientException
ClientException
void setDescription(String description) throws ClientException
ClientException
String getTitle() throws ClientException
ClientException
void setTitle(String title) throws ClientException
ClientException
String getOwner() throws ClientException
ClientException
String getViewer() throws ClientException
ClientException
Map<String,String> getPreferences() throws ClientException
ClientException
void setPreferences(Map<String,String> prefs) throws ClientException
ClientException
String getPref(String prefKey) throws ClientException
ClientException
int getPosition() throws ClientException
ClientException
void setPosition(int position) throws ClientException
ClientException
boolean isCollapsed() throws ClientException
ClientException
void setCollapsed(boolean collapsed) throws ClientException
ClientException
boolean isEqualTo(Gadget gadget) throws ClientException
ClientException
Space getParent() throws ClientException
ClientException
int getHeight() throws ClientException
ClientException
void setHeight(int height) throws ClientException
ClientException
void copyFrom(Gadget gadget) throws ClientException
ClientException
boolean hasPermission(String permissioName) throws ClientException
ClientException
void save() throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.