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.portal.service.persistence;
016    
017    import com.liferay.portal.model.PasswordPolicyRel;
018    
019    /**
020     * @author    Brian Wing Shun Chan
021     * @see       PasswordPolicyRelPersistenceImpl
022     * @see       PasswordPolicyRelUtil
023     * @generated
024     */
025    public interface PasswordPolicyRelPersistence extends BasePersistence<PasswordPolicyRel> {
026            public void cacheResult(
027                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel);
028    
029            public void cacheResult(
030                    java.util.List<com.liferay.portal.model.PasswordPolicyRel> passwordPolicyRels);
031    
032            public com.liferay.portal.model.PasswordPolicyRel create(
033                    long passwordPolicyRelId);
034    
035            public com.liferay.portal.model.PasswordPolicyRel remove(
036                    long passwordPolicyRelId)
037                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
038                            com.liferay.portal.kernel.exception.SystemException;
039    
040            public com.liferay.portal.model.PasswordPolicyRel updateImpl(
041                    com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel,
042                    boolean merge)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public com.liferay.portal.model.PasswordPolicyRel findByPrimaryKey(
046                    long passwordPolicyRelId)
047                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
048                            com.liferay.portal.kernel.exception.SystemException;
049    
050            public com.liferay.portal.model.PasswordPolicyRel fetchByPrimaryKey(
051                    long passwordPolicyRelId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findByPasswordPolicyId(
055                    long passwordPolicyId)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findByPasswordPolicyId(
059                    long passwordPolicyId, int start, int end)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findByPasswordPolicyId(
063                    long passwordPolicyId, int start, int end,
064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065                    throws com.liferay.portal.kernel.exception.SystemException;
066    
067            public com.liferay.portal.model.PasswordPolicyRel findByPasswordPolicyId_First(
068                    long passwordPolicyId,
069                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
071                            com.liferay.portal.kernel.exception.SystemException;
072    
073            public com.liferay.portal.model.PasswordPolicyRel findByPasswordPolicyId_Last(
074                    long passwordPolicyId,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
077                            com.liferay.portal.kernel.exception.SystemException;
078    
079            public com.liferay.portal.model.PasswordPolicyRel[] findByPasswordPolicyId_PrevAndNext(
080                    long passwordPolicyRelId, long passwordPolicyId,
081                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
083                            com.liferay.portal.kernel.exception.SystemException;
084    
085            public com.liferay.portal.model.PasswordPolicyRel findByC_C(
086                    long classNameId, long classPK)
087                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
088                            com.liferay.portal.kernel.exception.SystemException;
089    
090            public com.liferay.portal.model.PasswordPolicyRel fetchByC_C(
091                    long classNameId, long classPK)
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public com.liferay.portal.model.PasswordPolicyRel fetchByC_C(
095                    long classNameId, long classPK, boolean retrieveFromCache)
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public com.liferay.portal.model.PasswordPolicyRel findByP_C_C(
099                    long passwordPolicyId, long classNameId, long classPK)
100                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
101                            com.liferay.portal.kernel.exception.SystemException;
102    
103            public com.liferay.portal.model.PasswordPolicyRel fetchByP_C_C(
104                    long passwordPolicyId, long classNameId, long classPK)
105                    throws com.liferay.portal.kernel.exception.SystemException;
106    
107            public com.liferay.portal.model.PasswordPolicyRel fetchByP_C_C(
108                    long passwordPolicyId, long classNameId, long classPK,
109                    boolean retrieveFromCache)
110                    throws com.liferay.portal.kernel.exception.SystemException;
111    
112            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll()
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll(
116                    int start, int end)
117                    throws com.liferay.portal.kernel.exception.SystemException;
118    
119            public java.util.List<com.liferay.portal.model.PasswordPolicyRel> findAll(
120                    int start, int end,
121                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122                    throws com.liferay.portal.kernel.exception.SystemException;
123    
124            public void removeByPasswordPolicyId(long passwordPolicyId)
125                    throws com.liferay.portal.kernel.exception.SystemException;
126    
127            public void removeByC_C(long classNameId, long classPK)
128                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
129                            com.liferay.portal.kernel.exception.SystemException;
130    
131            public void removeByP_C_C(long passwordPolicyId, long classNameId,
132                    long classPK)
133                    throws com.liferay.portal.NoSuchPasswordPolicyRelException,
134                            com.liferay.portal.kernel.exception.SystemException;
135    
136            public void removeAll()
137                    throws com.liferay.portal.kernel.exception.SystemException;
138    
139            public int countByPasswordPolicyId(long passwordPolicyId)
140                    throws com.liferay.portal.kernel.exception.SystemException;
141    
142            public int countByC_C(long classNameId, long classPK)
143                    throws com.liferay.portal.kernel.exception.SystemException;
144    
145            public int countByP_C_C(long passwordPolicyId, long classNameId,
146                    long classPK)
147                    throws com.liferay.portal.kernel.exception.SystemException;
148    
149            public int countAll()
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    }