KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > portal > skin > SkinConfigService


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.services.portal.skin;
6
7 import java.util.* ;
8 import java.io.InputStream JavaDoc ;
9 import org.exoplatform.services.portal.skin.model.*;
10
11 /**
12  * Created by The eXo Platform SARL.
13  * Author : Tuan Nguyen
14  * tuan08@users.sourceforge.net
15  * Date: Jun 14, 2003
16  * Time: 1:12:22 PM
17  */

18 public interface SkinConfigService {
19
20   public void addConfiguration(InputStream JavaDoc is) throws Exception JavaDoc ;
21   public void addConfiguration(String JavaDoc fileUrl) throws Exception JavaDoc ;
22
23   public Collection getPortalDecorators() ;
24   public Decorator getPortalDecorator(String JavaDoc rendererType) ;
25   public Style getPortalDecoratorStyle(String JavaDoc rendererType, String JavaDoc styleName) ;
26   
27   public Collection getPageDecorators() ;
28   public Decorator getPageDecorator(String JavaDoc rendererType) ;
29   public Style getPageDecoratorStyle(String JavaDoc rendererType, String JavaDoc styleName) ;
30
31   public Collection getContainerDecorators() ;
32   public Decorator getContainerDecorator(String JavaDoc rendererType) ;
33   public Style getContainerDecoratorStyle(String JavaDoc rendererType, String JavaDoc styleName) ;
34
35   public Collection getPortletDecorators() ;
36   public Decorator getPortletDecorator(String JavaDoc rendererType) ;
37   public Style getPortletDecoratorStyle(String JavaDoc rendererType,String JavaDoc styleName) ;
38   
39   public List getPortletStyles(String JavaDoc portletName) ;
40   public Style getPortletStyle(String JavaDoc portletName, String JavaDoc styleName) ;
41 }
Popular Tags