|
Liferay 7.0-ce-b4 | |||||||||
| 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.impl.UserTrackerPathPersistenceImpl
@ProviderType public class UserTrackerPathPersistenceImpl
The persistence implementation for the user tracker path service.
Caching information and settings can be found in portal.properties
UserTrackerPathPersistence,
UserTrackerPathUtil| Field Summary | |
|---|---|
protected CompanyProvider |
companyProvider
|
protected EntityCache |
entityCache
|
static String |
FINDER_CLASS_NAME_ENTITY
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
|
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
|
static FinderPath |
FINDER_PATH_COUNT_ALL
|
static FinderPath |
FINDER_PATH_COUNT_BY_USERTRACKERID
|
static FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL
|
static FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_USERTRACKERID
|
static FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
|
static FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERTRACKERID
|
protected FinderCache |
finderCache
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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. |
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 |
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<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()
|
protected UserTrackerPath |
getByUserTrackerId_PrevAndNext(Session session,
UserTrackerPath userTrackerPath,
long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
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, getColumnName, 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
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public UserTrackerPathPersistenceImpl()
| Method Detail |
|---|
public List<UserTrackerPath> findByUserTrackerId(long userTrackerId)
findByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker ID
public List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
int start,
int end)
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)
public List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
int start,
int end,
OrderByComparator<UserTrackerPath> orderByComparator)
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)
public List<UserTrackerPath> findByUserTrackerId(long userTrackerId,
int start,
int end,
OrderByComparator<UserTrackerPath> orderByComparator,
boolean retrieveFromCache)
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)retrieveFromCache - whether to retrieve from the finder cache
public UserTrackerPath findByUserTrackerId_First(long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator)
throws NoSuchUserTrackerPathException
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
public UserTrackerPath fetchByUserTrackerId_First(long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator)
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
public UserTrackerPath findByUserTrackerId_Last(long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator)
throws NoSuchUserTrackerPathException
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
public UserTrackerPath fetchByUserTrackerId_Last(long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator)
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
public UserTrackerPath[] findByUserTrackerId_PrevAndNext(long userTrackerPathId,
long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator)
throws NoSuchUserTrackerPathException
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
protected UserTrackerPath getByUserTrackerId_PrevAndNext(Session session,
UserTrackerPath userTrackerPath,
long userTrackerId,
OrderByComparator<UserTrackerPath> orderByComparator,
boolean previous)
public void removeByUserTrackerId(long userTrackerId)
removeByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker IDpublic int countByUserTrackerId(long userTrackerId)
countByUserTrackerId in interface UserTrackerPathPersistenceuserTrackerId - the user tracker ID
public 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
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
public UserTrackerPath remove(Serializable primaryKey)
throws NoSuchUserTrackerPathException
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 foundprotected UserTrackerPath removeImpl(UserTrackerPath userTrackerPath)
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
public UserTrackerPath updateImpl(UserTrackerPath userTrackerPath)
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
protected UserTrackerPath toUnwrappedModel(UserTrackerPath userTrackerPath)
public UserTrackerPath findByPrimaryKey(Serializable primaryKey)
throws NoSuchUserTrackerPathException
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
public UserTrackerPath findByPrimaryKey(long userTrackerPathId)
throws NoSuchUserTrackerPathException
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 foundpublic UserTrackerPath fetchByPrimaryKey(Serializable primaryKey)
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 foundpublic UserTrackerPath fetchByPrimaryKey(long userTrackerPathId)
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 foundpublic Map<Serializable,UserTrackerPath> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<UserTrackerPath>fetchByPrimaryKeys in interface UserTrackerPathPersistencefetchByPrimaryKeys in class BasePersistenceImpl<UserTrackerPath>public List<UserTrackerPath> findAll()
findAll in interface UserTrackerPathPersistence
public List<UserTrackerPath> findAll(int start,
int end)
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)
public List<UserTrackerPath> findAll(int start,
int end,
OrderByComparator<UserTrackerPath> orderByComparator)
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)
public List<UserTrackerPath> findAll(int start,
int end,
OrderByComparator<UserTrackerPath> orderByComparator,
boolean retrieveFromCache)
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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface UserTrackerPathPersistencepublic int countAll()
countAll in interface UserTrackerPathPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<UserTrackerPath>getBadColumnNames in interface UserTrackerPathPersistencegetBadColumnNames in class BasePersistenceImpl<UserTrackerPath>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<UserTrackerPath>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||