|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserTrackerPathPersistence
The persistence interface for the user tracker path service.
Never modify or reference this interface directly. Always use UserTrackerPathUtil
to access the user tracker path persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
UserTrackerPathPersistenceImpl
,
UserTrackerPathUtil
Method Summary | |
---|---|
void |
cacheResult(List<UserTrackerPath> userTrackerPaths)
Caches the user tracker paths in the entity cache if it is enabled. |
void |
cacheResult(UserTrackerPath userTrackerPath)
Caches the user tracker path in the entity cache if it is enabled. |
int |
countAll()
Counts all the user tracker paths. |
int |
countByUserTrackerId(long userTrackerId)
Counts all the user tracker paths where userTrackerId = ?. |
UserTrackerPath |
create(long userTrackerPathId)
Creates a new user tracker path with the primary key. |
UserTrackerPath |
fetchByPrimaryKey(long userTrackerPathId)
Finds the user tracker path with the primary key or returns null if it could not be found. |
List<UserTrackerPath> |
findAll()
Finds all the user tracker paths. |
List<UserTrackerPath> |
findAll(int start,
int end)
Finds a range of all the user tracker paths. |
List<UserTrackerPath> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the user tracker paths. |
UserTrackerPath |
findByPrimaryKey(long userTrackerPathId)
Finds the user tracker path with the primary key or throws a NoSuchUserTrackerPathException if it could not be found. |
UserTrackerPath |
findByUserTrackerId_First(long userTrackerId,
OrderByComparator orderByComparator)
Finds the first user tracker path in the ordered set where userTrackerId = ?. |
UserTrackerPath |
findByUserTrackerId_Last(long userTrackerId,
OrderByComparator orderByComparator)
Finds the last user tracker path in the ordered set where userTrackerId = ?. |
UserTrackerPath[] |
findByUserTrackerId_PrevAndNext(long userTrackerPathId,
long userTrackerId,
OrderByComparator orderByComparator)
Finds the user tracker paths before and after the current user tracker path in the ordered set where userTrackerId = ?. |
List<UserTrackerPath> |
findByUserTrackerId(long userTrackerId)
Finds all the user tracker paths where userTrackerId = ?. |
List<UserTrackerPath> |
findByUserTrackerId(long userTrackerId,
int start,
int end)
Finds a range of all the user tracker paths where userTrackerId = ?. |
List<UserTrackerPath> |
findByUserTrackerId(long userTrackerId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the user tracker paths where userTrackerId = ?. |
UserTrackerPath |
remove(long userTrackerPathId)
Removes the user tracker path with the primary key from the database. |
void |
removeAll()
Removes all the user tracker paths from the database. |
void |
removeByUserTrackerId(long userTrackerId)
Removes all the user tracker paths where userTrackerId = ? from the database. |
UserTrackerPath |
updateImpl(UserTrackerPath userTrackerPath,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(UserTrackerPath userTrackerPath)
userTrackerPath
- the user tracker path to cachevoid cacheResult(List<UserTrackerPath> userTrackerPaths)
userTrackerPaths
- the user tracker paths to cacheUserTrackerPath create(long userTrackerPathId)
userTrackerPathId
- the primary key for the new user tracker path
UserTrackerPath remove(long userTrackerPathId) throws NoSuchUserTrackerPathException, SystemException
userTrackerPathId
- the primary key of the user tracker path to remove
NoSuchUserTrackerPathException
- if a user tracker path with the primary key could not be found
SystemException
- if a system exception occurredUserTrackerPath updateImpl(UserTrackerPath userTrackerPath, boolean merge) throws SystemException
SystemException
UserTrackerPath findByPrimaryKey(long userTrackerPathId) throws NoSuchUserTrackerPathException, SystemException
NoSuchUserTrackerPathException
if it could not be found.
userTrackerPathId
- the primary key of the user tracker path to find
NoSuchUserTrackerPathException
- if a user tracker path with the primary key could not be found
SystemException
- if a system exception occurredUserTrackerPath fetchByPrimaryKey(long userTrackerPathId) throws SystemException
null
if it could not be found.
userTrackerPathId
- the primary key of the user tracker path to find
null
if a user tracker path with the primary key could not be found
SystemException
- if a system exception occurredList<UserTrackerPath> findByUserTrackerId(long userTrackerId) throws SystemException
userTrackerId
- the user tracker id to search with
SystemException
- if a system exception occurredList<UserTrackerPath> findByUserTrackerId(long userTrackerId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userTrackerId
- the user tracker id to search withstart
- the lower bound of the range of user tracker paths to returnend
- the upper bound of the range of user tracker paths to return (not inclusive)
SystemException
- if a system exception occurredList<UserTrackerPath> findByUserTrackerId(long userTrackerId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userTrackerId
- the user tracker id to search withstart
- the lower bound of the range of user tracker paths to returnend
- the upper bound of the range of user tracker paths to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredUserTrackerPath findByUserTrackerId_First(long userTrackerId, OrderByComparator orderByComparator) throws NoSuchUserTrackerPathException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userTrackerId
- the user tracker id to search withorderByComparator
- the comparator to order the set by
NoSuchUserTrackerPathException
- if a matching user tracker path could not be found
SystemException
- if a system exception occurredUserTrackerPath findByUserTrackerId_Last(long userTrackerId, OrderByComparator orderByComparator) throws NoSuchUserTrackerPathException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userTrackerId
- the user tracker id to search withorderByComparator
- the comparator to order the set by
NoSuchUserTrackerPathException
- if a matching user tracker path could not be found
SystemException
- if a system exception occurredUserTrackerPath[] findByUserTrackerId_PrevAndNext(long userTrackerPathId, long userTrackerId, OrderByComparator orderByComparator) throws NoSuchUserTrackerPathException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
userTrackerPathId
- the primary key of the current user tracker pathuserTrackerId
- the user tracker id to search withorderByComparator
- the comparator to order the set by
NoSuchUserTrackerPathException
- if a user tracker path with the primary key could not be found
SystemException
- if a system exception occurredList<UserTrackerPath> findAll() throws SystemException
SystemException
- if a system exception occurredList<UserTrackerPath> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of user tracker paths to returnend
- the upper bound of the range of user tracker paths to return (not inclusive)
SystemException
- if a system exception occurredList<UserTrackerPath> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
start
- the lower bound of the range of user tracker paths to returnend
- the upper bound of the range of user tracker paths to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByUserTrackerId(long userTrackerId) throws SystemException
userTrackerId
- the user tracker id to search with
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUserTrackerId(long userTrackerId) throws SystemException
userTrackerId
- the user tracker id to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |