001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.social.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.social.model.SocialEquitySetting;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquitySettingPersistenceImpl
024     * @see       SocialEquitySettingUtil
025     * @generated
026     */
027    public interface SocialEquitySettingPersistence extends BasePersistence<SocialEquitySetting> {
028            public void cacheResult(
029                    com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> socialEquitySettings);
033    
034            public com.liferay.portlet.social.model.SocialEquitySetting create(
035                    long equitySettingId);
036    
037            public com.liferay.portlet.social.model.SocialEquitySetting remove(
038                    long equitySettingId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.social.NoSuchEquitySettingException;
041    
042            public com.liferay.portlet.social.model.SocialEquitySetting updateImpl(
043                    com.liferay.portlet.social.model.SocialEquitySetting socialEquitySetting,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.social.model.SocialEquitySetting findByPrimaryKey(
048                    long equitySettingId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.social.NoSuchEquitySettingException;
051    
052            public com.liferay.portlet.social.model.SocialEquitySetting fetchByPrimaryKey(
053                    long equitySettingId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
057                    long groupId, long classNameId, java.lang.String actionId)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
061                    long groupId, long classNameId, java.lang.String actionId, int start,
062                    int end) throws com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findByG_C_A(
065                    long groupId, long classNameId, java.lang.String actionId, int start,
066                    int end,
067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
068                    throws com.liferay.portal.kernel.exception.SystemException;
069    
070            public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_First(
071                    long groupId, long classNameId, java.lang.String actionId,
072                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073                    throws com.liferay.portal.kernel.exception.SystemException,
074                            com.liferay.portlet.social.NoSuchEquitySettingException;
075    
076            public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_Last(
077                    long groupId, long classNameId, java.lang.String actionId,
078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
079                    throws com.liferay.portal.kernel.exception.SystemException,
080                            com.liferay.portlet.social.NoSuchEquitySettingException;
081    
082            public com.liferay.portlet.social.model.SocialEquitySetting[] findByG_C_A_PrevAndNext(
083                    long equitySettingId, long groupId, long classNameId,
084                    java.lang.String actionId,
085                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
086                    throws com.liferay.portal.kernel.exception.SystemException,
087                            com.liferay.portlet.social.NoSuchEquitySettingException;
088    
089            public com.liferay.portlet.social.model.SocialEquitySetting findByG_C_A_T(
090                    long groupId, long classNameId, java.lang.String actionId, int type)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.social.NoSuchEquitySettingException;
093    
094            public com.liferay.portlet.social.model.SocialEquitySetting fetchByG_C_A_T(
095                    long groupId, long classNameId, java.lang.String actionId, int type)
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public com.liferay.portlet.social.model.SocialEquitySetting fetchByG_C_A_T(
099                    long groupId, long classNameId, java.lang.String actionId, int type,
100                    boolean retrieveFromCache)
101                    throws com.liferay.portal.kernel.exception.SystemException;
102    
103            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll()
104                    throws com.liferay.portal.kernel.exception.SystemException;
105    
106            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll(
107                    int start, int end)
108                    throws com.liferay.portal.kernel.exception.SystemException;
109    
110            public java.util.List<com.liferay.portlet.social.model.SocialEquitySetting> findAll(
111                    int start, int end,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            public void removeByG_C_A(long groupId, long classNameId,
116                    java.lang.String actionId)
117                    throws com.liferay.portal.kernel.exception.SystemException;
118    
119            public void removeByG_C_A_T(long groupId, long classNameId,
120                    java.lang.String actionId, int type)
121                    throws com.liferay.portal.kernel.exception.SystemException,
122                            com.liferay.portlet.social.NoSuchEquitySettingException;
123    
124            public void removeAll()
125                    throws com.liferay.portal.kernel.exception.SystemException;
126    
127            public int countByG_C_A(long groupId, long classNameId,
128                    java.lang.String actionId)
129                    throws com.liferay.portal.kernel.exception.SystemException;
130    
131            public int countByG_C_A_T(long groupId, long classNameId,
132                    java.lang.String actionId, int type)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            public int countAll()
136                    throws com.liferay.portal.kernel.exception.SystemException;
137    }