KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > portal > session > ExoPortal


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.portal.session;
6
7 import javax.faces.event.FacesEvent;
8 import org.exoplatform.services.portal.model.Node;
9 /**
10  * Apr 26, 2004
11  * @author: Tuan Nguyen
12  * @email: tuan08@users.sourceforge.net
13  * @version: $Id: PortalInfo.java,v 1.5 2004/09/28 18:19:20 tuan08 Exp $
14  **/

15 public interface ExoPortal {
16   final static public String JavaDoc XHTML_MIME_TYPE = "text/xhtml" ;
17   final static public String JavaDoc XHTMLMP_MIME_TYPE = "application/vnd.wap.xhtml+xml" ;
18   
19   final static public int PORTAL_VIEW_MODE = 0 ;
20   final static public int PORTAL_EDIT_PAGE_MODE = 1 ;
21   final static public int PORTAL_EDIT_MODE = 2 ;
22   final static public int PORTAL_EDIT_NAVIGATION_MODE = 3 ;
23   
24   public Node getRootNode() ;
25   public Node getSelectedNode() ;
26   public void setSelectedNode(Node node) ;
27   
28   public boolean hasEditPortalCapability() ;
29   public boolean hasEditNavigationCapability() ;
30   
31   public int getPortalMode() ;
32   public void setPortalMode(int mode) ;
33   
34   public void queueEvent(FacesEvent event) ;
35 }
Popular Tags