View Javadoc

1   /**
2    * Copyright (C) 2005-2009 Alfresco Software Limited.
3    *
4    * This file is part of the Spring Surf Extension project.
5    *
6    * Licensed under the Apache License, Version 2.0 (the "License");
7    * you may not use this file except in compliance with the License.
8    * You may obtain a copy of the License at
9    *
10   *  http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing, software
13   * distributed under the License is distributed on an "AS IS" BASIS,
14   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   * See the License for the specific language governing permissions and
16   * limitations under the License.
17   */
18  
19  package org.springframework.roo.addon.surf;
20  
21  /**
22   * @author Yong Qu
23   */
24  public class Constants {
25  
26  	final public static String WEB_INF = "WEB-INF/";
27   
28  	final public static String SURF_CP = WEB_INF+"classes/surf/";
29  
30  	final public static String SURF_SITEDATA_CP = SURF_CP+"site/";
31   
32  	final public static String SURF_TEMPLATE_CP = SURF_CP+"templates/";
33  
34  	final public static String SURF_TEMPLATE_NEW_CP = WEB_INF+"templates/";
35  
36  	final public static String SURF_COMPONENT_WS_CP = SURF_CP+"site-webscripts/components/";
37  
38  	final public static String SURF_SITEDATA_TEMPLATE_INSTANCE_CP = SURF_SITEDATA_CP+"template-instances/";
39  
40  	final public static String SURF_SITEDATA_SITE_CP = SURF_SITEDATA_CP+"configurations/";
41  
42  	final public static String SURF_SITEDATA_PAGE_ASSOC_CP = SURF_SITEDATA_CP+"page-associations/";
43  
44  	final public static String SURF_SITEDATA_PAGE_CP = SURF_SITEDATA_CP+"pages/";
45  
46  	final public static String SURF_SITEDATA_CONTENT_ASSOC_CP = SURF_SITEDATA_CP+"content-associations/";
47  
48  	final public static String SURF_SITEDATA_COMPONENT_CP = SURF_SITEDATA_CP+"components/";
49  	
50  	final public static String SURF_SCOPE_GLOBAL = "global";
51  	
52  	final public static String SURF_SCOPE_TEMPLATE = "template";
53  
54  	final public static String SURF_SCOPE_PAGE = "page";
55  	
56  	final public static String SURF_TEMPLATE_DEFAULT_CP = WEB_INF+"templates/";
57  
58  }