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.SocialEquityAssetEntry;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       SocialEquityAssetEntryPersistenceImpl
024     * @see       SocialEquityAssetEntryUtil
025     * @generated
026     */
027    public interface SocialEquityAssetEntryPersistence extends BasePersistence<SocialEquityAssetEntry> {
028            public void cacheResult(
029                    com.liferay.portlet.social.model.SocialEquityAssetEntry socialEquityAssetEntry);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> socialEquityAssetEntries);
033    
034            public com.liferay.portlet.social.model.SocialEquityAssetEntry create(
035                    long equityAssetEntryId);
036    
037            public com.liferay.portlet.social.model.SocialEquityAssetEntry remove(
038                    long equityAssetEntryId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.social.NoSuchEquityAssetEntryException;
041    
042            public com.liferay.portlet.social.model.SocialEquityAssetEntry updateImpl(
043                    com.liferay.portlet.social.model.SocialEquityAssetEntry socialEquityAssetEntry,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.social.model.SocialEquityAssetEntry findByPrimaryKey(
048                    long equityAssetEntryId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.social.NoSuchEquityAssetEntryException;
051    
052            public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByPrimaryKey(
053                    long equityAssetEntryId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public com.liferay.portlet.social.model.SocialEquityAssetEntry findByAssetEntryId(
057                    long assetEntryId)
058                    throws com.liferay.portal.kernel.exception.SystemException,
059                            com.liferay.portlet.social.NoSuchEquityAssetEntryException;
060    
061            public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByAssetEntryId(
062                    long assetEntryId)
063                    throws com.liferay.portal.kernel.exception.SystemException;
064    
065            public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByAssetEntryId(
066                    long assetEntryId, boolean retrieveFromCache)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll()
070                    throws com.liferay.portal.kernel.exception.SystemException;
071    
072            public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll(
073                    int start, int end)
074                    throws com.liferay.portal.kernel.exception.SystemException;
075    
076            public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll(
077                    int start, int end,
078                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            public void removeByAssetEntryId(long assetEntryId)
082                    throws com.liferay.portal.kernel.exception.SystemException,
083                            com.liferay.portlet.social.NoSuchEquityAssetEntryException;
084    
085            public void removeAll()
086                    throws com.liferay.portal.kernel.exception.SystemException;
087    
088            public int countByAssetEntryId(long assetEntryId)
089                    throws com.liferay.portal.kernel.exception.SystemException;
090    
091            public int countAll()
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    }