1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.social.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.social.model.SocialEquitySetting;
20  
21  /**
22   * <a href="SocialEquitySettingPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       SocialEquitySettingPersistenceImpl
31   * @see       SocialEquitySettingUtil
32   * @generated
33   */
34  public interface SocialEquitySettingPersistence extends BasePersistence<SocialEquitySetting> {
35      public void cacheResult(
36          com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> socialEquitySettings);
40  
41      public com.liferay.portlet.social.model.SocialEquitySetting create(
42          long equitySettingId);
43  
44      public com.liferay.portlet.social.model.SocialEquitySetting remove(
45          long equitySettingId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.social.NoSuchEquitySettingException;
48  
49      public com.liferay.portlet.social.model.SocialEquitySetting updateImpl(
50          com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.social.model.SocialEquitySetting findByPrimaryKey(
55          long equitySettingId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.social.NoSuchEquitySettingException;
58  
59      public com.liferay.portlet.social.model.SocialEquitySetting fetchByPrimaryKey(
60          long equitySettingId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
64          long groupId, long classNameId, java.lang.String actionId)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
68          long groupId, long classNameId, java.lang.String actionId, int start,
69          int end) throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
72          long groupId, long classNameId, java.lang.String actionId, int start,
73          int end,
74          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
75          throws com.liferay.portal.kernel.exception.SystemException;
76  
77      public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_First(
78          long groupId, long classNameId, java.lang.String actionId,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.kernel.exception.SystemException,
81              com.liferay.portlet.social.NoSuchEquitySettingException;
82  
83      public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_Last(
84          long groupId, long classNameId, java.lang.String actionId,
85          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
86          throws com.liferay.portal.kernel.exception.SystemException,
87              com.liferay.portlet.social.NoSuchEquitySettingException;
88  
89      public com.liferay.portlet.social.model.SocialEquitySetting[] findByG_C_A_PrevAndNext(
90          long equitySettingId, long groupId, long classNameId,
91          java.lang.String actionId,
92          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
93          throws com.liferay.portal.kernel.exception.SystemException,
94              com.liferay.portlet.social.NoSuchEquitySettingException;
95  
96      public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_T(
97          long groupId, long classNameId, java.lang.String actionId, int type)
98          throws com.liferay.portal.kernel.exception.SystemException,
99              com.liferay.portlet.social.NoSuchEquitySettingException;
100 
101     public com.liferay.portlet.social.model.SocialEquitySetting fetchByG_C_A_T(
102         long groupId, long classNameId, java.lang.String actionId, int type)
103         throws com.liferay.portal.kernel.exception.SystemException;
104 
105     public com.liferay.portlet.social.model.SocialEquitySetting fetchByG_C_A_T(
106         long groupId, long classNameId, java.lang.String actionId, int type,
107         boolean retrieveFromCache)
108         throws com.liferay.portal.kernel.exception.SystemException;
109 
110     public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll()
111         throws com.liferay.portal.kernel.exception.SystemException;
112 
113     public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll(
114         int start, int end)
115         throws com.liferay.portal.kernel.exception.SystemException;
116 
117     public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll(
118         int start, int end,
119         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120         throws com.liferay.portal.kernel.exception.SystemException;
121 
122     public void removeByG_C_A(long groupId, long classNameId,
123         java.lang.String actionId)
124         throws com.liferay.portal.kernel.exception.SystemException;
125 
126     public void removeByG_C_A_T(long groupId, long classNameId,
127         java.lang.String actionId, int type)
128         throws com.liferay.portal.kernel.exception.SystemException,
129             com.liferay.portlet.social.NoSuchEquitySettingException;
130 
131     public void removeAll()
132         throws com.liferay.portal.kernel.exception.SystemException;
133 
134     public int countByG_C_A(long groupId, long classNameId,
135         java.lang.String actionId)
136         throws com.liferay.portal.kernel.exception.SystemException;
137 
138     public int countByG_C_A_T(long groupId, long classNameId,
139         java.lang.String actionId, int type)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public int countAll()
143         throws com.liferay.portal.kernel.exception.SystemException;
144 }