KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > pentaho > ui > component > INavigationComponent


1 /*
2  * Copyright 2006 Pentaho Corporation. All rights reserved.
3  * This software was developed by Pentaho Corporation and is provided under the terms
4  * of the Mozilla Public License, Version 1.1, or any later version. You may not use
5  * this file except in compliance with the license. If you need a copy of the license,
6  * please go to http://www.mozilla.org/MPL/MPL-1.1.txt. The Original Code is the Pentaho
7  * BI Platform. The Initial Developer is Pentaho Corporation.
8  *
9  * 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
18 package org.pentaho.ui.component;
19
20 import java.util.List JavaDoc;
21
22 import org.apache.commons.logging.Log;
23 import org.dom4j.Document;
24 import org.pentaho.core.services.IActionRequestHandler;
25 import org.pentaho.core.session.IPentahoSession;
26 import org.pentaho.core.solution.IParameterProvider;
27 import org.pentaho.core.ui.IPentahoUrlFactory;
28
29 public interface INavigationComponent {
30     public Log getLogger();
31
32     public boolean validate();
33
34     /*
35      * (non-Javadoc)
36      *
37      * @see org.pentaho.core.ui.IInterfaceComponent#getXmlContent()
38      */

39     public Document getXmlContent();
40     
41     public void setHrefUrl(String JavaDoc hrefUrl);
42     
43     public void setOnClick(String JavaDoc onClick);
44     
45     public void setAllowNavigation(Boolean JavaDoc allowNavigation);
46
47     public void setSolutionParamName(String JavaDoc solutionParamName);
48
49     public void setPathParamName(String JavaDoc solutionPathName);
50
51     public void setOptions(String JavaDoc options);
52
53     public boolean validate(IPentahoSession session, IActionRequestHandler actionRequestHandler);
54
55     public void setXsl(String JavaDoc string, String JavaDoc xslName);
56
57     public void setParameterProvider(String JavaDoc name, IParameterProvider parameterProvider);
58
59     public String JavaDoc getContent(String JavaDoc string);
60
61     public void setUrlFactory(IPentahoUrlFactory urlFactory);
62
63     public void setMessages(List JavaDoc messages);
64     
65     public void setLoggingLevel(int logLevel);
66 }
67
Popular Tags