1
22
23 package com.liferay.portal.service.base;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.kernel.dao.DynamicQueryInitializer;
27 import com.liferay.portal.model.UserTrackerPath;
28 import com.liferay.portal.model.impl.UserTrackerPathImpl;
29 import com.liferay.portal.service.UserTrackerPathLocalService;
30 import com.liferay.portal.service.persistence.UserTrackerPathUtil;
31
32 import java.util.List;
33
34
40 public abstract class UserTrackerPathLocalServiceBaseImpl
41 implements UserTrackerPathLocalService {
42 public UserTrackerPath addUserTrackerPath(UserTrackerPath model)
43 throws SystemException {
44 UserTrackerPath userTrackerPath = new UserTrackerPathImpl();
45 userTrackerPath.setNew(true);
46 userTrackerPath.setUserTrackerPathId(model.getUserTrackerPathId());
47 userTrackerPath.setUserTrackerId(model.getUserTrackerId());
48 userTrackerPath.setPath(model.getPath());
49 userTrackerPath.setPathDate(model.getPathDate());
50
51 return UserTrackerPathUtil.update(userTrackerPath);
52 }
53
54 public List dynamicQuery(DynamicQueryInitializer queryInitializer)
55 throws SystemException {
56 return UserTrackerPathUtil.findWithDynamicQuery(queryInitializer);
57 }
58
59 public List dynamicQuery(DynamicQueryInitializer queryInitializer,
60 int begin, int end) throws SystemException {
61 return UserTrackerPathUtil.findWithDynamicQuery(queryInitializer,
62 begin, end);
63 }
64
65 public UserTrackerPath updateUserTrackerPath(UserTrackerPath model)
66 throws SystemException {
67 UserTrackerPath userTrackerPath = new UserTrackerPathImpl();
68 userTrackerPath.setNew(false);
69 userTrackerPath.setUserTrackerPathId(model.getUserTrackerPathId());
70 userTrackerPath.setUserTrackerId(model.getUserTrackerId());
71 userTrackerPath.setPath(model.getPath());
72 userTrackerPath.setPathDate(model.getPathDate());
73
74 return UserTrackerPathUtil.update(userTrackerPath);
75 }
76 }