|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.mylinks.web.MyLinkEntity
public class MyLinkEntity
The mylink entity is a mylink object that is exposed in the web as an entity (web entity). As such, it publishes only some of its attributes. It represents a user favorite link in Silverpeas
Constructor Summary | |
---|---|
protected |
MyLinkEntity()
Default constructor |
|
MyLinkEntity(LinkDetail link,
URI uri)
Constructor using linkDetail and uri |
Method Summary | |
---|---|
static MyLinkEntity |
fromLinkDetail(LinkDetail link,
URI uri)
|
String |
getDescription()
|
String |
getInstanceId()
|
int |
getLinkId()
|
String |
getName()
|
String |
getObjectId()
|
int |
getPosition()
|
URI |
getUri()
|
URI |
getURI()
Gets the URI at which this resource is published and can be accessed. |
String |
getUrl()
|
String |
getUserId()
|
boolean |
isPopup()
|
boolean |
isVisible()
|
String |
toJSon()
|
LinkDetail |
toLinkDetail()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MyLinkEntity()
public MyLinkEntity(LinkDetail link, URI uri)
link
- uri
- Method Detail |
---|
public static MyLinkEntity fromLinkDetail(LinkDetail link, URI uri)
public URI getURI()
Exposable
getURI
in interface Exposable
public String toJSon()
public LinkDetail toLinkDetail()
public URI getUri()
public int getLinkId()
public String getName()
public String getDescription()
public String getUrl()
public boolean isVisible()
public boolean isPopup()
public String getUserId()
public String getInstanceId()
public String getObjectId()
public int getPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |