com.liferay.portal.service.persistence
Class ActivityTrackerUtil
java.lang.Object
com.liferay.portal.service.persistence.ActivityTrackerUtil
- public class ActivityTrackerUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByC_C(long classNameId,
long classPK)
|
static int |
countByCompanyId(long companyId)
|
static int |
countByGroupId(long groupId)
|
static int |
countByReceiverUserId(long receiverUserId)
|
static int |
countByUserId(long userId)
|
static ActivityTracker |
create(long activityTrackerId)
|
static ActivityTracker |
fetchByPrimaryKey(long activityTrackerId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker[] |
findByC_C_PrevAndNext(long activityTrackerId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByC_C(long classNameId,
long classPK)
|
static java.util.List |
findByC_C(long classNameId,
long classPK,
int begin,
int end)
|
static java.util.List |
findByC_C(long classNameId,
long classPK,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker[] |
findByCompanyId_PrevAndNext(long activityTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker[] |
findByGroupId_PrevAndNext(long activityTrackerId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByGroupId(long groupId)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByPrimaryKey(long activityTrackerId)
|
static ActivityTracker |
findByReceiverUserId_First(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByReceiverUserId_Last(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker[] |
findByReceiverUserId_PrevAndNext(long activityTrackerId,
long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByReceiverUserId(long receiverUserId)
|
static java.util.List |
findByReceiverUserId(long receiverUserId,
int begin,
int end)
|
static java.util.List |
findByReceiverUserId(long receiverUserId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static ActivityTracker[] |
findByUserId_PrevAndNext(long activityTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByUserId(long userId)
|
static java.util.List |
findByUserId(long userId,
int begin,
int end)
|
static java.util.List |
findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static ActivityTrackerPersistence |
getPersistence()
|
static ActivityTracker |
remove(ActivityTracker activityTracker)
|
static ActivityTracker |
remove(long activityTrackerId)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
long classPK)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByReceiverUserId(long receiverUserId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(ActivityTrackerPersistence persistence)
|
static ActivityTracker |
update(ActivityTracker activityTracker)
|
static ActivityTracker |
update(ActivityTracker activityTracker,
boolean merge)
|
static ActivityTracker |
updateImpl(ActivityTracker activityTracker,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivityTrackerUtil
public ActivityTrackerUtil()
create
public static ActivityTracker create(long activityTrackerId)
remove
public static ActivityTracker remove(long activityTrackerId)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
remove
public static ActivityTracker remove(ActivityTracker activityTracker)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static ActivityTracker update(ActivityTracker activityTracker)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static ActivityTracker update(ActivityTracker activityTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public static ActivityTracker updateImpl(ActivityTracker activityTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static ActivityTracker findByPrimaryKey(long activityTrackerId)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
fetchByPrimaryKey
public static ActivityTracker fetchByPrimaryKey(long activityTrackerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static ActivityTracker findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByGroupId_Last
public static ActivityTracker findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByGroupId_PrevAndNext
public static ActivityTracker[] findByGroupId_PrevAndNext(long activityTrackerId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static ActivityTracker findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByCompanyId_Last
public static ActivityTracker findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByCompanyId_PrevAndNext
public static ActivityTracker[] findByCompanyId_PrevAndNext(long activityTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByUserId
public static java.util.List findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List findByUserId(long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public static java.util.List findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public static ActivityTracker findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByUserId_Last
public static ActivityTracker findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByUserId_PrevAndNext
public static ActivityTracker[] findByUserId_PrevAndNext(long activityTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByReceiverUserId
public static java.util.List findByReceiverUserId(long receiverUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByReceiverUserId
public static java.util.List findByReceiverUserId(long receiverUserId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByReceiverUserId
public static java.util.List findByReceiverUserId(long receiverUserId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByReceiverUserId_First
public static ActivityTracker findByReceiverUserId_First(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByReceiverUserId_Last
public static ActivityTracker findByReceiverUserId_Last(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByReceiverUserId_PrevAndNext
public static ActivityTracker[] findByReceiverUserId_PrevAndNext(long activityTrackerId,
long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByC_C
public static java.util.List findByC_C(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static java.util.List findByC_C(long classNameId,
long classPK,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C
public static java.util.List findByC_C(long classNameId,
long classPK,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_First
public static ActivityTracker findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByC_C_Last
public static ActivityTracker findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findByC_C_PrevAndNext
public static ActivityTracker[] findByC_C_PrevAndNext(long activityTrackerId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchActivityTrackerException
- Throws:
com.liferay.portal.SystemException
NoSuchActivityTrackerException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
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
removeByReceiverUserId
public static void removeByReceiverUserId(long receiverUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
long classPK)
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
countByGroupId
public static int countByGroupId(long groupId)
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
countByReceiverUserId
public static int countByReceiverUserId(long receiverUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
public static int countByC_C(long classNameId,
long classPK)
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 ActivityTrackerPersistence getPersistence()
setPersistence
public void setPersistence(ActivityTrackerPersistence persistence)