01: /*
02: * Copyright 2006 Pentaho Corporation. All rights reserved.
03: * This software was developed by Pentaho Corporation and is provided under the terms
04: * of the Mozilla Public License, Version 1.1, or any later version. You may not use
05: * this file except in compliance with the license. If you need a copy of the license,
06: * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
07: * BI Platform. The Initial Developer is Pentaho Corporation.
08: *
09: * Software distributed under the Mozilla Public License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. Please refer to
11: * the license for the specific language governing your rights and limitations.
12: *
13: * Created May 23, 2006
14: * @author wseyler
15: */
16:
17: package org.pentaho.ui.component;
18:
19: import java.util.List;
20:
21: import org.apache.commons.logging.Log;
22: import org.dom4j.Document;
23: import org.pentaho.core.services.IActionRequestHandler;
24: import org.pentaho.core.session.IPentahoSession;
25: import org.pentaho.core.solution.IParameterProvider;
26: import org.pentaho.core.ui.IPentahoUrlFactory;
27:
28: public interface INavigationComponent {
29: public Log getLogger();
30:
31: public boolean validate();
32:
33: /*
34: * (non-Javadoc)
35: *
36: * @see org.pentaho.core.ui.IInterfaceComponent#getXmlContent()
37: */
38: public Document getXmlContent();
39:
40: public void setHrefUrl(String hrefUrl);
41:
42: public void setOnClick(String onClick);
43:
44: public void setAllowNavigation(Boolean allowNavigation);
45:
46: public void setSolutionParamName(String solutionParamName);
47:
48: public void setPathParamName(String solutionPathName);
49:
50: public void setOptions(String options);
51:
52: public boolean validate(IPentahoSession session,
53: IActionRequestHandler actionRequestHandler);
54:
55: public void setXsl(String string, String xslName);
56:
57: public void setParameterProvider(String name,
58: IParameterProvider parameterProvider);
59:
60: public String getContent(String string);
61:
62: public void setUrlFactory(IPentahoUrlFactory urlFactory);
63:
64: public void setMessages(List messages);
65:
66: public void setLoggingLevel(int logLevel);
67: }
|