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.SocialEquityHistory;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquityHistoryPersistenceImpl
024     * @see       SocialEquityHistoryUtil
025     * @generated
026     */
027    public interface SocialEquityHistoryPersistence extends BasePersistence<SocialEquityHistory> {
028            public void cacheResult(
029                    com.liferay.portlet.social.model.SocialEquityHistory socialEquityHistory);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.social.model.SocialEquityHistory> socialEquityHistories);
033    
034            public com.liferay.portlet.social.model.SocialEquityHistory create(
035                    long equityHistoryId);
036    
037            public com.liferay.portlet.social.model.SocialEquityHistory remove(
038                    long equityHistoryId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.social.NoSuchEquityHistoryException;
041    
042            public com.liferay.portlet.social.model.SocialEquityHistory updateImpl(
043                    com.liferay.portlet.social.model.SocialEquityHistory socialEquityHistory,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.social.model.SocialEquityHistory findByPrimaryKey(
048                    long equityHistoryId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.social.NoSuchEquityHistoryException;
051    
052            public com.liferay.portlet.social.model.SocialEquityHistory fetchByPrimaryKey(
053                    long equityHistoryId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.social.model.SocialEquityHistory> findAll()
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.util.List<com.liferay.portlet.social.model.SocialEquityHistory> findAll(
060                    int start, int end)
061                    throws com.liferay.portal.kernel.exception.SystemException;
062    
063            public java.util.List<com.liferay.portlet.social.model.SocialEquityHistory> findAll(
064                    int start, int end,
065                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            public void removeAll()
069                    throws com.liferay.portal.kernel.exception.SystemException;
070    
071            public int countAll()
072                    throws com.liferay.portal.kernel.exception.SystemException;
073    }