|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opencms.site.CmsSite
Describes a configured site in OpenCms.
| Constructor Summary | |
CmsSite(String siteRoot,
CmsSiteMatcher siteMatcher)
Constructs a new site object without title and id information, this is to be used for lookup purposes only. |
|
CmsSite(String siteRoot,
CmsUUID siteRootUUID,
String title)
Constructs a new site object with a default (wildcard) a site matcher, this is to be used for display purposes only. |
|
CmsSite(String siteRoot,
CmsUUID siteRootUUID,
String title,
CmsSiteMatcher siteMatcher)
Constructs a new site object. |
|
| Method Summary | |
protected void |
addAlias(CmsSiteMatcher aliasServer)
Adds an alias for the site. |
Object |
clone()
Returns a clone of this Objects instance. |
boolean |
equals(Object obj)
|
List |
getAliases()
Returns the aliases for this site. |
String |
getSecureUrl()
Returns the secure server url of this site root. |
CmsSiteMatcher |
getSiteMatcher()
Returns the site matcher that describes the URL of this site. |
String |
getSiteRoot()
Returns the server URL prefix to which this site is mapped. |
CmsUUID |
getSiteRootUUID()
Returns the UUID of this site's root directory in the OpenCms VFS. |
String |
getTitle()
Returns the root directory of this site in the OpenCms VFS. |
String |
getUrl()
Returns the server url of this site root. |
int |
hashCode()
|
boolean |
hasSecureServer()
Returns true, if the site has a secure server. |
protected void |
setAliases(List aliases)
Sets the aliases for the site. |
protected void |
setSecureServer(CmsSiteMatcher secureServer)
Sets the secure server. |
protected void |
setSiteMatcher(CmsSiteMatcher siteMatcher)
Sets the site matcher that describes the URL of this site. |
protected void |
setSiteRoot(String siteRoot)
Sets the server URL prefix to which this site is mapped. |
protected void |
setSiteRootUUID(CmsUUID siteRootUUID)
Sets the UUID of this site's root directory in the OpenCms VFS. |
protected void |
setTitle(String name)
Sets the display title of this site in the OpenCms VFS. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CmsSite(String siteRoot,
CmsSiteMatcher siteMatcher)
siteRoot - root directory of this site in the OpenCms VFSsiteMatcher - the site matcher for this site
public CmsSite(String siteRoot,
CmsUUID siteRootUUID,
String title)
siteRoot - root directory of this site in the OpenCms VFSsiteRootUUID - UUID of this site's root directory in the OpenCms VFStitle - display name of this site
public CmsSite(String siteRoot,
CmsUUID siteRootUUID,
String title,
CmsSiteMatcher siteMatcher)
siteRoot - root directory of this site in the OpenCms VFSsiteRootUUID - UUID of this site's root directory in the OpenCms VFStitle - display name of this sitesiteMatcher - the site matcher for this site| Method Detail |
public Object clone()
public boolean equals(Object obj)
Object.equals(java.lang.Object)public List getAliases()
public String getSecureUrl()
public CmsSiteMatcher getSiteMatcher()
public String getSiteRoot()
public CmsUUID getSiteRootUUID()
public String getTitle()
public String getUrl()
public int hashCode()
Object.hashCode()public boolean hasSecureServer()
public String toString()
Object.toString()protected void addAlias(CmsSiteMatcher aliasServer)
aliasServer - the sitematcher for the aliasprotected void setAliases(List aliases)
aliases - the aliases for the siteprotected void setSecureServer(CmsSiteMatcher secureServer)
secureServer - the sitematcher of the secure serverprotected void setSiteMatcher(CmsSiteMatcher siteMatcher)
siteMatcher - the site matcher that describes the URL of this siteprotected void setSiteRoot(String siteRoot)
siteRoot - the server URL prefix to which this site is mappedprotected void setSiteRootUUID(CmsUUID siteRootUUID)
siteRootUUID - the UUID of this site's root directory in the OpenCms VFSprotected void setTitle(String name)
name - the display title of this site in the OpenCms VFS
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||