@StableMinor(version="12.0", sinceVersion="4.0") public class PageLinkConfig extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
PAGE_LINK_TYPE_ADMINISTRATION |
static int |
PAGE_LINK_TYPE_ERROR_PAGE |
static int |
PAGE_LINK_TYPE_HOME_PAGE |
static int |
PAGE_LINK_TYPE_LOGIN |
Constructor and Description |
---|
PageLinkConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addWebsiteBaseURL(IWebsiteBaseURL websiteBaseURL)
Adds an identifier of a
website base URL . |
protected PageLinkConfig |
clone() |
String |
getCapabilities()
Returns the capabilities.
|
String |
getChannelId()
The channel id for a page link applies only to the type 0.
|
String |
getId() |
String |
getName()
Returns the name.
|
String |
getPageId() |
int |
getPriority()
Returns the priority of the page link.
|
int |
getType() |
String |
getWebsite()
Deprecated.
Since 6.2.0 replaced by
getWebsiteObject() . |
Collection<String> |
getWebsiteBaseURLs()
Returns an
unmodifiable collection of website base URLs
associated with this page link. |
IWebsite |
getWebsiteObject()
Returns the website object that contains all informations about the
website and URLs.
|
boolean |
isUsesAllWebsiteBaseURLs()
Indicates whether all website base URLs will be used or not.
|
void |
setCapabilities(String capabilities)
Sets the capabilities.
|
void |
setChannelId(String channelId)
Sets the channel for the page link.
|
void |
setId(String id) |
void |
setName(String name)
Sets the name
|
void |
setPageId(String pageId) |
void |
setPriority(int priority)
Sets the priority.
|
void |
setType(int type) |
protected void |
setUsesAllWebsiteBaseURLs(boolean usesAllWebsiteBaseURLs)
Sets the usesAllWebsiteBaseURLs.
|
void |
setWebsite(IWebsite website)
Sets the websiteData.
|
void |
setWebsite(String websiteStr)
Deprecated.
Since 6.2.0 replaced by
#setWebsiteObject(IWebsite) |
public static final int PAGE_LINK_TYPE_LOGIN
public static final int PAGE_LINK_TYPE_HOME_PAGE
public static final int PAGE_LINK_TYPE_ADMINISTRATION
public static final int PAGE_LINK_TYPE_ERROR_PAGE
public String getId()
public void setId(String id)
id
- The id to set.public String getPageId()
public void setPageId(String pageId)
pageId
- The pageId to set.public int getType()
public void setType(int type)
type
- The type to set.@Deprecated public String getWebsite()
getWebsiteObject()
.getWebsiteObject()
.
Invoking this method is the same as
getWebsiteObject()
.getMainNonSecureBaseURL()
.toString()
.
@Deprecated public void setWebsite(String websiteStr)
#setWebsiteObject(IWebsite)
IllegalArgumentException
will be raised.websiteStr
- The website main URL of the website target, that will be used
on the page link.public String getChannelId()
public void setChannelId(String channelId)
channelId
- The channelId to set.public void setCapabilities(String capabilities)
capabilities
- the capabilities to store.IllegalArgumentException
- if the given capabilities is an invalid EL.public void setPriority(int priority)
priority
- the priority to store.public String getCapabilities()
public int getPriority()
public void setWebsite(IWebsite website)
website
- the website value to set.public IWebsite getWebsiteObject()
protected void setUsesAllWebsiteBaseURLs(boolean usesAllWebsiteBaseURLs)
When the parameter usesAllWebsiteBaseURLs
is set to true
,
automatically clears the list of URLs'
identifiers associated with this page link.
usesAllWebsiteBaseURLs
- the usesAllWebsiteBaseURLs value to set.public boolean isUsesAllWebsiteBaseURLs()
public void addWebsiteBaseURL(IWebsiteBaseURL websiteBaseURL)
website base URL
.
Automatically set all website
base URLs usage
to false
.
websiteBaseURL
- the website base URL.public Collection<String> getWebsiteBaseURLs()
unmodifiable collection
of website base URLs
associated with this page link.unmodifiable collection
of website base
URLs
associated with this page link.public void setName(String name)
name
- the name.public String getName()
protected PageLinkConfig clone()
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.