lumis.service.portalmanagement.website
Class WebsiteProcessActionHandler.BaseURL

Package class diagram package WebsiteProcessActionHandler.BaseURL
java.lang.Object
  extended by lumis.service.portalmanagement.website.WebsiteProcessActionHandler.BaseURL
All Implemented Interfaces:
IWebsiteBaseURL
Enclosing class:
WebsiteProcessActionHandler

public static class WebsiteProcessActionHandler.BaseURL
extends Object
implements IWebsiteBaseURL

Since:
7.0.0

Constructor Summary
WebsiteProcessActionHandler.BaseURL(String id, String domain, Integer port, String path)
           
 
Method Summary
 String getDomain()
          Returns the domain of this website base URL.
 String getId()
           
 String getPath()
          Returns the path part of this website base URL.
 int getPort()
          Returns the port of this website base URL.
 IWebsite getWebsite()
          Returns the website this base URL belongs to.
 boolean matches(HttpServletRequest request)
          Returns whether a HttpServletRequest destination matches this base URL.
 void setDomain(String domain)
           
 void setId(String id)
           
 void setPath(String path)
           
 void setPort(Integer port)
           
 String toString()
          Returns a string representation of this base URL.
 String toString(boolean includePort)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebsiteProcessActionHandler.BaseURL

public WebsiteProcessActionHandler.BaseURL(String id,
                                           String domain,
                                           Integer port,
                                           String path)
Method Detail

setId

public void setId(String id)

getId

public String getId()

setDomain

public void setDomain(String domain)

getDomain

public String getDomain()
Description copied from interface: IWebsiteBaseURL
Returns the domain of this website base URL.

Specified by:
getDomain in interface IWebsiteBaseURL
Returns:
the domain. Example: my.site.com

setPort

public void setPort(Integer port)

getPort

public int getPort()
Description copied from interface: IWebsiteBaseURL
Returns the port of this website base URL.

Specified by:
getPort in interface IWebsiteBaseURL
Returns:
the port of this website base URL.

setPath

public void setPath(String path)

getPath

public String getPath()
Description copied from interface: IWebsiteBaseURL
Returns the path part of this website base URL.

Specified by:
getPath in interface IWebsiteBaseURL
Returns:
the path path of this website base URL, or an empty string if it has no path. Never returns null.

toString

public String toString()
Description copied from interface: IWebsiteBaseURL
Returns a string representation of this base URL.

The purpose of the returned string is for simple display of this base URL and may not be compatible to any format.

Specified by:
toString in interface IWebsiteBaseURL
Overrides:
toString in class Object
Returns:
this base URL as a string.

toString

public String toString(boolean includePort)

getWebsite

public IWebsite getWebsite()
Description copied from interface: IWebsiteBaseURL
Returns the website this base URL belongs to.

Specified by:
getWebsite in interface IWebsiteBaseURL
Returns:
the website this base URL belongs to.

matches

public boolean matches(HttpServletRequest request)
Description copied from interface: IWebsiteBaseURL
Returns whether a HttpServletRequest destination matches this base URL.

The request is considered as matching this base URL if its destination corresponds to any resource inside it.

Specified by:
matches in interface IWebsiteBaseURL
Parameters:
request - the request.
Returns:
true if the request matches this base URL, false otherwise.


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.