|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWebsiteManagerSPI
Provides high-level operations on portal websites.
Method Summary | |
---|---|
IWebsite |
getDefaultWebsite()
Returns the website flagged as the default website. |
IWebsite |
getWebsiteByChannelId(String channelId)
Returns the website that the specific channel belongs to. |
void |
setDefaultWebsite(IWebsite website)
Sets which website is the default website. |
Methods inherited from interface lumis.portal.website.IWebsiteManager |
---|
getWebsiteBaseURL |
Method Detail |
---|
IWebsite getDefaultWebsite() throws PortalException
null
if there is no website
set as the default.
PortalException
IWebsite.isDefaultWebsite()
,
setDefaultWebsite(IWebsite)
void setDefaultWebsite(IWebsite website) throws PortalException
If there is any website currently flagged as the default website, it will no longer be the default website. The given website (if any) will be set as the default website.
website
- the website to be the default, or null
for no
website to be the default.
AccessDeniedException
- if the user does not have permission to
change the default website.
PortalException
IWebsite.isDefaultWebsite()
,
getDefaultWebsite()
IWebsite getWebsiteByChannelId(String channelId) throws PortalException
The specified channel and its ancestral are searched for the first channel that corresponds to a website root. The channel belongs to that website, and it is returned.
If neither the channel or its ancestral is a website root, then the
channel does not belong to any website, and null
is returned.
channelId
- the channel identifier.
null
if the
channel does not belong to any website.
PortalObjectNotFoundException
- if the channel does not exist.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |