@Deprecated public class Link extends java.lang.Object implements java.io.Serializable, DeepCloneable
url
field should be populated; if a link
is intended to access a suite first-class object, then the
linkTarget
field should be populatedModifier and Type | Field and Description |
---|---|
static java.lang.Long |
LINK_TYPE_ID_COMM
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_DOCUMENT
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_EMAIL
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_EXTPAGE
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_EXTPAGESECURE
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_FOLDER
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_FORUM
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_KC
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_PAGE
Deprecated.
|
static java.lang.Long |
LINK_TYPE_ID_THREAD
Deprecated.
|
protected static Logger |
LOG
Deprecated.
|
Constructor and Description |
---|
Link()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj_)
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
Get the link description.
|
java.lang.Long |
getId()
Deprecated.
Get the link id.
|
LocalObject |
getLinkTarget()
Deprecated.
Get the link's target
LocalObject . |
LinkType |
getLinkType()
Deprecated.
Get the link's link type.
|
java.lang.Long |
getLinkTypeId()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
Get the name of the link.
|
java.lang.String |
getUrl()
Deprecated.
Get the link's url.
|
int |
hashCode()
Deprecated.
|
boolean |
isNewWindow()
Deprecated.
Determine whether the link should open in a new window.
|
void |
setDescription(java.lang.String description_)
Deprecated.
Set the link description.
|
void |
setId(java.lang.Long id_)
Deprecated.
Set the link id.
|
void |
setLinkTarget(LocalObject linkTarget_)
Deprecated.
Set the link's target
LocalObject . |
void |
setLinkType(LinkType linkType_)
Deprecated.
Set the link's link type.
|
void |
setLinkTypeId(java.lang.Long linkTypeId_)
Deprecated.
|
void |
setName(java.lang.String name_)
Deprecated.
Set the name of the link.
|
void |
setNewWindow(boolean newWindow_)
Deprecated.
Set whether the link should open in a new window.
|
void |
setUrl(java.lang.String url_)
Deprecated.
Set the link's url.
|
java.lang.String |
toString()
Deprecated.
|
protected static final Logger LOG
public static final java.lang.Long LINK_TYPE_ID_EXTPAGE
public static final java.lang.Long LINK_TYPE_ID_EMAIL
public static final java.lang.Long LINK_TYPE_ID_PAGE
public static final java.lang.Long LINK_TYPE_ID_DOCUMENT
public static final java.lang.Long LINK_TYPE_ID_FOLDER
public static final java.lang.Long LINK_TYPE_ID_KC
public static final java.lang.Long LINK_TYPE_ID_COMM
public static final java.lang.Long LINK_TYPE_ID_THREAD
public static final java.lang.Long LINK_TYPE_ID_FORUM
public static final java.lang.Long LINK_TYPE_ID_EXTPAGESECURE
public java.lang.Object clone()
clone
in interface DeepCloneable
clone
in class java.lang.Object
public java.lang.String getDescription()
public void setDescription(java.lang.String description_)
description_
- The description.public java.lang.Long getId()
public void setId(java.lang.Long id_)
id_
- The link id.public LocalObject getLinkTarget()
LocalObject
. If the link is a link
to a first-class object in the suite, then this field is used instead
of url
.public void setLinkTarget(LocalObject linkTarget_)
LocalObject
. If the link is a link
to a first-class object in the suite, then this field is used instead
of url
.linkTarget_
- The link target.public LinkType getLinkType()
public void setLinkType(LinkType linkType_)
linkType_
- The link typepublic java.lang.String getName()
public void setName(java.lang.String name_)
name_
- The name.public boolean isNewWindow()
true
if the link will open in a new window;
false
if not.public void setNewWindow(boolean newWindow_)
newWindow_
- Set to true
to have the link open in a new window; false
to not.public java.lang.String getUrl()
url
and
linkTarget
will be used.public void setUrl(java.lang.String url_)
url
and
linkTarget
will be used.url_
- The url.public java.lang.Long getLinkTypeId()
public void setLinkTypeId(java.lang.Long linkTypeId_)
linkTypeId_
- The linkTypeId to set.public boolean equals(java.lang.Object obj_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.