com.arsdigita.acs
Class SiteNode
java.lang.Object
|
+--com.arsdigita.acs.SiteNode
- public class SiteNode
- extends java.lang.Object
|
Field Summary |
static java.lang.String |
cvsId
|
|
Constructor Summary |
SiteNode(java.sql.ResultSet rs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cvsId
public static final java.lang.String cvsId
SiteNode
public SiteNode(java.sql.ResultSet rs)
throws java.sql.SQLException
getUrl
public java.lang.String getUrl(javax.servlet.http.HttpServletRequest req)
- Parameters:
req - Servlet request. This is needed to get the context path, in case
the servlet is not mounted at /.- Returns:
- the URL of the site node; NOT the URL requested by the
user!
getUrl
public java.lang.String getUrl(java.lang.String contextPath)
- Parameters:
ContextPath - In case the servlet is not mounted at /.- Returns:
- the URL of the site node; NOT the URL requested by the
user!
getUrlNoContext
public java.lang.String getUrlNoContext()
- Returns:
- the URL of the site node; NOT the URL requested by the
user!
getNodeId
public java.math.BigDecimal getNodeId()
isDirectory
public boolean isDirectory()
isPattern
public boolean isPattern()
getObjectId
public java.math.BigDecimal getObjectId()
getObjectType
public java.lang.String getObjectType()
getPackage
public ACSPackage getPackage()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object