com.liferay.portal.service.persistence
Interface UserTrackerPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface UserTrackerPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countAll()
|
int |
countByCompanyId(long companyId)
|
int |
countBySessionId(java.lang.String sessionId)
|
int |
countByUserId(long userId)
|
UserTracker |
create(long userTrackerId)
|
UserTracker |
fetchByPrimaryKey(long userTrackerId)
|
java.util.List<UserTracker> |
findAll()
|
java.util.List<UserTracker> |
findAll(int start,
int end)
|
java.util.List<UserTracker> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker[] |
findByCompanyId_PrevAndNext(long userTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserTracker> |
findByCompanyId(long companyId)
|
java.util.List<UserTracker> |
findByCompanyId(long companyId,
int start,
int end)
|
java.util.List<UserTracker> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findByPrimaryKey(long userTrackerId)
|
UserTracker |
findBySessionId_First(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findBySessionId_Last(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker[] |
findBySessionId_PrevAndNext(long userTrackerId,
java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId)
|
java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId,
int start,
int end)
|
java.util.List<UserTracker> |
findBySessionId(java.lang.String sessionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserTracker[] |
findByUserId_PrevAndNext(long userTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserTracker> |
findByUserId(long userId)
|
java.util.List<UserTracker> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<UserTracker> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
UserTracker |
remove(long userTrackerId)
|
UserTracker |
remove(UserTracker userTracker)
|
void |
removeAll()
|
void |
removeByCompanyId(long companyId)
|
void |
removeBySessionId(java.lang.String sessionId)
|
void |
removeByUserId(long userId)
|
UserTracker |
update(UserTracker userTracker)
Deprecated. Use update(UserTracker userTracker, boolean merge) . |
UserTracker |
update(UserTracker userTracker,
boolean merge)
Add, update, or merge, the entity. |
UserTracker |
updateImpl(UserTracker userTracker,
boolean merge)
|
create
UserTracker create(long userTrackerId)
remove
UserTracker remove(long userTrackerId)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
remove
UserTracker remove(UserTracker userTracker)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
UserTracker update(UserTracker userTracker)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(UserTracker userTracker, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
UserTracker update(UserTracker userTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
userTracker
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when userTracker is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
UserTracker updateImpl(UserTracker userTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findByPrimaryKey(long userTrackerId)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
fetchByPrimaryKey
UserTracker fetchByPrimaryKey(long userTrackerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByCompanyId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker[] findByCompanyId_PrevAndNext(long userTrackerId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findByUserId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker[] findByUserId_PrevAndNext(long userTrackerId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findBySessionId(java.lang.String sessionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySessionId_First
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findBySessionId_First(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId_Last
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker findBySessionId_Last(java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findBySessionId_PrevAndNext
@Transactional(propagation=SUPPORTS,
readOnly=true)
UserTracker[] findBySessionId_PrevAndNext(long userTrackerId,
java.lang.String sessionId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchUserTrackerException
com.liferay.portal.SystemException
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findWithDynamicQuery
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<UserTracker> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeBySessionId
void removeBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countBySessionId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countBySessionId(java.lang.String sessionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException