Liferay 7.0-ce-b4

com.liferay.portal.service.base
Class UserTrackerPathLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.UserTrackerPathLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseLocalService, PersistedModelLocalService, UserTrackerPathLocalService
Direct Known Subclasses:
UserTrackerPathLocalServiceImpl

@ProviderType
public abstract class UserTrackerPathLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements UserTrackerPathLocalService, IdentifiableOSGiService

Provides the base implementation for the user tracker path local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in UserTrackerPathLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  UserTrackerPathLocalService userTrackerPathLocalService
           
protected  UserTrackerPathPersistence userTrackerPathPersistence
           
 
Constructor Summary
UserTrackerPathLocalServiceBaseImpl()
           
 
Method Summary
 UserTrackerPath addUserTrackerPath(UserTrackerPath userTrackerPath)
          Adds the user tracker path to the database.
 void afterPropertiesSet()
           
 UserTrackerPath createUserTrackerPath(long userTrackerPathId)
          Creates a new user tracker path with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 UserTrackerPath deleteUserTrackerPath(long userTrackerPathId)
          Deletes the user tracker path with the primary key from the database.
 UserTrackerPath deleteUserTrackerPath(UserTrackerPath userTrackerPath)
          Deletes the user tracker path from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows matching the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows matching the dynamic query.
 UserTrackerPath fetchUserTrackerPath(long userTrackerPathId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 UserTrackerPath getUserTrackerPath(long userTrackerPathId)
          Returns the user tracker path with the primary key.
 UserTrackerPathLocalService getUserTrackerPathLocalService()
          Returns the user tracker path local service.
 UserTrackerPathPersistence getUserTrackerPathPersistence()
          Returns the user tracker path persistence.
 List<UserTrackerPath> getUserTrackerPaths(int start, int end)
          Returns a range of all the user tracker paths.
 int getUserTrackerPathsCount()
          Returns the number of user tracker paths.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setUserTrackerPathLocalService(UserTrackerPathLocalService userTrackerPathLocalService)
          Sets the user tracker path local service.
 void setUserTrackerPathPersistence(UserTrackerPathPersistence userTrackerPathPersistence)
          Sets the user tracker path persistence.
 UserTrackerPath updateUserTrackerPath(UserTrackerPath userTrackerPath)
          Updates the user tracker path in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
 
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.UserTrackerPathLocalService
getUserTrackerPaths
 

Field Detail

userTrackerPathLocalService

@BeanReference(type=UserTrackerPathLocalService.class)
protected UserTrackerPathLocalService userTrackerPathLocalService

userTrackerPathPersistence

@BeanReference(type=UserTrackerPathPersistence.class)
protected UserTrackerPathPersistence userTrackerPathPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

UserTrackerPathLocalServiceBaseImpl

public UserTrackerPathLocalServiceBaseImpl()
Method Detail

addUserTrackerPath

@Indexable(type=REINDEX)
public UserTrackerPath addUserTrackerPath(UserTrackerPath userTrackerPath)
Adds the user tracker path to the database. Also notifies the appropriate model listeners.

Specified by:
addUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPath - the user tracker path
Returns:
the user tracker path that was added

createUserTrackerPath

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

Specified by:
createUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPathId - the primary key for the new user tracker path
Returns:
the new user tracker path

deleteUserTrackerPath

@Indexable(type=DELETE)
public UserTrackerPath deleteUserTrackerPath(long userTrackerPathId)
                                      throws PortalException
Deletes the user tracker path with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPathId - the primary key of the user tracker path
Returns:
the user tracker path that was removed
Throws:
PortalException - if a user tracker path with the primary key could not be found

deleteUserTrackerPath

@Indexable(type=DELETE)
public UserTrackerPath deleteUserTrackerPath(UserTrackerPath userTrackerPath)
Deletes the user tracker path from the database. Also notifies the appropriate model listeners.

Specified by:
deleteUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPath - the user tracker path
Returns:
the user tracker path that was removed

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface UserTrackerPathLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface UserTrackerPathLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface UserTrackerPathLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end,
                                OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface UserTrackerPathLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface UserTrackerPathLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface UserTrackerPathLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchUserTrackerPath

public UserTrackerPath fetchUserTrackerPath(long userTrackerPathId)
Specified by:
fetchUserTrackerPath in interface UserTrackerPathLocalService

getUserTrackerPath

public UserTrackerPath getUserTrackerPath(long userTrackerPathId)
                                   throws PortalException
Returns the user tracker path with the primary key.

Specified by:
getUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPathId - the primary key of the user tracker path
Returns:
the user tracker path
Throws:
PortalException - if a user tracker path with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface UserTrackerPathLocalService

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface UserTrackerPathLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface UserTrackerPathLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface UserTrackerPathLocalService
Throws:
PortalException

getUserTrackerPaths

public List<UserTrackerPath> getUserTrackerPaths(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.

Specified by:
getUserTrackerPaths in interface UserTrackerPathLocalService
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

getUserTrackerPathsCount

public int getUserTrackerPathsCount()
Returns the number of user tracker paths.

Specified by:
getUserTrackerPathsCount in interface UserTrackerPathLocalService
Returns:
the number of user tracker paths

updateUserTrackerPath

@Indexable(type=REINDEX)
public UserTrackerPath updateUserTrackerPath(UserTrackerPath userTrackerPath)
Updates the user tracker path in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateUserTrackerPath in interface UserTrackerPathLocalService
Parameters:
userTrackerPath - the user tracker path
Returns:
the user tracker path that was updated

getUserTrackerPathLocalService

public UserTrackerPathLocalService getUserTrackerPathLocalService()
Returns the user tracker path local service.

Returns:
the user tracker path local service

setUserTrackerPathLocalService

public void setUserTrackerPathLocalService(UserTrackerPathLocalService userTrackerPathLocalService)
Sets the user tracker path local service.

Parameters:
userTrackerPathLocalService - the user tracker path local service

getUserTrackerPathPersistence

public UserTrackerPathPersistence getUserTrackerPathPersistence()
Returns the user tracker path persistence.

Returns:
the user tracker path persistence

setUserTrackerPathPersistence

public void setUserTrackerPathPersistence(UserTrackerPathPersistence userTrackerPathPersistence)
Sets the user tracker path persistence.

Parameters:
userTrackerPathPersistence - the user tracker path persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface IdentifiableOSGiService
Specified by:
getOSGiServiceIdentifier in interface UserTrackerPathLocalService
Returns:
the OSGi service identifier

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-b4