info.magnolia.module.templatingkit.util
Class STKDateContentUtil
java.lang.Object
info.magnolia.module.templatingkit.util.STKDateContentUtil
public class STKDateContentUtil
- extends Object
Date Utility. Allows to sort content list based to theirs.
node 'date'.
- Version:
- $Id$
- Author:
- cringele
Method Summary |
static void |
filterDateContentList(List<javax.jcr.Node> itemsList,
Calendar minDate,
Calendar maxDate)
|
static void |
filterDateContentList(List<javax.jcr.Node> itemsList,
Calendar minDate,
Calendar maxDate,
String datePropertyName)
|
static void |
sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection)
|
static void |
sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection,
String datePropertyName)
|
static void |
sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection,
String datePropertyName,
Calendar defaultDate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final Object INSTANCE
ASCENDING
public static final String ASCENDING
- See Also:
- Constant Field Values
DESCENDING
public static final String DESCENDING
- See Also:
- Constant Field Values
STKDateContentUtil
public STKDateContentUtil()
filterDateContentList
public static void filterDateContentList(List<javax.jcr.Node> itemsList,
Calendar minDate,
Calendar maxDate)
filterDateContentList
public static void filterDateContentList(List<javax.jcr.Node> itemsList,
Calendar minDate,
Calendar maxDate,
String datePropertyName)
sortDateContentList
public static void sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection)
sortDateContentList
public static void sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection,
String datePropertyName)
sortDateContentList
public static void sortDateContentList(List<javax.jcr.Node> itemsList,
String sortDirection,
String datePropertyName,
Calendar defaultDate)
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.