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="UserTrackerPathPersistence.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public interface UserTrackerPathPersistence {
030: public com.liferay.portal.model.UserTrackerPath create(
031: long userTrackerPathId);
032:
033: public com.liferay.portal.model.UserTrackerPath remove(
034: long userTrackerPathId)
035: throws com.liferay.portal.SystemException,
036: com.liferay.portal.NoSuchUserTrackerPathException;
037:
038: public com.liferay.portal.model.UserTrackerPath remove(
039: com.liferay.portal.model.UserTrackerPath userTrackerPath)
040: throws com.liferay.portal.SystemException;
041:
042: public com.liferay.portal.model.UserTrackerPath update(
043: com.liferay.portal.model.UserTrackerPath userTrackerPath)
044: throws com.liferay.portal.SystemException;
045:
046: public com.liferay.portal.model.UserTrackerPath update(
047: com.liferay.portal.model.UserTrackerPath userTrackerPath,
048: boolean merge) throws com.liferay.portal.SystemException;
049:
050: public com.liferay.portal.model.UserTrackerPath updateImpl(
051: com.liferay.portal.model.UserTrackerPath userTrackerPath,
052: boolean merge) throws com.liferay.portal.SystemException;
053:
054: public com.liferay.portal.model.UserTrackerPath findByPrimaryKey(
055: long userTrackerPathId)
056: throws com.liferay.portal.SystemException,
057: com.liferay.portal.NoSuchUserTrackerPathException;
058:
059: public com.liferay.portal.model.UserTrackerPath fetchByPrimaryKey(
060: long userTrackerPathId)
061: throws com.liferay.portal.SystemException;
062:
063: public java.util.List findByUserTrackerId(long userTrackerId)
064: throws com.liferay.portal.SystemException;
065:
066: public java.util.List findByUserTrackerId(long userTrackerId,
067: int begin, int end)
068: throws com.liferay.portal.SystemException;
069:
070: public java.util.List findByUserTrackerId(long userTrackerId,
071: int begin, int end,
072: com.liferay.portal.kernel.util.OrderByComparator obc)
073: throws com.liferay.portal.SystemException;
074:
075: public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_First(
076: long userTrackerId,
077: com.liferay.portal.kernel.util.OrderByComparator obc)
078: throws com.liferay.portal.SystemException,
079: com.liferay.portal.NoSuchUserTrackerPathException;
080:
081: public com.liferay.portal.model.UserTrackerPath findByUserTrackerId_Last(
082: long userTrackerId,
083: com.liferay.portal.kernel.util.OrderByComparator obc)
084: throws com.liferay.portal.SystemException,
085: com.liferay.portal.NoSuchUserTrackerPathException;
086:
087: public com.liferay.portal.model.UserTrackerPath[] findByUserTrackerId_PrevAndNext(
088: long userTrackerPathId, long userTrackerId,
089: com.liferay.portal.kernel.util.OrderByComparator obc)
090: throws com.liferay.portal.SystemException,
091: com.liferay.portal.NoSuchUserTrackerPathException;
092:
093: public java.util.List findWithDynamicQuery(
094: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
095: throws com.liferay.portal.SystemException;
096:
097: public java.util.List findWithDynamicQuery(
098: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
099: int begin, int end)
100: throws com.liferay.portal.SystemException;
101:
102: public java.util.List findAll()
103: throws com.liferay.portal.SystemException;
104:
105: public java.util.List findAll(int begin, int end)
106: throws com.liferay.portal.SystemException;
107:
108: public java.util.List findAll(int begin, int end,
109: com.liferay.portal.kernel.util.OrderByComparator obc)
110: throws com.liferay.portal.SystemException;
111:
112: public void removeByUserTrackerId(long userTrackerId)
113: throws com.liferay.portal.SystemException;
114:
115: public void removeAll() throws com.liferay.portal.SystemException;
116:
117: public int countByUserTrackerId(long userTrackerId)
118: throws com.liferay.portal.SystemException;
119:
120: public int countAll() throws com.liferay.portal.SystemException;
121: }
|