Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Interface UserTrackerPathPersistence

All Superinterfaces:
BasePersistence<UserTrackerPath>
All Known Implementing Classes:
UserTrackerPathPersistenceImpl

@ProviderType
public interface UserTrackerPathPersistence
extends BasePersistence<UserTrackerPath>

The persistence interface for the user tracker path service.

Caching information and settings can be found in portal.properties

See Also:
UserTrackerPathPersistenceImpl, UserTrackerPathUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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()
          Returns the number of user tracker paths.
 int countByUserTrackerId(long userTrackerId)
          Returns the number of user tracker paths where userTrackerId = ?.
 UserTrackerPath create(long userTrackerPathId)
          Creates a new user tracker path with the primary key.
 UserTrackerPath fetchByPrimaryKey(long userTrackerPathId)
          Returns the user tracker path with the primary key or returns null if it could not be found.
 Map<Serializable,UserTrackerPath> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 UserTrackerPath fetchByUserTrackerId_First(long userTrackerId, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns the first user tracker path in the ordered set where userTrackerId = ?.
 UserTrackerPath fetchByUserTrackerId_Last(long userTrackerId, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns the last user tracker path in the ordered set where userTrackerId = ?.
 List<UserTrackerPath> findAll()
          Returns all the user tracker paths.
 List<UserTrackerPath> findAll(int start, int end)
          Returns a range of all the user tracker paths.
 List<UserTrackerPath> findAll(int start, int end, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns an ordered range of all the user tracker paths.
 List<UserTrackerPath> findAll(int start, int end, OrderByComparator<UserTrackerPath> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user tracker paths.
 UserTrackerPath findByPrimaryKey(long userTrackerPathId)
          Returns the user tracker path with the primary key or throws a NoSuchUserTrackerPathException if it could not be found.
 UserTrackerPath findByUserTrackerId_First(long userTrackerId, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns the first user tracker path in the ordered set where userTrackerId = ?.
 UserTrackerPath findByUserTrackerId_Last(long userTrackerId, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns the last user tracker path in the ordered set where userTrackerId = ?.
 UserTrackerPath[] findByUserTrackerId_PrevAndNext(long userTrackerPathId, long userTrackerId, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns the user tracker paths before and after the current user tracker path in the ordered set where userTrackerId = ?.
 List<UserTrackerPath> findByUserTrackerId(long userTrackerId)
          Returns all the user tracker paths where userTrackerId = ?.
 List<UserTrackerPath> findByUserTrackerId(long userTrackerId, int start, int end)
          Returns a range of all the user tracker paths where userTrackerId = ?.
 List<UserTrackerPath> findByUserTrackerId(long userTrackerId, int start, int end, OrderByComparator<UserTrackerPath> orderByComparator)
          Returns an ordered range of all the user tracker paths where userTrackerId = ?.
 List<UserTrackerPath> findByUserTrackerId(long userTrackerId, int start, int end, OrderByComparator<UserTrackerPath> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user tracker paths where userTrackerId = ?.
 Set<String> getBadColumnNames()
           
 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)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUserTrackerId

List<UserTrackerPath> findByUserTrackerId(long userTrackerId)
Returns all the user tracker paths where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
Returns:
the matching user tracker paths

findByUserTrackerId

List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
                                          int start,
                                          int end)
Returns a range of all the user tracker paths where userTrackerId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
userTrackerId - the user tracker ID
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
Returns:
the range of matching user tracker paths

findByUserTrackerId

List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
                                          int start,
                                          int end,
                                          OrderByComparator<UserTrackerPath> orderByComparator)
Returns an ordered range of all the user tracker paths where userTrackerId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
userTrackerId - the user tracker ID
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching user tracker paths

findByUserTrackerId

List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
                                          int start,
                                          int end,
                                          OrderByComparator<UserTrackerPath> orderByComparator,
                                          boolean retrieveFromCache)
Returns an ordered range of all the user tracker paths where userTrackerId = ?.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
userTrackerId - the user tracker ID
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user tracker paths

findByUserTrackerId_First

UserTrackerPath findByUserTrackerId_First(long userTrackerId,
                                          OrderByComparator<UserTrackerPath> orderByComparator)
                                          throws NoSuchUserTrackerPathException
Returns the first user tracker path in the ordered set where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user tracker path
Throws:
NoSuchUserTrackerPathException - if a matching user tracker path could not be found

fetchByUserTrackerId_First

UserTrackerPath fetchByUserTrackerId_First(long userTrackerId,
                                           OrderByComparator<UserTrackerPath> orderByComparator)
Returns the first user tracker path in the ordered set where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user tracker path, or null if a matching user tracker path could not be found

findByUserTrackerId_Last

UserTrackerPath findByUserTrackerId_Last(long userTrackerId,
                                         OrderByComparator<UserTrackerPath> orderByComparator)
                                         throws NoSuchUserTrackerPathException
Returns the last user tracker path in the ordered set where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user tracker path
Throws:
NoSuchUserTrackerPathException - if a matching user tracker path could not be found

fetchByUserTrackerId_Last

UserTrackerPath fetchByUserTrackerId_Last(long userTrackerId,
                                          OrderByComparator<UserTrackerPath> orderByComparator)
Returns the last user tracker path in the ordered set where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user tracker path, or null if a matching user tracker path could not be found

findByUserTrackerId_PrevAndNext

UserTrackerPath[] findByUserTrackerId_PrevAndNext(long userTrackerPathId,
                                                  long userTrackerId,
                                                  OrderByComparator<UserTrackerPath> orderByComparator)
                                                  throws NoSuchUserTrackerPathException
Returns the user tracker paths before and after the current user tracker path in the ordered set where userTrackerId = ?.

Parameters:
userTrackerPathId - the primary key of the current user tracker path
userTrackerId - the user tracker ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user tracker path
Throws:
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found

removeByUserTrackerId

void removeByUserTrackerId(long userTrackerId)
Removes all the user tracker paths where userTrackerId = ? from the database.

Parameters:
userTrackerId - the user tracker ID

countByUserTrackerId

int countByUserTrackerId(long userTrackerId)
Returns the number of user tracker paths where userTrackerId = ?.

Parameters:
userTrackerId - the user tracker ID
Returns:
the number of matching user tracker paths

cacheResult

void cacheResult(UserTrackerPath userTrackerPath)
Caches the user tracker path in the entity cache if it is enabled.

Parameters:
userTrackerPath - the user tracker path

cacheResult

void cacheResult(List<UserTrackerPath> userTrackerPaths)
Caches the user tracker paths in the entity cache if it is enabled.

Parameters:
userTrackerPaths - the user tracker paths

create

UserTrackerPath create(long userTrackerPathId)
Creates a new user tracker path with the primary key. Does not add the user tracker path to the database.

Parameters:
userTrackerPathId - the primary key for the new user tracker path
Returns:
the new user tracker path

remove

UserTrackerPath remove(long userTrackerPathId)
                       throws NoSuchUserTrackerPathException
Removes the user tracker path with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
userTrackerPathId - the primary key of the user tracker path
Returns:
the user tracker path that was removed
Throws:
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found

updateImpl

UserTrackerPath updateImpl(UserTrackerPath userTrackerPath)

findByPrimaryKey

UserTrackerPath findByPrimaryKey(long userTrackerPathId)
                                 throws NoSuchUserTrackerPathException
Returns the user tracker path with the primary key or throws a NoSuchUserTrackerPathException if it could not be found.

Parameters:
userTrackerPathId - the primary key of the user tracker path
Returns:
the user tracker path
Throws:
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found

fetchByPrimaryKey

UserTrackerPath fetchByPrimaryKey(long userTrackerPathId)
Returns the user tracker path with the primary key or returns null if it could not be found.

Parameters:
userTrackerPathId - the primary key of the user tracker path
Returns:
the user tracker path, or null if a user tracker path with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,UserTrackerPath> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<UserTrackerPath>

findAll

List<UserTrackerPath> findAll()
Returns all the user tracker paths.

Returns:
the user tracker paths

findAll

List<UserTrackerPath> findAll(int start,
                              int end)
Returns a range of all the user tracker paths.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
Returns:
the range of user tracker paths

findAll

List<UserTrackerPath> findAll(int start,
                              int end,
                              OrderByComparator<UserTrackerPath> orderByComparator)
Returns an ordered range of all the user tracker paths.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of user tracker paths

findAll

List<UserTrackerPath> findAll(int start,
                              int end,
                              OrderByComparator<UserTrackerPath> orderByComparator,
                              boolean retrieveFromCache)
Returns an ordered range of all the user tracker paths.

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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserTrackerPathModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of user tracker paths
end - the upper bound of the range of user tracker paths (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of user tracker paths

removeAll

void removeAll()
Removes all the user tracker paths from the database.


countAll

int countAll()
Returns the number of user tracker paths.

Returns:
the number of user tracker paths

getBadColumnNames

Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<UserTrackerPath>

Liferay 7.0-ce-b4