Author: weaver
Date: Tue Dec 6 13:12:24 2005
New Revision: 354558
URL: http://svn.apache.org/viewcvs?rev=354558&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-398
Modified:
portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
Modified:
portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
URL:
http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java?rev=354558&r1=354557&r2=354558&view=diff
==============================================================================
---
portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
(original)
+++
portals/jetspeed-2/trunk/components/page-manager/src/java/org/apache/jetspeed/om/page/ContentFragmentImpl.java
Tue Dec 6 13:12:24 2005
@@ -11,6 +11,7 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.jetspeed.aggregator.PortletContent;
+import org.apache.jetspeed.decoration.Decoration;
import org.apache.jetspeed.om.common.SecurityConstraint;
import org.apache.jetspeed.om.common.SecurityConstraints;
@@ -24,6 +25,7 @@
private List contentFragments;
private static final Log log =
LogFactory.getLog(ContentFragmentImpl.class);
private final Map cachedFragments;
+ private Decoration decoration;
public ContentFragmentImpl(Fragment fragment, Map cachedFagments)
@@ -407,6 +409,7 @@
fragment.setSecurityConstraints(constraints);
}
+
/**
* Checks the ContentFragment cache for a ContentFragment
* that matches the <code>Id</code> of this fragment. If
@@ -681,6 +684,11 @@
{
return fragment.getPreferences();
}
+
+ public Decoration getDecoration()
+ {
+ return decoration;
+ }
/* (non-Javadoc)
* @see org.apache.jetspeed.om.page.Fragment#setPreferences(java.util.List)
@@ -689,4 +697,12 @@
{
fragment.setPreferences(preferences);
}
+
+
+ public void setDecoration(Decoration decoration)
+ {
+ this.decoration = decoration;
+
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]