View Javadoc

1   package com.germinus.merlin.manager.layout;
2   
3   import com.germinus.liferay.util.ILiferayUtil;
4   import com.germinus.merlin.page.PagePortletConfiguration;
5   
6   public interface ILayoutManagerFactory {
7   
8   	public static final int BLOG = 0;
9   	public static final int FORUM = 1;
10  	public static final int DOCUMENT = 2;
11  
12  	public abstract ILayoutManager getLayoutManager(int type);
13  
14  	/**
15  	 * @return the blogPageProperties
16  	 */
17  	public abstract PagePortletConfiguration getBlogPageConfiguration();
18  
19  	/**
20  	 * @param blogPageProperties the blogPageProperties to set
21  	 */
22  	public abstract void setBlogPageConfiguration(
23  			PagePortletConfiguration blogPageProperties);
24  
25  	/**
26  	 * @return the documentPageProperties
27  	 */
28  	public abstract PagePortletConfiguration getDocumentPageConfiguration();
29  
30  	/**
31  	 * @param documentPageProperties the documentPageProperties to set
32  	 */
33  	public abstract void setDocumentPageConfiguration(
34  			PagePortletConfiguration documentPageProperties);
35  
36  	/**
37  	 * @return the forumPageProperties
38  	 */
39  	public abstract PagePortletConfiguration getForumPageConfiguration();
40  
41  	/**
42  	 * @param forumPageProperties the forumPageProperties to set
43  	 */
44  	public abstract void setForumPageConfiguration(
45  			PagePortletConfiguration forumPageProperties);
46  
47  	/**
48  	 * @return the liferayUtil
49  	 */
50  	public abstract ILiferayUtil getLiferayUtil();
51  
52  	/**
53  	 * @param liferayUtil the liferayUtil to set
54  	 */
55  	public abstract void setLiferayUtil(ILiferayUtil liferayUtil);
56  
57  }