01: /*
02: * Created on Oct 25, 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: * If a tree is to support expanding and collapsing portions of the tree then
11: * an implementation of this interface must be provided to the tree to translate
12: * user actions into URLs suitable for the domain in which the tree is being
13: * used and which will cause the appropriate methods on the appropriate tree
14: * nodes to be called.
15: *
16: * @author Mark Boyd
17: */
18: public interface ITreeActionUrlResolver {
19: public static final int SHOW_CHILDREN = 0;
20: public static final int HIDE_CHILDREN = 1;
21: public static final int SHOW_ASPECTS = 2;
22: public static final int HIDE_ASPECTS = 3;
23:
24: public String getTreeActionUrl(int type, String nodeId);
25: }
|