1
14
15 package com.liferay.portlet.blogs.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface BlogsStatsUserLocalService {
50 public com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
51 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
52 throws com.liferay.portal.SystemException;
53
54 public com.liferay.portlet.blogs.model.BlogsStatsUser createBlogsStatsUser(
55 long statsUserId);
56
57 public void deleteBlogsStatsUser(long statsUserId)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException;
60
61 public void deleteBlogsStatsUser(
62 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
63 throws com.liferay.portal.SystemException;
64
65 @SuppressWarnings("rawtypes")
66 public java.util.List dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 @SuppressWarnings("rawtypes")
71 public java.util.List dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException;
74
75 @SuppressWarnings("rawtypes")
76 public java.util.List dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end,
79 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80 throws com.liferay.portal.SystemException;
81
82 public int dynamicQueryCount(
83 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84 throws com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public com.liferay.portlet.blogs.model.BlogsStatsUser getBlogsStatsUser(
88 long statsUserId)
89 throws com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException;
91
92 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
93 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getBlogsStatsUsers(
94 int start, int end) throws com.liferay.portal.SystemException;
95
96 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
97 public int getBlogsStatsUsersCount()
98 throws com.liferay.portal.SystemException;
99
100 public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
101 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser)
102 throws com.liferay.portal.SystemException;
103
104 public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
105 com.liferay.portlet.blogs.model.BlogsStatsUser blogsStatsUser,
106 boolean merge) throws com.liferay.portal.SystemException;
107
108 public void deleteStatsUserByGroupId(long groupId)
109 throws com.liferay.portal.SystemException;
110
111 public void deleteStatsUserByUserId(long userId)
112 throws com.liferay.portal.SystemException;
113
114 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
115 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
116 long companyId, int start, int end)
117 throws com.liferay.portal.SystemException;
118
119 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
120 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getCompanyStatsUsers(
121 long companyId, int start, int end,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
126 public int getCompanyStatsUsersCount(long companyId)
127 throws com.liferay.portal.SystemException;
128
129 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
130 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupsStatsUsers(
131 long companyId, long groupId, int start, int end)
132 throws com.liferay.portal.SystemException;
133
134 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
135 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
136 long groupId, int start, int end)
137 throws com.liferay.portal.SystemException;
138
139 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
140 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getGroupStatsUsers(
141 long groupId, int start, int end,
142 com.liferay.portal.kernel.util.OrderByComparator obc)
143 throws com.liferay.portal.SystemException;
144
145 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
146 public int getGroupStatsUsersCount(long groupId)
147 throws com.liferay.portal.SystemException;
148
149 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
150 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
151 long organizationId, int start, int end)
152 throws com.liferay.portal.SystemException;
153
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public java.util.List<com.liferay.portlet.blogs.model.BlogsStatsUser> getOrganizationStatsUsers(
156 long organizationId, int start, int end,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public int getOrganizationStatsUsersCount(long organizationId)
162 throws com.liferay.portal.SystemException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
166 long groupId, long userId)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException;
169
170 public void updateStatsUser(long groupId, long userId)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException;
173
174 public void updateStatsUser(long groupId, long userId,
175 java.util.Date displayDate)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException;
178 }