|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.page.link.PageLinkConfig
@StableMinor(version="6.2", sinceVersion="4.0") public class PageLinkConfig
Field Summary | |
---|---|
static int |
PAGE_LINK_TYPE_ADMINISTRATION
|
static int |
PAGE_LINK_TYPE_HOME_PAGE
|
static int |
PAGE_LINK_TYPE_LOGIN
|
Constructor Summary | |
---|---|
PageLinkConfig()
|
Method Summary | |
---|---|
void |
addWebsiteBaseURL(IWebsiteBaseURL websiteBaseURL)
Adds an identifier of a website base URL . |
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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PageLinkConfig()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |