java/code/src/com/redhat/rhn/frontend/taglibs/list/helper/Listable.java | 21
+++++-----
1 file changed, 12 insertions(+), 9 deletions(-)
New commits:
commit c9d135934f1e2e4ae1c81ed6459814cfdec15017
Author: Jason Dobies <jason.dobies(a)redhat.com>
Date: Fri Mar 27 17:02:53 2009 -0500
Updated docs
diff --git a/java/code/src/com/redhat/rhn/frontend/taglibs/list/helper/Listable.java
b/java/code/src/com/redhat/rhn/frontend/taglibs/list/helper/Listable.java
index ac981e6..9e601c9 100644
--- a/java/code/src/com/redhat/rhn/frontend/taglibs/list/helper/Listable.java
+++ b/java/code/src/com/redhat/rhn/frontend/taglibs/list/helper/Listable.java
@@ -15,21 +15,24 @@
package com.redhat.rhn.frontend.taglibs.list.helper;
-import com.redhat.rhn.frontend.struts.RequestContext;
-
import java.util.List;
+import com.redhat.rhn.frontend.struts.RequestContext;
/**
- *
- * @author paji
- * Listable
- * @version $Rev$
+ * Interface used to tie an action into ListTag 3.0 (known for a while as "new List
Tag").
+ * This interface allows the List*Helper classes to interact with the action to retrieve
+ * the data to show on the page.
+ * <p/>
+ * See the Spacewalk wiki for more information on how to work with ListTag 3.0.
*/
public interface Listable {
+
/**
- * The dataresult associated to a set
- * @param context the request context
- * @return a List of Selectable or Identifiable objects
+ * Returns the data to display on the web page.
+ *
+ * @param context the request context; will not be <code>null</code>
+ * @return a List of {@link com.redhat.rhn.frontend.struts.Selectable} or
+ * {@link com.redhat.rhn.domain.Identifiable} objects.
*/
List getResult(RequestContext context);
}
Show replies by date