Class Link
java.lang.Object
com.appiancorp.suiteapi.portal.portlets.links.Link
- All Implemented Interfaces:
DeepCloneable
,Serializable
,Cloneable
- Direct Known Subclasses:
GroupMessageLink
,LeaderMessageLink
Deprecated.
The Portal functionality will be removed in a future release. Use the Tempo Interface for similar functionality.
This class represents a link which provides access either to
a first-class object within the application, or to a url
or address. If a link is intended to access a url or address,
then the
url
field should be populated; if a link
is intended to access a suite first-class object, then the
linkTarget
field should be populated- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.static final Long
Deprecated.protected static final org.apache.log4j.Logger
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Creates and returns a copy of this object.boolean
Deprecated.Deprecated.Get the link description.getId()
Deprecated.Get the link id.Deprecated.Get the link's targetLocalObject
.Deprecated.Get the link's link type.Deprecated.getName()
Deprecated.Get the name of the link.getUrl()
Deprecated.Get the link's url.int
hashCode()
Deprecated.boolean
Deprecated.Determine whether the link should open in a new window.void
setDescription
(String description_) Deprecated.Set the link description.void
Deprecated.Set the link id.void
setLinkTarget
(LocalObject linkTarget_) Deprecated.Set the link's targetLocalObject
.void
setLinkType
(LinkType linkType_) Deprecated.Set the link's link type.void
setLinkTypeId
(Long linkTypeId_) Deprecated.void
Deprecated.Set the name of the link.void
setNewWindow
(boolean newWindow_) Deprecated.Set whether the link should open in a new window.void
Deprecated.Set the link's url.toString()
Deprecated.
-
Field Details
-
LOG
protected static final org.apache.log4j.Logger LOGDeprecated. -
LINK_TYPE_ID_EXTPAGE
Deprecated. -
LINK_TYPE_ID_EMAIL
Deprecated. -
LINK_TYPE_ID_PAGE
Deprecated. -
LINK_TYPE_ID_DOCUMENT
Deprecated. -
LINK_TYPE_ID_FOLDER
Deprecated. -
LINK_TYPE_ID_KC
Deprecated. -
LINK_TYPE_ID_COMM
Deprecated. -
LINK_TYPE_ID_THREAD
Deprecated. -
LINK_TYPE_ID_FORUM
Deprecated. -
LINK_TYPE_ID_EXTPAGESECURE
Deprecated.
-
-
Constructor Details
-
Link
public Link()Deprecated.
-
-
Method Details
-
clone
Deprecated.Creates and returns a copy of this object.- Specified by:
clone
in interfaceDeepCloneable
- Overrides:
clone
in classObject
- Returns:
-
getDescription
Deprecated.Get the link description.- Returns:
- The description.
-
setDescription
Deprecated.Set the link description.- Parameters:
description_
- The description.
-
getId
Deprecated.Get the link id.- Returns:
- The link id.
-
setId
Deprecated.Set the link id.- Parameters:
id_
- The link id.
-
getLinkTarget
Deprecated.Get the link's targetLocalObject
. If the link is a link to a first-class object in the suite, then this field is used instead ofurl
. -
setLinkTarget
Deprecated.Set the link's targetLocalObject
. If the link is a link to a first-class object in the suite, then this field is used instead ofurl
.- Parameters:
linkTarget_
- The link target.
-
getLinkType
Deprecated.Get the link's link type.- Returns:
- The link type
-
setLinkType
Deprecated.Set the link's link type.- Parameters:
linkType_
- The link type
-
getName
Deprecated.Get the name of the link.- Returns:
- The name.
-
setName
Deprecated.Set the name of the link.- Parameters:
name_
- The name.
-
isNewWindow
public boolean isNewWindow()Deprecated.Determine whether the link should open in a new window.- Returns:
true
if the link will open in a new window;false
if not.
-
setNewWindow
public void setNewWindow(boolean newWindow_) Deprecated.Set whether the link should open in a new window.- Parameters:
newWindow_
- Set totrue
to have the link open in a new window;false
to not.
-
getUrl
Deprecated.Get the link's url. Only one of the propertiesurl
andlinkTarget
will be used.- Returns:
- The url.
-
setUrl
Deprecated.Set the link's url. Only one of the propertiesurl
andlinkTarget
will be used.- Parameters:
url_
- The url.
-
getLinkTypeId
Deprecated.- Returns:
- Returns the linkTypeId.
-
setLinkTypeId
Deprecated.- Parameters:
linkTypeId_
- The linkTypeId to set.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-