001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.service.persistence;
022:
023: /**
024: * <a href="PasswordPolicyRelPersistence.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public interface PasswordPolicyRelPersistence {
030: public com.liferay.portal.model.PasswordPolicyRel create(
031: long passwordPolicyRelId);
032:
033: public com.liferay.portal.model.PasswordPolicyRel remove(
034: long passwordPolicyRelId)
035: throws com.liferay.portal.SystemException,
036: com.liferay.portal.NoSuchPasswordPolicyRelException;
037:
038: public com.liferay.portal.model.PasswordPolicyRel remove(
039: com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel)
040: throws com.liferay.portal.SystemException;
041:
042: public com.liferay.portal.model.PasswordPolicyRel update(
043: com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel)
044: throws com.liferay.portal.SystemException;
045:
046: public com.liferay.portal.model.PasswordPolicyRel update(
047: com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel,
048: boolean merge) throws com.liferay.portal.SystemException;
049:
050: public com.liferay.portal.model.PasswordPolicyRel updateImpl(
051: com.liferay.portal.model.PasswordPolicyRel passwordPolicyRel,
052: boolean merge) throws com.liferay.portal.SystemException;
053:
054: public com.liferay.portal.model.PasswordPolicyRel findByPrimaryKey(
055: long passwordPolicyRelId)
056: throws com.liferay.portal.SystemException,
057: com.liferay.portal.NoSuchPasswordPolicyRelException;
058:
059: public com.liferay.portal.model.PasswordPolicyRel fetchByPrimaryKey(
060: long passwordPolicyRelId)
061: throws com.liferay.portal.SystemException;
062:
063: public com.liferay.portal.model.PasswordPolicyRel findByC_C(
064: long classNameId, long classPK)
065: throws com.liferay.portal.SystemException,
066: com.liferay.portal.NoSuchPasswordPolicyRelException;
067:
068: public com.liferay.portal.model.PasswordPolicyRel fetchByC_C(
069: long classNameId, long classPK)
070: throws com.liferay.portal.SystemException;
071:
072: public com.liferay.portal.model.PasswordPolicyRel findByP_C_C(
073: long passwordPolicyId, long classNameId, long classPK)
074: throws com.liferay.portal.SystemException,
075: com.liferay.portal.NoSuchPasswordPolicyRelException;
076:
077: public com.liferay.portal.model.PasswordPolicyRel fetchByP_C_C(
078: long passwordPolicyId, long classNameId, long classPK)
079: throws com.liferay.portal.SystemException;
080:
081: public java.util.List findWithDynamicQuery(
082: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
083: throws com.liferay.portal.SystemException;
084:
085: public java.util.List findWithDynamicQuery(
086: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
087: int begin, int end)
088: throws com.liferay.portal.SystemException;
089:
090: public java.util.List findAll()
091: throws com.liferay.portal.SystemException;
092:
093: public java.util.List findAll(int begin, int end)
094: throws com.liferay.portal.SystemException;
095:
096: public java.util.List findAll(int begin, int end,
097: com.liferay.portal.kernel.util.OrderByComparator obc)
098: throws com.liferay.portal.SystemException;
099:
100: public void removeByC_C(long classNameId, long classPK)
101: throws com.liferay.portal.SystemException,
102: com.liferay.portal.NoSuchPasswordPolicyRelException;
103:
104: public void removeByP_C_C(long passwordPolicyId, long classNameId,
105: long classPK) throws com.liferay.portal.SystemException,
106: com.liferay.portal.NoSuchPasswordPolicyRelException;
107:
108: public void removeAll() throws com.liferay.portal.SystemException;
109:
110: public int countByC_C(long classNameId, long classPK)
111: throws com.liferay.portal.SystemException;
112:
113: public int countByP_C_C(long passwordPolicyId, long classNameId,
114: long classPK) throws com.liferay.portal.SystemException;
115:
116: public int countAll() throws com.liferay.portal.SystemException;
117: }
|