001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.blogs.service;
022:
023: /**
024: * <a href="BlogsStatsUserLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.blogs.service.impl.BlogsStatsUserLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.blogs.service.BlogsStatsUserLocalServiceFactory
045: * @see com.liferay.portlet.blogs.service.BlogsStatsUserLocalServiceUtil
046: *
047: */
048: public interface BlogsStatsUserLocalService {
049: public com.liferay.portlet.blogs.model.BlogsStatsUser addBlogsStatsUser(
050: com.liferay.portlet.blogs.model.BlogsStatsUser model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.blogs.model.BlogsStatsUser updateBlogsStatsUser(
063: com.liferay.portlet.blogs.model.BlogsStatsUser model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence getBlogsEntryPersistence();
067:
068: public void setBlogsEntryPersistence(
069: com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence blogsEntryPersistence);
070:
071: public com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder getBlogsEntryFinder();
072:
073: public void setBlogsEntryFinder(
074: com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder blogsEntryFinder);
075:
076: public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence getBlogsStatsUserPersistence();
077:
078: public void setBlogsStatsUserPersistence(
079: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence blogsStatsUserPersistence);
080:
081: public com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder getBlogsStatsUserFinder();
082:
083: public void setBlogsStatsUserFinder(
084: com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder blogsStatsUserFinder);
085:
086: public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence();
087:
088: public void setGroupPersistence(
089: com.liferay.portal.service.persistence.GroupPersistence groupPersistence);
090:
091: public com.liferay.portal.service.persistence.GroupFinder getGroupFinder();
092:
093: public void setGroupFinder(
094: com.liferay.portal.service.persistence.GroupFinder groupFinder);
095:
096: public void afterPropertiesSet();
097:
098: public void deleteStatsUserByGroupId(long groupId)
099: throws com.liferay.portal.SystemException;
100:
101: public void deleteStatsUserByUserId(long userId)
102: throws com.liferay.portal.SystemException;
103:
104: public java.util.List getCompanyStatsUsers(long companyId,
105: int begin, int end,
106: com.liferay.portal.kernel.util.OrderByComparator obc)
107: throws com.liferay.portal.SystemException;
108:
109: public int getCompanyStatsUsersCount(long companyId)
110: throws com.liferay.portal.SystemException;
111:
112: public java.util.List getGroupStatsUsers(long groupId, int begin,
113: int end,
114: com.liferay.portal.kernel.util.OrderByComparator obc)
115: throws com.liferay.portal.SystemException;
116:
117: public int getGroupStatsUsersCount(long groupId)
118: throws com.liferay.portal.SystemException;
119:
120: public java.util.List getOrganizationStatsUsers(
121: long organizationId, int begin, int end,
122: com.liferay.portal.kernel.util.OrderByComparator obc)
123: throws com.liferay.portal.SystemException;
124:
125: public int getOrganizationStatsUsersCount(long organizationId)
126: throws com.liferay.portal.SystemException;
127:
128: public com.liferay.portlet.blogs.model.BlogsStatsUser getStatsUser(
129: long groupId, long userId)
130: throws com.liferay.portal.SystemException,
131: com.liferay.portal.PortalException;
132:
133: public void updateStatsUser(long groupId, long userId,
134: java.util.Date lastPostDate)
135: throws com.liferay.portal.SystemException,
136: com.liferay.portal.PortalException;
137: }
|