Update of 
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets
In directory 
james.mmbase.org:/tmp/cvs-serv20865/cmsc/portlets/src/java/com/finalist/cmsc/portlets

Modified Files:
      Tag: b1_5
        ContentChannelPortlet.java 
Log Message:
CMSC-1189 - Add age constraint to contentchannel portlets - Removed old 
getContentElements method


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets
See also: http://www.mmbase.org/jira/browse/CMSC-1189


Index: ContentChannelPortlet.java
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/portlets/src/java/com/finalist/cmsc/portlets/ContentChannelPortlet.java,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -u -b -r1.13.2.2 -r1.13.2.3
--- ContentChannelPortlet.java  19 Dec 2008 14:05:04 -0000      1.13.2.2
+++ ContentChannelPortlet.java  22 Jan 2009 14:21:25 -0000      1.13.2.3
@@ -259,15 +259,6 @@
       return totalItems;
    }
 
-
-   protected List<ContentElement> getContentElements(RenderRequest req, 
List<String> contenttypes, String channel,
-         int offset, String orderby, String direction, String archive, int 
elementsPerPage, int year, int month,
-         int day, boolean useLifecycleBool) {
-      List<ContentElement> elements = 
ContentRepository.getContentElements(channel, contenttypes, orderby, direction,
-            useLifecycleBool, archive, offset, elementsPerPage, year, month, 
day);
-      return elements;
-   }
-   
    protected List<ContentElement> getContentElements(RenderRequest req, 
List<String> contenttypes, String channel,
          int offset, String orderby, String direction, String archive, int 
elementsPerPage, int year, int month,
          int day, boolean useLifecycleBool, int maxDays) {
@@ -275,6 +266,7 @@
             useLifecycleBool, archive, offset, elementsPerPage, year, month, 
day,maxDays);
       return elements;
    }
+   
    public int getOffset(int currentPage, int pageSize) {
       return ((currentPage - 1) * pageSize) + 1;
    }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to