com.liferay.portal.service.persistence
Class UserTrackerUtil
java.lang.Object
com.liferay.portal.service.persistence.UserTrackerUtil
public class UserTrackerUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
UserTrackerPersistence
,
UserTrackerPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<UserTracker> userTrackers)
|
static void |
cacheResult(UserTracker userTracker)
|
static void |
clearCache()
|
static void |
clearCache(UserTracker userTracker)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countBySessionId(java.lang.String sessionId)
|
static int |
countByUserId(long userId)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static UserTracker |
create(long userTrackerId)
|
static UserTracker |
fetchByPrimaryKey(long userTrackerId)
|
static java.util.List<UserTracker> |
findAll()
|
static java.util.List<UserTracker> |
findAll(int start,
int end)
|
static java.util.List<UserTracker> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker[] |
findByCompanyId_PrevAndNext(long userTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<UserTracker> |
findByCompanyId(long companyId)
|
static java.util.List<UserTracker> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<UserTracker> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findByPrimaryKey(long userTrackerId)
|
static UserTracker |
findBySessionId_First(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findBySessionId_Last(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker[] |
findBySessionId_PrevAndNext(long userTrackerId,
java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId)
|
static java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId,
int start,
int end)
|
static java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static UserTracker[] |
findByUserId_PrevAndNext(long userTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<UserTracker> |
findByUserId(long userId)
|
static java.util.List<UserTracker> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<UserTracker> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static UserTrackerPersistence |
getPersistence()
|
static UserTracker |
remove(long userTrackerId)
|
static UserTracker |
remove(UserTracker userTracker)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeBySessionId(java.lang.String sessionId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(UserTrackerPersistence persistence)
|
static UserTracker |
update(UserTracker userTracker)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static UserTracker |
update(UserTracker userTracker,
boolean merge)
|
static UserTracker |
updateImpl(UserTracker userTracker,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserTrackerUtil
public UserTrackerUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(UserTracker userTracker)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(UserTracker)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static UserTracker remove(UserTracker userTracker)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static UserTracker update(UserTracker userTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(UserTracker userTracker)
cacheResult
public static void cacheResult(java.util.List<UserTracker> userTrackers)
create
public static UserTracker create(long userTrackerId)
remove
public static UserTracker remove(long userTrackerId)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
update
public static UserTracker update(UserTracker userTracker)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static UserTracker updateImpl(UserTracker userTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static UserTracker findByPrimaryKey(long userTrackerId)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static UserTracker fetchByPrimaryKey(long userTrackerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<UserTracker> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<UserTracker> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<UserTracker> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static UserTracker findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByCompanyId_Last
public static UserTracker findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public static UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId
public static java.util.List<UserTracker> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<UserTracker> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List<UserTracker> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public static UserTracker findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId_Last
public static UserTracker findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId_PrevAndNext
public static UserTracker[] findByUserId_PrevAndNext(long userTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId
public static java.util.List<UserTracker> findBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId
public static java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId
public static java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId_First
public static UserTracker findBySessionId_First(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId_Last
public static UserTracker findBySessionId_Last(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId_PrevAndNext
public static UserTracker[] findBySessionId_PrevAndNext(long userTrackerId,
java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findAll
public static java.util.List<UserTracker> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<UserTracker> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<UserTracker> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
public static void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySessionId
public static void removeBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySessionId
public static int countBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static UserTrackerPersistence getPersistence()
setPersistence
public void setPersistence(UserTrackerPersistence persistence)