1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.expando.service.impl;
24  
25  import com.liferay.portal.PortalException;
26  import com.liferay.portal.SystemException;
27  import com.liferay.portlet.expando.model.ExpandoTable;
28  import com.liferay.portlet.expando.service.base.ExpandoTableServiceBaseImpl;
29  
30  import java.util.List;
31  
32  /**
33   * <a href="ExpandoTableServiceImpl.java.html"><b><i>View Source</i></b></a>
34   *
35   * @author Raymond Augé
36   * @author Brian Wing Shun Chan
37   *
38   */
39  public class ExpandoTableServiceImpl extends ExpandoTableServiceBaseImpl {
40  
41      public ExpandoTable addDefaultTable(String className)
42          throws PortalException, SystemException {
43  
44          return expandoTableLocalService.addDefaultTable(className);
45      }
46  
47      public ExpandoTable addDefaultTable(long classNameId)
48          throws PortalException, SystemException {
49  
50          return expandoTableLocalService.addDefaultTable(classNameId);
51      }
52  
53      public ExpandoTable addTable(String className, String name)
54          throws PortalException, SystemException {
55  
56          return expandoTableLocalService.addTable(className, name);
57      }
58  
59      public ExpandoTable addTable(long classNameId, String name)
60          throws PortalException, SystemException {
61  
62          return expandoTableLocalService.addTable(classNameId, name);
63      }
64  
65      public void deleteTable(long tableId)
66          throws PortalException, SystemException {
67  
68          expandoTableLocalService.deleteTable(tableId);
69      }
70  
71      public void deleteTable(String className, String name)
72          throws PortalException, SystemException {
73  
74          expandoTableLocalService.deleteTable(className, name);
75      }
76  
77      public void deleteTable(long classNameId, String name)
78          throws PortalException, SystemException {
79  
80          expandoTableLocalService.deleteTable(classNameId, name);
81      }
82  
83      public void deleteTables(String className)
84          throws PortalException, SystemException {
85  
86          expandoTableLocalService.deleteTables(className);
87      }
88  
89      public void deleteTables(long classNameId)
90          throws PortalException, SystemException {
91  
92          expandoTableLocalService.deleteTables(classNameId);
93      }
94  
95      public ExpandoTable getDefaultTable(String className)
96          throws PortalException, SystemException {
97  
98          return expandoTableLocalService.getDefaultTable(className);
99      }
100 
101     public ExpandoTable getDefaultTable(long classNameId)
102         throws PortalException, SystemException {
103 
104         return expandoTableLocalService.getDefaultTable(classNameId);
105     }
106 
107     public ExpandoTable getTable(long tableId)
108         throws PortalException, SystemException {
109 
110         return expandoTableLocalService.getTable(tableId);
111     }
112 
113     public ExpandoTable getTable(String className, String name)
114         throws PortalException, SystemException {
115 
116         return expandoTableLocalService.getTable(className, name);
117     }
118 
119     public ExpandoTable getTable(long classNameId, String name)
120         throws PortalException, SystemException {
121 
122         return expandoTableLocalService.getTable(classNameId, name);
123     }
124 
125     public List<ExpandoTable> getTables(String className)
126         throws PortalException, SystemException {
127 
128         return expandoTableLocalService.getTables(className);
129     }
130 
131     public List<ExpandoTable> getTables(long classNameId)
132         throws PortalException, SystemException {
133 
134         return expandoTableLocalService.getTables(classNameId);
135     }
136 
137     public ExpandoTable updateTable(long tableId, String name)
138         throws PortalException, SystemException {
139 
140         return expandoTableLocalService.updateTable(tableId, name);
141     }
142 
143 }