com.liferay.portal.service.persistence
Interface BrowserTrackerPersistence
- All Superinterfaces:
- BasePersistence
public interface BrowserTrackerPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(BrowserTracker browserTracker)
|
void |
cacheResult(java.util.List<BrowserTracker> browserTrackers)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByUserId(long userId)
|
BrowserTracker |
create(long browserTrackerId)
|
BrowserTracker |
fetchByPrimaryKey(long browserTrackerId)
|
BrowserTracker |
fetchByUserId(long userId)
|
BrowserTracker |
fetchByUserId(long userId,
boolean retrieveFromCache)
|
java.util.List<BrowserTracker> |
findAll()
|
java.util.List<BrowserTracker> |
findAll(int start,
int end)
|
java.util.List<BrowserTracker> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
BrowserTracker |
findByPrimaryKey(long browserTrackerId)
|
BrowserTracker |
findByUserId(long userId)
|
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)
|
BrowserTracker |
remove(BrowserTracker browserTracker)
|
BrowserTracker |
remove(long browserTrackerId)
|
void |
removeAll()
|
void |
removeByUserId(long userId)
|
BrowserTracker |
update(BrowserTracker browserTracker)
Deprecated. Use update(BrowserTracker browserTracker, boolean merge) . |
BrowserTracker |
update(BrowserTracker browserTracker,
boolean merge)
Add, update, or merge, the entity. |
BrowserTracker |
updateImpl(BrowserTracker browserTracker,
boolean merge)
|
cacheResult
void cacheResult(BrowserTracker browserTracker)
cacheResult
void cacheResult(java.util.List<BrowserTracker> browserTrackers)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
BrowserTracker create(long browserTrackerId)
remove
BrowserTracker remove(long browserTrackerId)
throws NoSuchBrowserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchBrowserTrackerException
com.liferay.portal.SystemException
remove
BrowserTracker remove(BrowserTracker browserTracker)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
BrowserTracker update(BrowserTracker browserTracker)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(BrowserTracker browserTracker, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
BrowserTracker update(BrowserTracker browserTracker,
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:
browserTracker
- 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 browserTracker 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
BrowserTracker updateImpl(BrowserTracker browserTracker,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
BrowserTracker findByPrimaryKey(long browserTrackerId)
throws NoSuchBrowserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchBrowserTrackerException
com.liferay.portal.SystemException
fetchByPrimaryKey
BrowserTracker fetchByPrimaryKey(long browserTrackerId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
BrowserTracker findByUserId(long userId)
throws NoSuchBrowserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchBrowserTrackerException
com.liferay.portal.SystemException
fetchByUserId
BrowserTracker fetchByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUserId
BrowserTracker fetchByUserId(long userId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
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
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
java.util.List<BrowserTracker> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<BrowserTracker> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<BrowserTracker> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
void removeByUserId(long userId)
throws NoSuchBrowserTrackerException,
com.liferay.portal.SystemException
- Throws:
NoSuchBrowserTrackerException
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException