1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
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  /**
24   * <a href="BlogsEntryService.java.html"><b><i>View Source</i></b></a>
25   *
26   * <p>
27   * ServiceBuilder generated this class. Modifications in this class will be
28   * overwritten the next time is generated.
29   * </p>
30   *
31   * <p>
32   * This interface defines the service. The default implementation is
33   * {@link
34   * com.liferay.portlet.blogs.service.impl.BlogsEntryServiceImpl}}.
35   * Modify methods in that class and rerun ServiceBuilder to populate this class
36   * and all other generated classes.
37   * </p>
38   *
39   * <p>
40   * 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.
41   * </p>
42   *
43   * @author    Brian Wing Shun Chan
44   * @see       BlogsEntryServiceUtil
45   * @generated
46   */
47  @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
48      PortalException.class, SystemException.class})
49  public interface BlogsEntryService {
50      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long plid,
51          java.lang.String title, java.lang.String content, int displayDateMonth,
52          int displayDateDay, int displayDateYear, int displayDateHour,
53          int displayDateMinute, boolean draft, boolean allowTrackbacks,
54          java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
55          boolean addCommunityPermissions, boolean addGuestPermissions,
56          com.liferay.portal.theme.ThemeDisplay themeDisplay)
57          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
58              com.liferay.portal.SystemException;
59  
60      public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long plid,
61          java.lang.String title, java.lang.String content, int displayDateMonth,
62          int displayDateDay, int displayDateYear, int displayDateHour,
63          int displayDateMinute, boolean draft, boolean allowTrackbacks,
64          java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
65          java.lang.String[] communityPermissions,
66          java.lang.String[] guestPermissions,
67          com.liferay.portal.theme.ThemeDisplay themeDisplay)
68          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException;
70  
71      public void deleteEntry(long entryId)
72          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
73              com.liferay.portal.SystemException;
74  
75      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
76      public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
77          long companyId, int max)
78          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException;
80  
81      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
82      public java.lang.String getCompanyEntriesRSS(long companyId, int max,
83          java.lang.String type, double version, java.lang.String displayStyle,
84          java.lang.String feedURL, java.lang.String entryURL,
85          com.liferay.portal.theme.ThemeDisplay themeDisplay)
86          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException;
88  
89      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
91          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException;
93  
94      @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
95      public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
96          java.lang.String urlTitle)
97          throws java.rmi.RemoteException, com.liferay.portal.PortalException,
98              com.liferay.portal.SystemException;
99  
100     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
101     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
102         long groupId, int max)
103         throws java.rmi.RemoteException, com.liferay.portal.PortalException,
104             com.liferay.portal.SystemException;
105 
106     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
107     public java.lang.String getGroupEntriesRSS(long groupId, int max,
108         java.lang.String type, double version, java.lang.String displayStyle,
109         java.lang.String feedURL, java.lang.String entryURL,
110         com.liferay.portal.theme.ThemeDisplay themeDisplay)
111         throws java.rmi.RemoteException, com.liferay.portal.PortalException,
112             com.liferay.portal.SystemException;
113 
114     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
115     public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
116         long organizationId, int max)
117         throws java.rmi.RemoteException, com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException;
119 
120     @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
121     public java.lang.String getOrganizationEntriesRSS(long organizationId,
122         int max, java.lang.String type, double version,
123         java.lang.String displayStyle, java.lang.String feedURL,
124         java.lang.String entryURL,
125         com.liferay.portal.theme.ThemeDisplay themeDisplay)
126         throws java.rmi.RemoteException, com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException;
128 
129     public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
130         long entryId, java.lang.String title, java.lang.String content,
131         int displayDateMonth, int displayDateDay, int displayDateYear,
132         int displayDateHour, int displayDateMinute, boolean draft,
133         boolean allowTrackbacks, java.lang.String[] trackbacks,
134         java.lang.String[] tagsEntries,
135         com.liferay.portal.theme.ThemeDisplay themeDisplay)
136         throws java.rmi.RemoteException, com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException;
138 }