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.SocialEquityAssetEntry;
20  
21  /**
22   * <a href="SocialEquityAssetEntryPersistence.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       SocialEquityAssetEntryPersistenceImpl
31   * @see       SocialEquityAssetEntryUtil
32   * @generated
33   */
34  public interface SocialEquityAssetEntryPersistence extends BasePersistence<SocialEquityAssetEntry> {
35      public void cacheResult(
36          com.liferay.portlet.social.model.SocialEquityAssetEntry socialEquityAssetEntry);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> socialEquityAssetEntries);
40  
41      public com.liferay.portlet.social.model.SocialEquityAssetEntry create(
42          long equityAssetEntryId);
43  
44      public com.liferay.portlet.social.model.SocialEquityAssetEntry remove(
45          long equityAssetEntryId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.social.NoSuchEquityAssetEntryException;
48  
49      public com.liferay.portlet.social.model.SocialEquityAssetEntry updateImpl(
50          com.liferay.portlet.social.model.SocialEquityAssetEntry socialEquityAssetEntry,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.social.model.SocialEquityAssetEntry findByPrimaryKey(
55          long equityAssetEntryId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.social.NoSuchEquityAssetEntryException;
58  
59      public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByPrimaryKey(
60          long equityAssetEntryId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public com.liferay.portlet.social.model.SocialEquityAssetEntry findByAssetEntryId(
64          long assetEntryId)
65          throws com.liferay.portal.kernel.exception.SystemException,
66              com.liferay.portlet.social.NoSuchEquityAssetEntryException;
67  
68      public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByAssetEntryId(
69          long assetEntryId)
70          throws com.liferay.portal.kernel.exception.SystemException;
71  
72      public com.liferay.portlet.social.model.SocialEquityAssetEntry fetchByAssetEntryId(
73          long assetEntryId, boolean retrieveFromCache)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll()
77          throws com.liferay.portal.kernel.exception.SystemException;
78  
79      public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll(
80          int start, int end)
81          throws com.liferay.portal.kernel.exception.SystemException;
82  
83      public java.util.List<com.liferay.portlet.social.model.SocialEquityAssetEntry> findAll(
84          int start, int end,
85          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
86          throws com.liferay.portal.kernel.exception.SystemException;
87  
88      public void removeByAssetEntryId(long assetEntryId)
89          throws com.liferay.portal.kernel.exception.SystemException,
90              com.liferay.portlet.social.NoSuchEquityAssetEntryException;
91  
92      public void removeAll()
93          throws com.liferay.portal.kernel.exception.SystemException;
94  
95      public int countByAssetEntryId(long assetEntryId)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public int countAll()
99          throws com.liferay.portal.kernel.exception.SystemException;
100 }