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.portal.service.persistence;
16  
17  import com.liferay.portal.model.WebDAVProps;
18  
19  /**
20   * <a href="WebDAVPropsPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       WebDAVPropsPersistenceImpl
29   * @see       WebDAVPropsUtil
30   * @generated
31   */
32  public interface WebDAVPropsPersistence extends BasePersistence<WebDAVProps> {
33      public void cacheResult(com.liferay.portal.model.WebDAVProps webDAVProps);
34  
35      public void cacheResult(
36          java.util.List<com.liferay.portal.model.WebDAVProps> webDAVPropses);
37  
38      public com.liferay.portal.model.WebDAVProps create(long webDavPropsId);
39  
40      public com.liferay.portal.model.WebDAVProps remove(long webDavPropsId)
41          throws com.liferay.portal.NoSuchWebDAVPropsException,
42              com.liferay.portal.SystemException;
43  
44      /**
45       * @deprecated Use {@link BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)}.
46       */
47      public com.liferay.portal.model.WebDAVProps update(
48          com.liferay.portal.model.WebDAVProps webDAVProps)
49          throws com.liferay.portal.SystemException;
50  
51      public com.liferay.portal.model.WebDAVProps updateImpl(
52          com.liferay.portal.model.WebDAVProps webDAVProps, boolean merge)
53          throws com.liferay.portal.SystemException;
54  
55      public com.liferay.portal.model.WebDAVProps findByPrimaryKey(
56          long webDavPropsId)
57          throws com.liferay.portal.NoSuchWebDAVPropsException,
58              com.liferay.portal.SystemException;
59  
60      public com.liferay.portal.model.WebDAVProps fetchByPrimaryKey(
61          long webDavPropsId) throws com.liferay.portal.SystemException;
62  
63      public com.liferay.portal.model.WebDAVProps findByC_C(long classNameId,
64          long classPK)
65          throws com.liferay.portal.NoSuchWebDAVPropsException,
66              com.liferay.portal.SystemException;
67  
68      public com.liferay.portal.model.WebDAVProps fetchByC_C(long classNameId,
69          long classPK) throws com.liferay.portal.SystemException;
70  
71      public com.liferay.portal.model.WebDAVProps fetchByC_C(long classNameId,
72          long classPK, boolean retrieveFromCache)
73          throws com.liferay.portal.SystemException;
74  
75      public java.util.List<com.liferay.portal.model.WebDAVProps> findAll()
76          throws com.liferay.portal.SystemException;
77  
78      public java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
79          int start, int end) throws com.liferay.portal.SystemException;
80  
81      public java.util.List<com.liferay.portal.model.WebDAVProps> findAll(
82          int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
83          throws com.liferay.portal.SystemException;
84  
85      public void removeByC_C(long classNameId, long classPK)
86          throws com.liferay.portal.NoSuchWebDAVPropsException,
87              com.liferay.portal.SystemException;
88  
89      public void removeAll() throws com.liferay.portal.SystemException;
90  
91      public int countByC_C(long classNameId, long classPK)
92          throws com.liferay.portal.SystemException;
93  
94      public int countAll() throws com.liferay.portal.SystemException;
95  }