001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.blogs.service;
016    
017    import com.liferay.portal.kernel.annotation.Isolation;
018    import com.liferay.portal.kernel.annotation.Propagation;
019    import com.liferay.portal.kernel.annotation.Transactional;
020    import com.liferay.portal.kernel.exception.PortalException;
021    import com.liferay.portal.kernel.exception.SystemException;
022    
023    /**
024     * The interface for the blogs entry remote service.
025     *
026     * <p>
027     * Never modify or reference this interface directly. Always use {@link BlogsEntryServiceUtil} to access the blogs entry remote service. Add custom service methods to {@link com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
028     * </p>
029     *
030     * <p>
031     * This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see BlogsEntryServiceUtil
036     * @see com.liferay.portlet.blogs.service.base.BlogsEntryServiceBaseImpl
037     * @see com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl
038     * @generated
039     */
040    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
041            PortalException.class, SystemException.class})
042    public interface BlogsEntryService {
043            public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
044                    java.lang.String title, java.lang.String content, int displayDateMonth,
045                    int displayDateDay, int displayDateYear, int displayDateHour,
046                    int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
047                    java.lang.String[] trackbacks,
048                    com.liferay.portal.service.ServiceContext serviceContext)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException;
051    
052            public void deleteEntry(long entryId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException;
055    
056            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
057            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
058                    long companyId, int status, int max)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException;
061    
062            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
063            public java.lang.String getCompanyEntriesRSS(long companyId, int status,
064                    int max, java.lang.String type, double version,
065                    java.lang.String displayStyle, java.lang.String feedURL,
066                    java.lang.String entryURL,
067                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException;
070    
071            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
072            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException;
075    
076            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
077            public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
078                    java.lang.String urlTitle)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException;
081    
082            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
083            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
084                    long groupId, int status, int max)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException;
087    
088            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
089            public java.lang.String getGroupEntriesRSS(long groupId, int status,
090                    int max, java.lang.String type, double version,
091                    java.lang.String displayStyle, java.lang.String feedURL,
092                    java.lang.String entryURL,
093                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException;
096    
097            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
098            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
099                    long companyId, long groupId, int status, int max)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException;
102    
103            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
104            public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
105                    long organizationId, int status, int max)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException;
108    
109            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
110            public java.lang.String getOrganizationEntriesRSS(long organizationId,
111                    int status, int max, java.lang.String type, double version,
112                    java.lang.String displayStyle, java.lang.String feedURL,
113                    java.lang.String entryURL,
114                    com.liferay.portal.theme.ThemeDisplay themeDisplay)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException;
117    
118            public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
119                    long entryId, java.lang.String title, java.lang.String content,
120                    int displayDateMonth, int displayDateDay, int displayDateYear,
121                    int displayDateHour, int displayDateMinute, boolean allowPingbacks,
122                    boolean allowTrackbacks, java.lang.String[] trackbacks,
123                    com.liferay.portal.service.ServiceContext serviceContext)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException;
126    }