Author: chris.laprun(a)jboss.com
Date: 2011-07-28 16:25:21 -0400 (Thu, 28 Jul 2011)
New Revision: 6947
Modified:
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/portal/SiteImpl.java
Log:
- Added toString implementation.
Modified:
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/portal/SiteImpl.java
===================================================================
---
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/portal/SiteImpl.java 2011-07-28
20:18:01 UTC (rev 6946)
+++
portal/branches/api/component/api-impl/src/main/java/org/gatein/portal/api/impl/portal/SiteImpl.java 2011-07-28
20:25:21 UTC (rev 6947)
@@ -44,6 +44,12 @@
super(siteId, name, gateIn);
}
+ @Override
+ public String toString()
+ {
+ return getType().getName() + "\n" + getNavigation().toString();
+ }
+
public HierarchicalContainer<String, Page> getPageRegistry()
{
return null; //To change body of implemented methods use File | Settings | File
Templates.