1 5 package org.exoplatform.portal.session; 6 7 import javax.faces.event.FacesEvent; 8 import org.exoplatform.services.portal.model.Node; 9 15 public interface ExoPortal { 16 final static public String XHTML_MIME_TYPE = "text/xhtml" ; 17 final static public String 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 |