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;
24  
25  
26  /**
27   * <a href="ExpandoValueService.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This interface defines the service. The default implementation is
36   * <code>com.liferay.portlet.expando.service.impl.ExpandoValueServiceImpl</code>.
37   * Modify methods in that class and rerun ServiceBuilder to populate this class
38   * and all other generated classes.
39   * </p>
40   *
41   * <p>
42   * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
43   * </p>
44   *
45   * @author Brian Wing Shun Chan
46   *
47   * @see com.liferay.portlet.expando.service.ExpandoValueServiceFactory
48   * @see com.liferay.portlet.expando.service.ExpandoValueServiceUtil
49   *
50   */
51  public interface ExpandoValueService {
52      public com.liferay.portlet.expando.model.ExpandoValue addValue(
53          long columnId, long rowId, long classPK, java.lang.String data)
54          throws java.rmi.RemoteException, com.liferay.portal.SystemException,
55              com.liferay.portal.PortalException;
56  
57      public void deleteColumnValues(long columnId)
58          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
59  
60      public void deleteRowValues(long rowId)
61          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
62  
63      public void deleteTableValues(long tableId)
64          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
65  
66      public void deleteValue(long valueId)
67          throws java.rmi.RemoteException, com.liferay.portal.SystemException,
68              com.liferay.portal.PortalException;
69  
70      public void deleteValues(java.lang.String className, long classPK)
71          throws java.rmi.RemoteException, com.liferay.portal.SystemException,
72              com.liferay.portal.PortalException;
73  
74      public void deleteValues(long classNameId, long classPK)
75          throws java.rmi.RemoteException, com.liferay.portal.SystemException,
76              com.liferay.portal.PortalException;
77  
78      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
79          long columnId, int begin, int end)
80          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
81  
82      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
83          java.lang.String className, java.lang.String tableName,
84          java.lang.String columnName, int begin, int end)
85          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
86  
87      public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getColumnValues(
88          long classNameId, java.lang.String tableName,
89          java.lang.String columnName, int begin, int end)
90          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
91  
92      public int getColumnValuesCount(long columnId)
93          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
94  
95      public int getColumnValuesCount(java.lang.String className,
96          java.lang.String tableName, java.lang.String columnName)
97          throws java.rmi.RemoteException, com.liferay.portal.SystemException;
98  
99      public int getColumnValuesCount(long classNameId,
100         java.lang.String tableName, java.lang.String columnName)
101         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
102 
103     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
104         java.lang.String className, java.lang.String columnName, int begin,
105         int end)
106         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
107 
108     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getDefaultTableColumnValues(
109         long classNameId, java.lang.String columnName, int begin, int end)
110         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
111 
112     public int getDefaultTableColumnValuesCount(java.lang.String className,
113         java.lang.String columnName)
114         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
115 
116     public int getDefaultTableColumnValuesCount(long classNameId,
117         java.lang.String columnName)
118         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
119 
120     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
121         long rowId)
122         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
123 
124     public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> getRowValues(
125         long rowId, int begin, int end)
126         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
127 
128     public int getRowValuesCount(long rowId)
129         throws java.rmi.RemoteException, com.liferay.portal.SystemException;
130 
131     public com.liferay.portlet.expando.model.ExpandoValue getValue(long valueId)
132         throws java.rmi.RemoteException, com.liferay.portal.SystemException,
133             com.liferay.portal.PortalException;
134 
135     public com.liferay.portlet.expando.model.ExpandoValue getValue(
136         long columnId, long rowId)
137         throws java.rmi.RemoteException, com.liferay.portal.SystemException,
138             com.liferay.portal.PortalException;
139 
140     public com.liferay.portlet.expando.model.ExpandoValue getValue(
141         java.lang.String className, java.lang.String tableName,
142         java.lang.String name, long rowId)
143         throws java.rmi.RemoteException, com.liferay.portal.SystemException,
144             com.liferay.portal.PortalException;
145 
146     public com.liferay.portlet.expando.model.ExpandoValue getValue(
147         long classNameId, java.lang.String tableName, java.lang.String name,
148         long rowId)
149         throws java.rmi.RemoteException, com.liferay.portal.SystemException,
150             com.liferay.portal.PortalException;
151 }