01: /*
02: * Created on Dec 16, 2005
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package org.jasig.portal.channels.jsp.tree;
08:
09: /**
10: * @author Mark Boyd
11: *
12: * TODO To change the template for this generated type comment go to
13: * Window - Preferences - Java - Code Style - Code Templates
14: */
15: public interface IDomainActionSet {
16: /**
17: * Returns an array of keys representing the supported actions that will
18: * appear in the tree.
19: *
20: * @return
21: */
22: String[] getSupportedActions();
23:
24: /**
25: * Provides information needed by a custom renderer to render the labeling
26: * of an action for a given domain object. This information is made
27: * accessible to the custom renderer JSP via:
28: *
29: * <pre>
30: * ${requestScope.model.actionLabelData}
31: * </pre>
32: *
33: * @param action
34: * @param domainObject
35: * @return
36: */
37: Object getLabelData(String action, Object domainObject);
38:
39: }
|