|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<UserTrackerPath>
com.liferay.portal.service.persistence.UserTrackerPathPersistenceImpl
public class UserTrackerPathPersistenceImpl
The persistence implementation for the user tracker path service.
Caching information and settings can be found in portal.properties
UserTrackerPathPersistence,
UserTrackerPathUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
UserTrackerPathPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the user tracker path persistence. |
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. |
void |
clearCache()
Clears the cache for all user tracker paths. |
void |
clearCache(List<UserTrackerPath> userTrackerPaths)
Clears the cache for a List instances of this model. |
void |
clearCache(UserTrackerPath userTrackerPath)
Clears the cache for the user tracker path. |
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. |
void |
destroy()
|
UserTrackerPath |
fetchByPrimaryKey(long userTrackerPathId)
Returns the user tracker path with the primary key or returns null if it could not be found. |
UserTrackerPath |
fetchByPrimaryKey(Serializable primaryKey)
Returns the user tracker path with the primary key or returns null if it could not be found. |
UserTrackerPath |
fetchByUserTrackerId_First(long userTrackerId,
OrderByComparator orderByComparator)
Returns the first user tracker path in the ordered set where userTrackerId = ?. |
UserTrackerPath |
fetchByUserTrackerId_Last(long userTrackerId,
OrderByComparator 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 orderByComparator)
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the user tracker path with the primary key or throws a NoSuchModelException if it could not be found. |
UserTrackerPath |
findByUserTrackerId_First(long userTrackerId,
OrderByComparator orderByComparator)
Returns the first user tracker path in the ordered set where userTrackerId = ?. |
UserTrackerPath |
findByUserTrackerId_Last(long userTrackerId,
OrderByComparator orderByComparator)
Returns the last user tracker path in the ordered set where userTrackerId = ?. |
UserTrackerPath[] |
findByUserTrackerId_PrevAndNext(long userTrackerPathId,
long userTrackerId,
OrderByComparator 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 orderByComparator)
Returns an ordered range of all the user tracker paths where userTrackerId = ?. |
protected Set<String> |
getBadColumnNames()
|
protected UserTrackerPath |
getByUserTrackerId_PrevAndNext(Session session,
UserTrackerPath userTrackerPath,
long userTrackerId,
OrderByComparator orderByComparator,
boolean previous)
|
UserTrackerPath |
remove(long userTrackerPathId)
Removes the user tracker path with the primary key from the database. |
UserTrackerPath |
remove(Serializable primaryKey)
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. |
protected UserTrackerPath |
removeImpl(UserTrackerPath userTrackerPath)
Removes the model instance from the database. |
protected UserTrackerPath |
toUnwrappedModel(UserTrackerPath userTrackerPath)
|
UserTrackerPath |
updateImpl(UserTrackerPath userTrackerPath)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERTRACKERID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERTRACKERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERTRACKERID
| Constructor Detail |
|---|
public UserTrackerPathPersistenceImpl()
| Method Detail |
|---|
public List<UserTrackerPath> findByUserTrackerId(long userTrackerId)
throws SystemException
findByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker ID
SystemException - if a system exception occurred
public List<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. 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.
findByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDstart - the lower bound of the range of user tracker pathsend - the upper bound of the range of user tracker paths (not inclusive)
SystemException - if a system exception occurred
public List<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. 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.
findByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDstart - the lower bound of the range of user tracker pathsend - the upper bound of the range of user tracker paths (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public UserTrackerPath findByUserTrackerId_First(long userTrackerId,
OrderByComparator orderByComparator)
throws NoSuchUserTrackerPathException,
SystemException
findByUserTrackerId_First in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserTrackerPathException - if a matching user tracker path could not be found
SystemException - if a system exception occurred
public UserTrackerPath fetchByUserTrackerId_First(long userTrackerId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUserTrackerId_First in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user tracker path could not be found
SystemException - if a system exception occurred
public UserTrackerPath findByUserTrackerId_Last(long userTrackerId,
OrderByComparator orderByComparator)
throws NoSuchUserTrackerPathException,
SystemException
findByUserTrackerId_Last in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserTrackerPathException - if a matching user tracker path could not be found
SystemException - if a system exception occurred
public UserTrackerPath fetchByUserTrackerId_Last(long userTrackerId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUserTrackerId_Last in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user tracker path could not be found
SystemException - if a system exception occurred
public UserTrackerPath[] findByUserTrackerId_PrevAndNext(long userTrackerPathId,
long userTrackerId,
OrderByComparator orderByComparator)
throws NoSuchUserTrackerPathException,
SystemException
findByUserTrackerId_PrevAndNext in interface UserTrackerPathPersistenceuserTrackerPathId - the primary key of the current user tracker pathuserTrackerId - the user tracker IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
protected UserTrackerPath getByUserTrackerId_PrevAndNext(Session session,
UserTrackerPath userTrackerPath,
long userTrackerId,
OrderByComparator orderByComparator,
boolean previous)
public void removeByUserTrackerId(long userTrackerId)
throws SystemException
removeByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker ID
SystemException - if a system exception occurred
public int countByUserTrackerId(long userTrackerId)
throws SystemException
countByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker ID
SystemException - if a system exception occurredpublic void cacheResult(UserTrackerPath userTrackerPath)
cacheResult in interface UserTrackerPathPersistenceuserTrackerPath - the user tracker pathpublic void cacheResult(List<UserTrackerPath> userTrackerPaths)
cacheResult in interface UserTrackerPathPersistenceuserTrackerPaths - the user tracker pathspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<UserTrackerPath>clearCache in class BasePersistenceImpl<UserTrackerPath>public void clearCache(UserTrackerPath userTrackerPath)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<UserTrackerPath>clearCache in class BasePersistenceImpl<UserTrackerPath>userTrackerPath - the instance of this model to clear the cache forpublic void clearCache(List<UserTrackerPath> userTrackerPaths)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<UserTrackerPath>clearCache in class BasePersistenceImpl<UserTrackerPath>userTrackerPaths - the List instances of this model to clear the cache forpublic UserTrackerPath create(long userTrackerPathId)
create in interface UserTrackerPathPersistenceuserTrackerPathId - the primary key for the new user tracker path
public UserTrackerPath remove(long userTrackerPathId)
throws NoSuchUserTrackerPathException,
SystemException
remove in interface UserTrackerPathPersistenceuserTrackerPathId - the primary key of the user tracker path
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
public UserTrackerPath remove(Serializable primaryKey)
throws NoSuchUserTrackerPathException,
SystemException
remove in interface BasePersistence<UserTrackerPath>remove in class BasePersistenceImpl<UserTrackerPath>primaryKey - the primary key of the user tracker path
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
protected UserTrackerPath removeImpl(UserTrackerPath userTrackerPath)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<UserTrackerPath>userTrackerPath - the model instance to remove
SystemException - if a system exception occurred
public UserTrackerPath updateImpl(UserTrackerPath userTrackerPath)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface UserTrackerPathPersistenceupdateImpl in class BasePersistenceImpl<UserTrackerPath>userTrackerPath - the model instance to update
SystemException - if a system exception occurredprotected UserTrackerPath toUnwrappedModel(UserTrackerPath userTrackerPath)
public UserTrackerPath findByPrimaryKey(Serializable primaryKey)
throws NoSuchUserTrackerPathException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<UserTrackerPath>findByPrimaryKey in class BasePersistenceImpl<UserTrackerPath>primaryKey - the primary key of the user tracker path
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
public UserTrackerPath findByPrimaryKey(long userTrackerPathId)
throws NoSuchUserTrackerPathException,
SystemException
NoSuchUserTrackerPathException if it could not be found.
findByPrimaryKey in interface UserTrackerPathPersistenceuserTrackerPathId - the primary key of the user tracker path
NoSuchUserTrackerPathException - if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
public UserTrackerPath fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<UserTrackerPath>fetchByPrimaryKey in class BasePersistenceImpl<UserTrackerPath>primaryKey - the primary key of the user tracker path
null if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
public UserTrackerPath fetchByPrimaryKey(long userTrackerPathId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface UserTrackerPathPersistenceuserTrackerPathId - the primary key of the user tracker path
null if a user tracker path with the primary key could not be found
SystemException - if a system exception occurred
public List<UserTrackerPath> findAll()
throws SystemException
findAll in interface UserTrackerPathPersistenceSystemException - if a system exception occurred
public List<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. 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.
findAll in interface UserTrackerPathPersistencestart - the lower bound of the range of user tracker pathsend - the upper bound of the range of user tracker paths (not inclusive)
SystemException - if a system exception occurred
public List<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. 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.
findAll in interface UserTrackerPathPersistencestart - the lower bound of the range of user tracker pathsend - the upper bound of the range of user tracker paths (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface UserTrackerPathPersistenceSystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface UserTrackerPathPersistenceSystemException - if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<UserTrackerPath>public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||